ClusterLabs / anvil

The Anvil! Intelligent Availability™ Platform, mark 3
5 stars 6 forks source link

Web UI: VNC to server fails with `ECONNRESET` #610

Open ylei-tsubame opened 3 months ago

ylei-tsubame commented 3 months ago

In browser console, noVNC reports:

Failed when connecting: Connection closed (code: 1000, reason: Target close)

In striker-ui-api logs:

Error: read ECONNRESET
...
TypeError: n.writeHead is not a function
...

However, ncat -z reported no error.

Update: appears to be a rare problem, because 1/24 server is affected.

ylei-tsubame commented 1 month ago

Encountered this problem when there's an existing VNC connection to the target server from tools like remote-viewer. Only 1 VNC connection is allowed.

This can be closed along with #663 when the error messages are updated.