Related to:
coder/code-server#7016
When this happens you cannot access or safe any files from vscode.
It seems to be that the websocket connection cannot be established or it keeps getting disconnected.
Noticed by Dan from the SDSC Innovation team.
He said it happens when he runs a long running job in vscode and leaves the browser open on vscode for a few hours. Then when he comes back things are weird. And he cannot see the progress of his job or save his work.
The sessions start to cycle this message in the logs:
[I 2025-03-04 17:44:15.588 ServerApp] Trying to establish websocket connection to ws://localhost:59585/stable-b7ef8f9bd70cb5b342fa8ec8a0086bad676d8 │
│ [I 2025-03-04 17:44:15.591 ServerApp] Websocket connection established to ws://localhost:59585/stable-b7ef8f9bd70cb5b342fa8ec8a0086bad676d8124?reco │
│ [17:44:15] [127.0.0.1][8b990d4e][ManagementConnection] The client has reconnected. │
│ [E 2025-03-04 17:44:15.894 ServerApp] Uncaught exception │
│ Traceback (most recent call last): │
│ File "/opt/conda/lib/python3.10/site-packages/tornado/websocket.py", line 631, in _run_callback │
│ result = callback(*args, **kwargs) │
│ File "/opt/conda/lib/python3.10/site-packages/tornado/websocket.py", line 1529, in on_message │
│ return self._on_message(message) │
│ File "/opt/conda/lib/python3.10/site-packages/tornado/websocket.py", line 1535, in _on_message │
│ self._on_message_callback(message) │
│ File "/opt/conda/lib/python3.10/site-packages/jupyter_server_proxy/handlers.py", line 505, in message_cb │
│ self.write_message(message, binary=isinstance(message, bytes)) │
│ File "/opt/conda/lib/python3.10/site-packages/tornado/websocket.py", line 332, in write_message │
│ raise WebSocketClosedError() │
│ tornado.websocket.WebSocketClosedError │
│ [I 2025-03-04 17:44:15.981 ServerApp] Trying to establish websocket connection to ws://localhost:59585/stable-b7ef8f9bd70cb5b342fa8ec8a0086bad676d8 │
│ [I 2025-03-04 17:44:15.984 ServerApp] Websocket connection established to ws://localhost:59585/stable-b7ef8f9bd70cb5b342fa8ec8a0086bad676d8124?reco │
│ [17:44:15] [127.0.0.1][8b990d4e][ManagementConnection] The client has reconnected.
Related to:
coder/code-server#7016
When this happens you cannot access or safe any files from vscode.
It seems to be that the websocket connection cannot be established or it keeps getting disconnected.
Noticed by Dan from the SDSC Innovation team.
He said it happens when he runs a long running job in vscode and leaves the browser open on vscode for a few hours. Then when he comes back things are weird. And he cannot see the progress of his job or save his work.
The sessions start to cycle this message in the logs: