[13:24:18.996] Log Level: 2
[13:24:19.002] VS Code version: 1.92.0
[13:24:19.002] Remote-SSH version: remote-ssh@0.112.0
[13:24:19.003] win32 x64
[13:24:19.003] SSH Resolver called for "ssh-remote+ecjtu", attempt 1
[13:24:19.003] "remote.SSH.useLocalServer": false
[13:24:19.003] "remote.SSH.useExecServer": true
[13:24:19.004] "remote.SSH.showLoginTerminal": false
[13:24:19.004] "remote.SSH.remotePlatform": {"zju-law":"linux","ecjtu":"linux","ecjtu-router":"linux","ecjtu-s02":"linux","ecjtu-s03":"linux","zju-hpc":"linux","zju-A100":"linux","zju-A10":"linux","local":"linux"}
[13:24:19.004] "remote.SSH.path": undefined
[13:24:19.004] "remote.SSH.configFile": undefined
[13:24:19.004] "remote.SSH.useFlock": true
[13:24:19.004] "remote.SSH.lockfilesInTmp": false
[13:24:19.004] "remote.SSH.localServerDownload": auto
[13:24:19.004] "remote.SSH.remoteServerListenOnSocket": false
[13:24:19.004] "remote.SSH.showLoginTerminal": false
[13:24:19.004] "remote.SSH.defaultExtensions": []
[13:24:19.004] "remote.SSH.loglevel": 2
[13:24:19.004] "remote.SSH.enableDynamicForwarding": true
[13:24:19.004] "remote.SSH.enableRemoteCommand": false
[13:24:19.004] "remote.SSH.serverPickPortsFromRange": {}
[13:24:19.004] "remote.SSH.serverInstallPath": {}
[13:24:19.011] SSH Resolver called for host: ecjtu
[13:24:19.011] Setting up SSH remote "ecjtu"
[13:24:19.013] Using commit id "b1c0a14de1414fcdaa400695b4db1c0799bc3124" and quality "stable" for server
[13:24:19.014] Install and start server if needed
[13:24:19.016] Checking ssh with "C:\Program Files (x86)\VMware\VMware Workstation\bin\ssh.exe -V"
[13:24:19.018] Got error from ssh: spawn C:\Program Files (x86)\VMware\VMware Workstation\bin\ssh.exe ENOENT
[13:24:19.018] Checking ssh with "C:\Program Files\Python\Scripts\ssh.exe -V"
[13:24:19.018] Got error from ssh: spawn C:\Program Files\Python\Scripts\ssh.exe ENOENT
[13:24:19.018] Checking ssh with "C:\Program Files\Python\ssh.exe -V"
[13:24:19.019] Got error from ssh: spawn C:\Program Files\Python\ssh.exe ENOENT
[13:24:19.019] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[13:24:19.020] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[13:24:19.020] Checking ssh with "C:\Windows\ssh.exe -V"
[13:24:19.020] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[13:24:19.021] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[13:24:19.021] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[13:24:19.021] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[13:24:19.022] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[13:24:19.022] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[13:24:19.084] > OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
[13:24:19.087] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 9589 ecjtu bash
[13:24:19.089] Terminal shell path: C:\Windows\System32\cmd.exe
[13:24:19.671] > bdc24b82c470: running
> �]0;C:\Windows\System32\cmd.exe
[13:24:19.671] Got some output, clearing connection timeout
[13:24:19.710] > Found existing installation at /home/limstash/.vscode-server...
> Starting VS Code CLI... "/home/limstash/.vscode-server/code-b1c0a14de1414fcdaa400695b4db1c0799bc3124" command-shell --cli-data-dir "/home/limstash/.vscode-server/cli" --on-port --on-host=127.0.0.1 --parent-process-id 3757 &> "/home/limstash/.vscode-server/.cli.b1c0a14de1414fcdaa400695b4db1c0799bc3124.log" < /dev/null
> printenv:
> SHELL=/bin/bash
> PWD=/home/limstash
> LOGNAME=limstash
> XDG_SESSION_TYPE=tty
> MOTD_SHOWN=pam
> HOME=/home/limstash
> LANG=en_US.UTF-8
> VSCODE_AGENT_FOLDER=/home/limstash/.vscode-server
> SSH_CONNECTION=10.242.174.177 9590 10.242.59.81 22
> XDG_SESSION_CLASS=user
> USER=limstash
> SHLVL=0
> XDG_SESSION_ID=856
> XDG_RUNTIME_DIR=/run/user/1001
> SSH_CLIENT=10.242.174.177 9590 22
> PATH=/opt/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> _=/usr/bin/printenv
> Removing old logfile at /home/limstash/.vscode-server/.cli.b1c0a14de1414fcdaa400695b4db1c0799bc3124.log
[13:24:19.726] > Spawned remote CLI: 3776
[13:24:19.788] > Waiting for server log...
[13:24:19.803] > bdc24b82c470: start
> SSH_AUTH_SOCK====
> DISPLAY====
> listeningOn==127.0.0.1:35969==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1001==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==103==
> execServerToken==111a1111-1111-1a11-a1a1-aa11111a1111==
> bdc24b82c470: end
[13:24:19.803] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
listeningOn==127.0.0.1:35969==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1001==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==103==
execServerToken==111a1111-1111-1a11-a1a1-aa11111a1111==
[13:24:19.803] Remote server is listening on port 35969
[13:24:19.803] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":35969},"osReleaseId":"ubuntu","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/run/user/1001","platform":"linux","execServerToken":"111a1111-1111-1a11-a1a1-aa11111a1111"},"serverStartTime":103,"installUnpackCode":""}
[13:24:19.806] Starting forwarding server. local port 9591 -> socksPort 9589 -> remotePort 35969
[13:24:19.807] Forwarding server listening on port 9591
[13:24:19.807] Waiting for ssh tunnel to be ready
[13:24:19.808] [Forwarding server port 9591] Got connection 0
[13:24:19.809] Tunneled port 35969 to local port 9591
[13:24:19.809] Resolved "ssh-remote+ecjtu" to "port 9591"
[13:24:19.812] Initizing new exec server for ssh-remote+ecjtu
[13:24:19.813] Resolving exec server at port 9591
[13:24:19.831] [Forwarding server port 9591] Got connection 1
[13:24:19.832] >
[13:24:19.959] Exec server for ssh-remote+ecjtu created and cached
[13:24:19.961] ------
[13:24:19.973] [server] Checking /home/limstash/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/log.txt and /home/limstash/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/pid.txt for a running server...
[13:24:20.016] [server] Installing and setting up Visual Studio Code Server...
[13:24:20.016] [server] Server setup complete
[13:24:20.016] [server] Starting server...
[13:24:20.016] [server] Starting server with command... Command { std: "/home/limstash/.vscode-server/cli/servers/Stable-b1c0a14de1414fcdaa400695b4db1c0799bc3124/server/bin/code-server" "--connection-token=remotessh" "--accept-server-license-terms" "--start-server" "--enable-remote-auto-shutdown" "--socket-path=/tmp/code-b6b48ddf-bca5-4145-a03e-153e182018c1", kill_on_drop: false }
[13:24:20.115] [server] *
[13:24:20.115] [server] * Visual Studio Code Server
[13:24:20.115] [server] *
[13:24:20.115] [server] * By using the software, you agree to
[13:24:20.115] [server] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
[13:24:20.115] [server] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
[13:24:20.119] [server] Server bound to /tmp/code-b6b48ddf-bca5-4145-a03e-153e182018c1
[13:24:20.119] [server] Extension host agent listening on /tmp/code-b6b48ddf-bca5-4145-a03e-153e182018c1
[13:24:20.119] [server] parsed location: "/tmp/code-b6b48ddf-bca5-4145-a03e-153e182018c1"
[13:24:20.120] [server]
[13:24:20.120] [server] Server started
[13:24:20.554] [server] [05:24:19]
[13:24:20.600] [server]
[13:24:20.600] [server]
[13:24:20.600] [server]
[13:24:20.686] [server] [05:24:19] Extension host agent started.
[13:24:20.847] [server] [05:24:19] [<unknown>][0d2a1b65][ExtensionHostConnection] New connection established.
[13:24:20.847] [server] [05:24:19] [<unknown>][737cc262][ManagementConnection] New connection established.
[13:24:21.939] [server] [05:24:20] [<unknown>][0d2a1b65][ExtensionHostConnection] <3849> Launched Extension Host Process.
[13:24:25.508] [server] [05:24:24] [<unknown>][0d2a1b65][ExtensionHostConnection] <3849> Extension Host Process exited with code: null, signal: SIGSEGV.
[13:24:25.544] [server] Cancelling previous shutdown timeout
[13:24:25.544] [server] [05:24:24] Cancelling previous shutdown timeout
[13:24:25.544] [server] Last EH closed, waiting before shutting down
[13:24:45.493] [server] [05:24:44] [<unknown>][0d2a1b65][ExtensionHostConnection] Unknown reconnection token (seen before).
[13:24:45.591] [server] [05:24:44] [<unknown>][6918a7ff][ExtensionHostConnection] New connection established.
[13:24:45.592] [server] [05:24:44] [<unknown>][6918a7ff][ExtensionHostConnection] <4038> Launched Extension Host Process.
[13:24:48.884] [server] [05:24:47] [<unknown>][6918a7ff][ExtensionHostConnection] <4038> Extension Host Process exited with code: null, signal: SIGSEGV.
[13:24:48.896] [server] Cancelling previous shutdown timeout
[13:24:48.896] [server] [05:24:47] Cancelling previous shutdown timeout
[13:24:48.896] [server] Last EH closed, waiting before shutting down
[13:25:08.748] [server] [05:25:07] [<unknown>][6918a7ff][ExtensionHostConnection] Unknown reconnection token (seen before).
[13:25:08.880] [server] [05:25:07] [<unknown>][10f2c1dd][ExtensionHostConnection] New connection established.
[13:25:08.880] [server] [05:25:07] [<unknown>][10f2c1dd][ExtensionHostConnection] <4213> Launched Extension Host Process.
[13:25:11.967] [server] [05:25:10] [<unknown>][10f2c1dd][ExtensionHostConnection] <4213> Extension Host Process exited with code: null, signal: SIGSEGV.
[13:25:12.008] [server] Cancelling previous shutdown timeout
[13:25:12.008] [server] [05:25:10] Cancelling previous shutdown timeout
[13:25:12.009] [server] Last EH closed, waiting before shutting down
[13:25:31.810] [server] [05:25:30] [<unknown>][10f2c1dd][ExtensionHostConnection] Unknown reconnection token (seen before).
[13:26:16.093] [server] [05:26:15] [<unknown>][b33ce475][ExtensionHostConnection] New connection established.
[13:26:16.093] [server] [05:26:15] [<unknown>][b33ce475][ExtensionHostConnection] <4400> Launched Extension Host Process.
[13:26:18.142] [server] [05:26:17] [<unknown>][b33ce475][ExtensionHostConnection] <4400> Extension Host Process exited with code: null, signal: SIGSEGV.
[13:26:18.182] [server] Cancelling previous shutdown timeout
[13:26:18.182] [server] [05:26:17] Cancelling previous shutdown timeout
[13:26:18.182] [server] Last EH closed, waiting before shutting down
[13:26:38.008] [server] [05:26:37] [<unknown>][b33ce475][ExtensionHostConnection] Unknown reconnection token (seen before).
[13:31:18.141] [server] Last EH closed, shutting down
[13:31:18.182] [server] [05:31:17] Last EH closed, shutting down
[13:31:38.993] ------
[13:31:38.993] SSH Resolver called for "ssh-remote+ecjtu", attempt 2, (Reconnection)
[13:31:38.995] SSH Resolver called for host: ecjtu
[13:31:38.995] Setting up SSH remote "ecjtu"
[13:31:38.997] Using commit id "b1c0a14de1414fcdaa400695b4db1c0799bc3124" and quality "stable" for server
[13:31:38.999] Install and start server if needed
[13:31:39.002] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 9821 ecjtu bash
[13:31:39.005] Terminal shell path: C:\Windows\System32\cmd.exe
[13:31:40.965] > cd71605206a8: running
> �]0;C:\Windows\System32\cmd.exe Found existing installation at /home/limstash/.vscode-server...
> Starting VS Code CLI... "/home/limstash/.vscode-server/code-b1c0a14de1414fcdaa400695b4db1c0799bc3124" command-shell --cli-data-dir "/home/limstash/.vscode-server/cli" --on-port --on-host=127.0.0.1 --parent-process-id 4715 &> "/home/limstash/.vscode-server/.cli.b1c0a14de1414fcdaa400695b4db1c0799bc3124.log" < /dev/null
> printenv:
> SHELL=/bin/bash
> PWD=/home/limstash
> LOGNAME=limstash
> XDG_SESSION_TYPE=tty
> MOTD_SHOWN=pam
> HOME=/home/limstash
> LANG=en_US.UTF-8
> VSCODE_AGENT_FOLDER=/home/limstash/.vscode-server
> SSH_CONNECTION=10.242.174.177 9822 10.242.59.81 22
> XDG_SESSION_CLASS=user
> USER=limstash
> SHLVL=0
> XDG_SESSION_ID=857
> XDG_RUNTIME_DIR=/run/user/1001
> SSH_CLIENT=10.242.174.177 9822 22
> PATH=/opt/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> _=/usr/bin/printenv
> Removing old logfile at /home/limstash/.vscode-server/.cli.b1c0a14de1414fcdaa400695b4db1c0799bc3124.log
> Spawned remote CLI: 4734
> Waiting for server log...
> Waiting for server log...
> cd71605206a8: start
> SSH_AUTH_SOCK====
> DISPLAY====
> listeningOn==127.0.0.1:41131==
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1001==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==133==
> execServerToken==a11a111a-a1aa-1a11-111a-1a11111a11a1==
> cd71605206a8: end
[13:31:40.966] Got some output, clearing connection timeout
[13:31:40.966] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
listeningOn==127.0.0.1:41131==
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1001==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==133==
execServerToken==a11a111a-a1aa-1a11-111a-1a11111a11a1==
[13:31:40.966] Remote server is listening on port 41131
[13:31:40.966] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":41131},"osReleaseId":"ubuntu","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/run/user/1001","platform":"linux","execServerToken":"a11a111a-a1aa-1a11-111a-1a11111a11a1"},"serverStartTime":133,"installUnpackCode":""}
[13:31:40.968] Starting forwarding server. local port 9823 -> socksPort 9821 -> remotePort 41131
[13:31:40.969] Forwarding server listening on port 9823
[13:31:40.969] Waiting for ssh tunnel to be ready
[13:31:40.970] [Forwarding server port 9823] Got connection 0
[13:31:40.972] Tunneled port 41131 to local port 9823
[13:31:40.972] Resolved "ssh-remote+ecjtu" to "port 9823"
[13:31:40.977] Verified and reusing cached exec server for ssh-remote+ecjtu
[13:31:40.978] ------
Type: Bug
My remote host is in an LXC container, and after installing the Python extension, it prompts "Remote extension host terminated unexpectedly 3 times within the last 5 minutes".
Extension version: 2024.12.1
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.22635
Modes:
Remote OS version: Linux x64 5.14.0-410.el9.x86_64
Output: Python
Output: Remote - SSH
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments