I am using VS code on my local machine to connect through "remote tunnel" to a GCP machine which is running the VS Code server.

Recently, I have started to get this weird behaviour where VS Code server disposes off my connection after some time.

Consequently, I keep losing part of my work and I have to restart the whole process.

This is so annoying and I was wondering if someone can help me fix this.

Following is the error message from the code server when it disposes of my connection.

(conda)jupyter@splintered-learning:~$ code-server

(conda)jupyter@splintered-learning:~$ code-server

Open this link in your browser https://insiders.vscode.dev/+ms-vscode.remote-server/**********

[2023-03-14 22:49:08] info [rpc.0] [call.0] Checking /home/jupyter/.vscode-cli/server-stable/.5e805b79fcb6ba4c2d23712967df89a089da575b.log and /home/jupyter/.vscode-cli/server-stable/.5e805b79fcb6ba4c2d23712967df89a089da575b.pid for a running server...
[2023-03-14 22:49:08] info [rpc.0] [call.0] Downloading VS Code server https://az764295.vo.msecnd.net/stable/5e805b79fcb6ba4c2d23712967df89a089da575b/vscode-server-linux-x64.tar.gz -> /home/jupyter/.vscode-cli/server-stable/bin/5e805b79fcb6ba4c2d23712967df89a089da575b
[2023-03-14 22:49:09] info [rpc.0] [call.0] Setting up server...
[2023-03-14 22:49:11] info [rpc.0] [call.0] Starting server...
[2023-03-14 22:49:11] info [rpc.0] [call.0] Server started
[2023-03-14 22:49:35] info [rpc.0] Forwarding port 8050
[2023-03-14 22:49:35] info [rpc.0] Forwarding port 8052
[2023-03-14 23:49:09] info [rpc.0] Disposed of connection to running server.
0

There are 0 best solutions below