dshunter107 commented on issue #1975:
URL: https://github.com/apache/streampipes/issues/1975#issuecomment-1751708952

   hey @dominikriemer. Thanks for responding. I am still having the problem. I 
used mvn clean on the eclipse development version, I also deleted that version 
from my hard drive and reinstalled it. Then for the 0.92.0 version, I fully 
stopped all the containers with docker-compose down. I even verified that the 
containers were down with docker desktop. Unfortunately, the problem is still 
there: the install pipeline elements will not load. 
   
   On my computer, the Consul is not on port 8500. I tried looking at netstat 
(with the options) to see if anything was running there, but nothing was 
running on port 8500. Surprisingly, with the command "netstat -a -n -o", I saw 
that a program with a name "com.docker.backend.exe" was running on two ports: 
(1) [0.0.0.0]:80 and (2) [172.0.0.1]:6443.  I checked the logs for Consul, and 
I found the following at the start: 
   
   
   2023-10-07 08:48:01 ==> Starting Consul agent...
   2023-10-07 08:48:01               Version: '1.14.3'
   2023-10-07 08:48:01            Build Date: '2022-12-13 17:13:55 +0000 UTC'
   2023-10-07 08:48:01               Node ID: 
'70e75ae4-42b9-07e1-a880-61ce407198bd'
   2023-10-07 08:48:01             Node name: 'consul-one'
   2023-10-07 08:48:01            Datacenter: 'dc1' (Segment: '<all>')
   2023-10-07 08:48:01                Server: true (Bootstrap: true)
   2023-10-07 08:48:01           Client Addr: [0.0.0.0] (HTTP: 8500, HTTPS: -1, 
gRPC: -1, gRPC-TLS: 8503, DNS: 8600)
   2023-10-07 08:48:01          Cluster Addr: 172.31.0.9 (LAN: 8301, WAN: 8302)
   2023-10-07 08:48:01     Gossip Encryption: false
   2023-10-07 08:48:01      Auto-Encrypt-TLS: false
   2023-10-07 08:48:01             HTTPS TLS: Verify Incoming: false, Verify 
Outgoing: false, Min Version: TLSv1_2
   2023-10-07 08:48:01              gRPC TLS: Verify Incoming: false, Min 
Version: TLSv1_2
   2023-10-07 08:48:01      Internal RPC TLS: Verify Incoming: false, Verify 
Outgoing: false (Verify Hostname: false), Min Version: TLSv1_2
   2023-10-07 08:48:01 
   2023-10-07 08:48:01 ==> Log data will now stream in as it occurs:
   2023-10-07 08:48:01 
   2023-10-07 08:48:01 2023-10-07T12:48:01.531Z [WARN]  agent: BootstrapExpect 
is set to 1; this is the same as Bootstrap mode.
   2023-10-07 08:48:01 2023-10-07T12:48:01.531Z [WARN]  agent: bootstrap = 
true: do not enable unless necessary
   2023-10-07 08:48:01 2023-10-07T12:48:01.531Z [WARN]  agent: using 
enable-script-checks without ACLs and without allow_write_http_from is 
DANGEROUS, use enable-local-script-checks instead, see 
https://www.hashicorp.com/blog/protecting-consul-from-rce-risk-in-specific-configurations/
   2023-10-07 08:48:01 2023-10-07T12:48:01.611Z [WARN]  agent.auto_config: 
BootstrapExpect is set to 1; this is the same as Bootstrap mode.
   2023-10-07 08:48:01 2023-10-07T12:48:01.611Z [WARN]  agent.auto_config: 
bootstrap = true: do not enable unless necessary
   2023-10-07 08:48:01 2023-10-07T12:48:01.611Z [WARN]  agent.auto_config: 
using enable-script-checks without ACLs and without allow_write_http_from is 
DANGEROUS, use enable-local-script-checks instead, see 
https://www.hashicorp.com/blog/protecting-consul-from-rce-risk-in-specific-configurations/
   2023-10-07 08:48:06 2023-10-07T12:48:06.159Z [INFO]  agent.server.raft: 
initial configuration: index=1 servers="[{Suffrage:Voter 
ID:70e75ae4-42b9-07e1-a880-61ce407198bd Address:172.31.0.9:8300}]"
   2023-10-07 08:48:06 2023-10-07T12:48:06.222Z [INFO]  agent.server.raft: 
entering follower state: follower="Node at 172.31.0.9:8300 [Follower]" 
leader-address= leader-id=
   2023-10-07 08:48:06 2023-10-07T12:48:06.417Z [INFO]  agent.server.serf.wan: 
