skydive icon indicating copy to clipboard operation
skydive copied to clipboard

Unable to create a WebSocket connection

Open ivanayov opened this issue 5 years ago • 2 comments

Hello,

I'm running skydive with NSM, as usual, using the same config and same image, but this time the network topology is not visualized and the agent log has this error message:

2020-04-03T10:39:17.258Z        ESC[34mINFOESC[0m       websocket/client.go:511 (*Client).Connect       nsm-worker2: Connecting to ws://0.0.0.0:8082/ws/agent/topology
2020-04-03T10:39:17.259Z        ESC[31mERRORESC[0m      websocket/client.go:568 (*Client).Start.func1   nsm-worker2: Unable to create a WebSocket connection ws://0.0.0.0:8082/ws/agent/topology : dial tcp 0.0.0.0:8082: connect: connection refused

Has anyone encountered such a problem before?

Thanks

ivanayov avatar Apr 03 '20 14:04 ivanayov

@ivanayov It seems that the analyzer the agent is trying to connect to, is not running. What are you using to deploy Skydive ?

lebauce avatar Apr 07 '20 07:04 lebauce

@lebauce I'm using the deployment we have in networkservicemesh/skydive including some fixes from here.

The analyzer is running and its logs show no errors. Seems like something happened in the connection between the agent and the analyzer. I didn't do any changes since this deployment/image were working well. It might be a fully local problem as well.

ivanayov avatar Apr 07 '20 08:04 ivanayov