skydive-project / skydive

An open source real-time network topology and protocols analyzer
https://skydive.network
Apache License 2.0
2.65k stars 400 forks source link

etcd cluster is unavailable or misconfigured #2376

Closed PallaviTharigonda closed 6 months ago

PallaviTharigonda commented 3 years ago

I'm getting errors like this:

2021-06-18T06:02:44.789Z        ERROR   hub/hub.go:217 (*Hub).OnPong    ip-172-31-15-65: Error while recording Pod pong time: client: etcd cluster is unavailable or misconfigured; error #0: client: endpoint http://192.168.41.93:12379 exceeded header timeout

2021-06-18T06:02:49.553Z        INFO    endpoints/replication_endpoint.go:145 (*ReplicatorPeer).connect ip-172-31-15-65: Connecting to peer: ws://192.168.41.93:8082/ws/replication
2021-06-18T06:02:49.553Z        INFO    websocket/client.go:528 (*Client).Connect       ip-172-31-15-65: Connecting to ws://192.168.41.93:8082/ws/replication
2021-06-18T06:02:49.789Z        ERROR   hub/hub.go:217 (*Hub).OnPong    ip-172-31-15-65: Error while recording Pod pong time: client: etcd cluster is unavailable or misconfigured; error #0: client: endpoint http://192.168.41.93:12379 exceeded header timeout

2021-06-18T06:02:54.552Z        ERROR   client/election.go:143 (*MasterElector).start   ip-172-31-15-65: Error while watching etcd: client: etcd cluster is unavailable or misconfigured; error #0: dial tcp 192.168.41.93:12379: i/o timeout

2021-06-18T06:02:54.553Z        ERROR   client/client.go:96 (*Client).Start     ip-172-31-15-65: Etcd server not ready: client: etcd cluster is unavailable or misconfigured; error #0: client: endpoint http://192.168.41.93:12379 exceeded header timeout

what might be the possible solution for this?

hiBlunt commented 3 years ago

maybe you should test whether etcd cluster is available before。

lebauce commented 3 years ago

Are you using the embedded etcd (this is the default) ? If that the case, could you please post the complete logs of Skydive and the configuration ? Thank you !

lebauce commented 3 years ago

@lhuang001