serf: EventMemberJoin: consul-one.dc1 172.31.0.9
   2023-10-07 08:48:06 2023-10-07T12:48:06.438Z [WARN]  agent.server.serf.wan: 
serf: Failed to re-join any previously known node
   2023-10-07 08:48:06 2023-10-07T12:48:06.456Z [INFO]  agent.server.serf.lan: 
serf: EventMemberJoin: consul-one 172.31.0.9
   2023-10-07 08:48:06 2023-10-07T12:48:06.456Z [INFO]  agent.router: 
Initializing LAN area manager
   2023-10-07 08:48:06 2023-10-07T12:48:06.462Z [WARN]  agent.server.serf.lan: 
serf: Failed to re-join any previously known node
   2023-10-07 08:48:06 2023-10-07T12:48:06.523Z [INFO]  agent.server: Adding 
LAN server: server="consul-one (Addr: tcp/172.31.0.9:8300) (DC: dc1)"
   2023-10-07 08:48:06 2023-10-07T12:48:06.579Z [INFO]  agent.server: Handled 
event for server in area: event=member-join server=consul-one.dc1 area=wan
   2023-10-07 08:48:06 2023-10-07T12:48:06.581Z [INFO]  agent.server.autopilot: 
reconciliation now disabled
   2023-10-07 08:48:06 2023-10-07T12:48:06.638Z [INFO]  
agent.server.cert-manager: initialized server certificate management
   2023-10-07 08:48:06 2023-10-07T12:48:06.734Z [INFO]  agent: Started DNS 
server: address=0.0.0.0:8600 network=tcp
   2023-10-07 08:48:06 2023-10-07T12:48:06.734Z [INFO]  agent: Started DNS 
server: address=0.0.0.0:8600 network=udp
   2023-10-07 08:48:06 2023-10-07T12:48:06.736Z [INFO]  agent: Starting server: 
address=[::]:8500 network=tcp protocol=http
   2023-10-07 08:48:06 2023-10-07T12:48:06.737Z [INFO]  agent: Started gRPC 
listeners: port_name=grpc_tls address=[::]:8503 network=tcp
   2023-10-07 08:48:06 2023-10-07T12:48:06.743Z [INFO]  agent: started state 
syncer
   2023-10-07 08:48:06 2023-10-07T12:48:06.743Z [INFO]  agent: Consul agent 
running!
   2023-10-07 08:48:07 2023-10-07T12:48:07.619Z [WARN]  agent: Check is now 
critical: check=service:org.apache.streampipes.extensions.all.jvm-h4UVeS
   2023-10-07 08:48:08 2023-10-07T12:48:08.448Z [WARN]  agent: Check is now 
critical: 
check=service:org-apache-streampipes-sources-simulator-watertank-PeR5pW
   2023-10-07 08:48:09 2023-10-07T12:48:09.935Z [WARN]  agent: Check is now 
critical: check=service:core-Jz4rm8
   2023-10-07 08:48:12 2023-10-07T12:48:12.254Z [WARN]  agent: Check is now 
critical: check=service:org.apache.streampipes.extensions.all.jvm-pQdQJa
   2023-10-07 08:48:13 2023-10-07T12:48:13.778Z [ERROR] agent.anti_entropy: 
failed to sync remote state: error="No cluster leader"
   2023-10-07 08:48:13 2023-10-07T12:48:13.947Z [WARN]  agent.cache: handling 
error in Cache.Notify: cache-type=connect-ca-leaf error="No cluster leader" 
index=0
   2023-10-07 08:48:13 2023-10-07T12:48:13.949Z [ERROR] 
agent.server.cert-manager: failed to handle cache update event: error="leaf 
cert watch returned an error: No cluster leader"
   2023-10-07 08:48:15 2023-10-07T12:48:15.601Z [WARN]  agent.server.raft: 
heartbeat timeout reached, starting election: last-leader-addr= last-leader-id=
   2023-10-07 08:48:15 2023-10-07T12:48:15.603Z [INFO]  agent.server.raft: 
entering candidate state: node="Node at 172.31.0.9:8300 [Candidate]" term=22
   2023-10-07 08:48:15 2023-10-07T12:48:15.667Z [INFO]  agent.server.raft: 
election won: term=22 tally=1
   2023-10-07 08:48:15 2023-10-07T12:48:15.668Z [INFO]  agent.server.raft: 
entering leader state: leader="Node at 172.31.0.9:8300 [Leader]"
   2023-10-07 08:48:15 2023-10-07T12:48:15.670Z [INFO]  agent.server: cluster 
