cockpit-project / console.dot

Webconsole Cloud Service
2 stars 3 forks source link

Closing cockpit-bridge-connector.pyz shows a "reconnect" button which won't work #76

Open jelly opened 2 years ago

jelly commented 2 years ago

If for whatever reason cockpit-bridge-connector.pyz dies, cockpit will detect this and show a special page:

image

The reconnect option will however not work, maybe we should just remove it?

martinpitt commented 2 years ago

This means that our multiplexer.py does not properly handle closing of the target machine websocket, like it does for the browser websocket? Let's fix that, and also move the session state to "closing" then, so that our own "the session has ended page appears instead?