leadership acquired
   2023-10-07 08:48:15 2023-10-07T12:48:15.676Z [INFO]  agent.server: New 
leader elected: payload=consul-one
   2023-10-07 08:48:16 2023-10-07T12:48:16.414Z [WARN]  agent.cache: handling 
error in Cache.Notify: cache-type=connect-ca-leaf error="CA is uninitialized 
and unable to sign certificates yet: provider is nil" index=0
   2023-10-07 08:48:16 2023-10-07T12:48:16.415Z [ERROR] 
agent.server.cert-manager: failed to handle cache update event: error="leaf 
cert watch returned an error: CA is uninitialized and unable to sign 
certificates yet: provider is nil"
   2023-10-07 08:48:16 2023-10-07T12:48:16.734Z [INFO]  agent.server.autopilot: 
reconciliation now enabled
   2023-10-07 08:48:16 2023-10-07T12:48:16.747Z [INFO]  agent.leader: started 
routine: routine="federation state anti-entropy"
   2023-10-07 08:48:16 2023-10-07T12:48:16.747Z [INFO]  agent.leader: started 
routine: routine="federation state pruning"
   2023-10-07 08:48:16 2023-10-07T12:48:16.748Z [INFO]  agent.leader: started 
routine: routine="streaming peering resources"
   2023-10-07 08:48:16 2023-10-07T12:48:16.754Z [INFO]  agent.leader: started 
routine: routine="metrics for streaming peering resources"
   2023-10-07 08:48:16 2023-10-07T12:48:16.755Z [INFO]  agent.leader: started 
routine: routine="peering deferred deletion"
   2023-10-07 08:48:16 2023-10-07T12:48:16.774Z [WARN]  agent.cache: handling 
error in Cache.Notify: cache-type=connect-ca-leaf error="CA is uninitialized 
and unable to sign certificates yet: no root certificate" index=0
   2023-10-07 08:48:16 2023-10-07T12:48:16.774Z [ERROR] 
agent.server.cert-manager: failed to handle cache update event: error="leaf 
cert watch returned an error: CA is uninitialized and unable to sign 
certificates yet: no root certificate"
   2023-10-07 08:48:16 2023-10-07T12:48:16.781Z [WARN]  agent.cache: handling 
error in Cache.Notify: cache-type=connect-ca-leaf error="CA is uninitialized 
and unable to sign certificates yet: no root certificate" index=0
   2023-10-07 08:48:16 2023-10-07T12:48:16.782Z [ERROR] 
agent.server.cert-manager: failed to handle cache update event: error="leaf 
cert watch returned an error: CA is uninitialized and unable to sign 
certificates yet: no root certificate"
   2023-10-07 08:48:16 2023-10-07T12:48:16.792Z [INFO]  connect.ca: initialized 
primary datacenter CA from existing CARoot with provider: provider=consul
   2023-10-07 08:48:16 2023-10-07T12:48:16.792Z [INFO]  agent.leader: started 
routine: routine="intermediate cert renew watch"
   2023-10-07 08:48:16 2023-10-07T12:48:16.793Z [INFO]  agent.leader: started 
routine: routine="CA root pruning"
   2023-10-07 08:48:16 2023-10-07T12:48:16.793Z [INFO]  agent.leader: started 
routine: routine="CA root expiration metric"
   2023-10-07 08:48:16 2023-10-07T12:48:16.794Z [INFO]  agent.leader: started 
routine: routine="CA signing expiration metric"
   2023-10-07 08:48:16 2023-10-07T12:48:16.795Z [INFO]  agent.leader: started 
routine: routine="virtual IP version check"
   2023-10-07 08:48:16 2023-10-07T12:48:16.795Z [INFO]  agent.leader: stopping 
routine: routine="virtual IP version check"
   2023-10-07 08:48:16 2023-10-07T12:48:16.795Z [INFO]  agent.leader: stopped 
routine: routine="virtual IP version check"
   2023-10-07 08:48:17 2023-10-07T12:48:17.364Z [INFO]  agent: Synced node info
   2023-10-07 08:48:17 2023-10-07T12:48:17.627Z [WARN]  agent: Check is now 
critical: check=service:org.apache.streampipes.extensions.all.jvm-h4UVeS
   2023-10-07 08:48:18 2023-10-07T12:48:18.452Z [WARN]  agent: Check is now 
critical: 
check=service:org-apache-streampipes-sources-simulator-watertank-PeR5pW
   
   
   Afterwards, consul repeats that check is now critical.  When I inspected 
streampipes-consul-1, I got the following 
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to