vscode-remote-release
vscode-remote-release copied to clipboard
[Remote-SSH Bug]: the server always reconnect and auto save action stuck always when save.
Is there an existing issue for this bug?
- [X] I have searched the existing issues
Required Troubleshooting Steps
- [X] I have followed these troubleshooting steps
- [X] I have tried both values of the
remote.SSH.useLocalServersetting
Connect Locally
It connects successfully
->
No response
Expected Behavior
I will the remote shh can keep connection always. The problem appears from 1.85.2 version.
Steps To Reproduce
No response
Remote-SSH Log
Remote-SSH Log
[10:03:14.064] Log Level: 2
[10:03:14.072] SSH Resolver called for "ssh-remote+172.18.37.77", attempt 1
[10:03:14.073] "remote.SSH.useLocalServer": false
[10:03:14.074] "remote.SSH.useExecServer": false
[10:03:14.074] "remote.SSH.showLoginTerminal": false
[10:03:14.074] "remote.SSH.remotePlatform": {"172.18.37.77":"linux"}
[10:03:14.074] "remote.SSH.path": undefined
[10:03:14.074] "remote.SSH.configFile": undefined
[10:03:14.074] "remote.SSH.useFlock": true
[10:03:14.074] "remote.SSH.lockfilesInTmp": false
[10:03:14.075] "remote.SSH.localServerDownload": auto
[10:03:14.075] "remote.SSH.remoteServerListenOnSocket": true
[10:03:14.075] "remote.SSH.showLoginTerminal": false
[10:03:14.075] "remote.SSH.defaultExtensions": []
[10:03:14.075] "remote.SSH.loglevel": 2
[10:03:14.075] "remote.SSH.enableDynamicForwarding": true
[10:03:14.075] "remote.SSH.enableRemoteCommand": false
[10:03:14.076] "remote.SSH.serverPickPortsFromRange": {}
[10:03:14.076] "remote.SSH.serverInstallPath": {}
[10:03:14.078] VS Code version: 1.86.0
[10:03:14.078] Remote-SSH version: [email protected]
[10:03:14.078] win32 x64
[10:03:14.083] SSH Resolver called for host: 172.18.37.77
[10:03:14.083] Setting up SSH remote "172.18.37.77"
[10:03:14.086] Using commit id "05047486b6df5eb8d44b2ecd70ea3bdf775fd937" and quality "stable" for server
[10:03:14.088] Install and start server if needed
[10:03:14.090] Checking ssh with "C:\Windows\system32\ssh.exe -V"
[10:03:14.091] Got error from ssh: spawn C:\Windows\system32\ssh.exe ENOENT
[10:03:14.091] Checking ssh with "C:\Windows\ssh.exe -V"
[10:03:14.092] Got error from ssh: spawn C:\Windows\ssh.exe ENOENT
[10:03:14.092] Checking ssh with "C:\Windows\System32\Wbem\ssh.exe -V"
[10:03:14.093] Got error from ssh: spawn C:\Windows\System32\Wbem\ssh.exe ENOENT
[10:03:14.093] Checking ssh with "C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[10:03:14.094] Got error from ssh: spawn C:\Windows\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[10:03:14.094] Checking ssh with "C:\Windows\System32\OpenSSH\ssh.exe -V"
[10:03:14.120] > OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
[10:03:14.123] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 51608 "172.18.37.77" bash
[10:03:14.124] Terminal shell path: C:\Windows\System32\cmd.exe
[10:03:14.798] > 0437387e335a: running
> ]0;C:\Windows\System32\cmd.exe
[10:03:14.799] Got some output, clearing connection timeout
[10:03:14.899] > Acquiring lock on /home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/vscode-remote-lock.lzy.05047486b6df5eb8d44b2ecd70ea3bdf775fd937
[10:03:14.934] > Found existing installation at /home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937...
> Checking /home/lzy/.vscode-server/.05047486b6df5eb8d44b2ecd70ea3bdf775fd937.log and /home/lzy/.vscode-server/.05047486b6df5eb8d44b2ecd70ea3bdf775fd937.pid for a running server
> Looking for server with pid: 217703
[10:03:15.030] > Found running server...
>
> *
> * Visual Studio Code Server
> *
> * By using the software, you agree to
> * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
> * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
> *
>
[10:03:15.150] > Checking server status on port 45707 with curl
[10:03:15.167] > 0437387e335a: start
> SSH_AUTH_SOCK====
> DISPLAY====
> webUiAccessToken====
> listeningOn==45707==
> osReleaseId==debian==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> extInstallTime====
> serverStartTime====
> connectionToken==1a1aaa11-11a1-111a-aa11-111aaaa11a11==
> 0437387e335a: end
[10:03:15.169] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==45707==
osReleaseId==debian==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==1a1aaa11-11a1-111a-aa11-111aaaa11a11==
[10:03:15.170] Remote server is listening on port 45707
[10:03:15.170] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":45707},"osReleaseId":"debian","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/run/user/1000","platform":"linux","connectionToken":"1a1aaa11-11a1-111a-aa11-111aaaa11a11"},"installUnpackCode":""}
[10:03:15.173] Starting forwarding server. local port 51610 -> socksPort 51608 -> remotePort 45707
[10:03:15.174] Forwarding server listening on port 51610
[10:03:15.174] Waiting for ssh tunnel to be ready
[10:03:15.175] [Forwarding server port 51610] Got connection 0
[10:03:15.176] Tunneled port 45707 to local port 51610
[10:03:15.176] Resolved "ssh-remote+172.18.37.77" to "port 51610"
[10:03:15.181] ------
[10:03:15.196] [Forwarding server port 51610] Got connection 1
[10:03:15.197] >
[10:03:15.216] [Forwarding server port 51610] Got connection 2
[10:03:16.151] [Forwarding server port 51610] Got connection 3
[10:03:16.175] [Forwarding server port 51610] Got connection 4
[10:03:17.769] Opening exec server for ssh-remote+172.18.37.77
[10:03:17.769] Opening exec server for ssh-remote+172.18.37.77
[10:03:17.818] Initizing new exec server for ssh-remote+172.18.37.77
[10:03:17.822] Using commit id "05047486b6df5eb8d44b2ecd70ea3bdf775fd937" and quality "stable" for server
[10:03:17.824] Install and start server if needed
[10:03:17.829] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 51623 "172.18.37.77" bash
[10:03:17.908] Terminal shell path: C:\Windows\System32\cmd.exe
[10:03:18.572] > 209a6fd95465: running
> ]0;C:\Windows\System32\cmd.exe
[10:03:18.572] Got some output, clearing connection timeout
[10:03:18.643] > Found existing installation at /home/lzy/.vscode-server...
> Starting VS Code CLI... "/home/lzy/.vscode-server/code-05047486b6df5eb8d44b2ecd70ea3bdf775fd937" command-shell --cli-data-dir "/home/lzy/.vscode-server/cli" --on-port --parent-process-id 223086 &> "/home/lzy/.vscode-server/.cli.05047486b6df5eb8d44b2ecd70ea3bdf775fd937.log" < /dev/null
> printenv:
> SHELL=/usr/bin/zsh
> LANGUAGE=en_US:en
> PWD=/home/lzy
> LOGNAME=lzy
> XDG_SESSION_TYPE=tty
> MOTD_SHOWN=pam
> HOME=/home/lzy
> LANG=en_US.UTF-8
> VSCODE_AGENT_FOLDER=/home/lzy/.vscode-server
> SSH_CONNECTION=10.51.15.81 51624 172.18.37.77 22
> XDG_SESSION_CLASS=user
> USER=lzy
> SHLVL=1
> XDG_SESSION_ID=273
> XDG_RUNTIME_DIR=/run/user/1000
> SSH_CLIENT=10.51.15.81 51624 22
> PATH=/home/lzy/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> OLDPWD=/home/lzy
> _=/usr/bin/printenv
> Removing old logfile at /home/lzy/.vscode-server/.cli.05047486b6df5eb8d44b2ecd70ea3bdf775fd937.log
> Spawned remote CLI: 223105
[10:03:18.723] > Waiting for server log...
[10:03:18.758] >
[10:03:18.780] > 209a6fd95465: start
> SSH_AUTH_SOCK====
> DISPLAY====
> listeningOn==127.0.0.1:45435==
> osReleaseId==debian==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==142==
> execServerToken==a1111aa1-a111-111a-aaa1-1a1a11a11aa1==
> 209a6fd95465: end
[10:03:18.781] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
listeningOn==127.0.0.1:45435==
osReleaseId==debian==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==142==
execServerToken==a1111aa1-a111-111a-aaa1-1a1a11a11aa1==
[10:03:18.781] Remote server is listening on port 45435
[10:03:18.781] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":45435},"osReleaseId":"debian","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/run/user/1000","platform":"linux","execServerToken":"a1111aa1-a111-111a-aaa1-1a1a11a11aa1"},"serverStartTime":142,"installUnpackCode":""}
[10:03:18.783] Starting forwarding server. local port 51626 -> socksPort 51623 -> remotePort 45435
[10:03:18.783] Forwarding server listening on port 51626
[10:03:18.783] Waiting for ssh tunnel to be ready
[10:03:18.784] [Forwarding server port 51626] Got connection 0
[10:03:18.784] Tunneled port 45435 to local port 51626
[10:03:18.784] Resolved "ssh-remote+172.18.37.77" to "port 51626"
[10:03:18.785] Resolving exec server at port 51626
[10:03:18.785] [Forwarding server port 51626] Got connection 1
[10:03:18.803] >
[10:03:18.915] Exec server for ssh-remote+172.18.37.77 created and cached
[10:03:18.920] Verified and reusing cached exec server for ssh-remote+172.18.37.77
[10:24:58.235] [Forwarding server port 51610] Got connection 5
[10:33:45.697] [Forwarding server port 51610] Got connection 6
[10:34:50.083] [Forwarding server port 51610] Got connection 7
[10:35:35.558] [Forwarding server port 51610] Got connection 8
[10:35:55.634] [Forwarding server port 51610] Got connection 9
Anything else?
This is server log. When New EH opened, aborting shutdown log display, the reconnection action will continue at the per saving action.
2024-02-04 10:03:12.713 [info] Last EH closed, waiting before shutting down
2024-02-04 10:03:14.697 [info] Got delay-shutdown request while in shutdown timeout, delaying
2024-02-04 10:03:14.698 [info] Cancelling previous shutdown timeout
2024-02-04 10:03:14.778 [info] [127.0.0.1][57a4c169][ManagementConnection] New connection established.
2024-02-04 10:03:14.811 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] New connection established.
2024-02-04 10:03:14.848 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] <222996> Launched Extension Host Process.
2024-02-04 10:03:19.568 [error] CodeExpectedError: Could not find pty on pty host
at A.U (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:32407)
at A.updateIcon (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:27592)
at U.<computed> (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:22765)
at Object.call (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:34:5041)
at $.s (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:5153)
at $.q (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:4662)
at a.value (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:4064)
at d.y (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:27:1906)
at d.fire (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:27:2123)
at process.ne (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:25:10072)
at process.emit (node:events:514:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
2024-02-04 10:03:19.572 [error] CodeExpectedError: Could not find pty on pty host
at A.U (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:32407)
at A.updateTitle (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:27539)
at U.<computed> (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:22765)
at Object.call (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:34:5041)
at $.s (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:5153)
at $.q (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:4662)
at a.value (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:4064)
at d.y (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:27:1906)
at d.fire (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:27:2123)
at process.ne (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:25:10072)
at process.emit (node:events:514:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
2024-02-04 10:08:14.700 [info] New EH opened, aborting shutdown
2024-02-04 10:33:45.309 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:34:49.697 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:35:35.157 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:35:55.233 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:36:15.324 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:36:35.393 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:37:07.903 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:37:27.957 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:37:48.005 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:38:08.074 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:38:28.132 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:38:48.172 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:39:08.228 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
2024-02-04 10:39:28.276 [info] [127.0.0.1][0af465ba][ExtensionHostConnection] The client has reconnected.
js heap out memory.
024-02-04 13:08:09.729 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
2024-02-04 13:08:29.805 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
2024-02-04 13:08:49.873 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
2024-02-04 13:09:09.949 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
2024-02-04 13:09:30.009 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
2024-02-04 13:09:50.117 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
2024-02-04 13:10:10.179 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
2024-02-04 13:10:30.210 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
2024-02-04 13:10:50.272 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
2024-02-04 13:11:10.305 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
2024-02-04 13:11:27.842 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr>
<--- Last few GCs --->
[226508:0x5da8690] 8504735 ms: Scavenge 4017.8 (4133.5) -> 4012.2 (4133.5) MB, 15.6 / 0.0 ms (average mu = 0.774, current mu = 0.772) allocation failure;
[226508:0x5da8690] 8504855 ms: Scavenge 4019.0 (4133.5) -> 4013.4 (4133.5) MB, 15.1 / 0.0 ms (average mu = 0.774, current mu = 0.772) allocation failure;
[226508:0x5da8690] 8504981 ms: Scavenge 4020.4 (4133.5) -> 4014.7 (4149.5) MB, 20.6 / 0.0 ms (average mu = 0.774, current mu = 0.772) allocation failure;
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
2024-02-04 13:11:27.843 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 1: 0xb83f50 node::Abort() [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.844 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 2: 0xa94834 [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.845 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 3: 0xd647c0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.847 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 4: 0xd64b67 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.848 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 5: 0xf42265 [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.850 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 6: 0xf5474d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.851 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 7: 0xf2ee4e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.852 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 8: 0xf30217 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.854 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 9: 0xf10760 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.855 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 10: 0xf07d2c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.857 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 11: 0xf07ea5 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.858 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 12: 0xec49b7 [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.860 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 13: 0xec517e v8::internal::Isolate::CaptureAndSetErrorStack(v8::internal::Handle<v8::internal::JSObject>, v8::internal::FrameSkipMode, v8::internal::Handle<v8::internal::Object>) [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.861 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 14: 0xde03af v8::internal::Builtin_ErrorCaptureStackTrace(int, unsigned long*, v8::internal::Isolate*) [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:27.863 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508><stderr> 15: 0x17036b9 [/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/node]
2024-02-04 13:11:29.302 [info] [127.0.0.1][d419cc44][ExtensionHostConnection] <226508> Extension Host Process exited with code: null, signal: SIGABRT.
2024-02-04 13:11:30.342 [info] [127.0.0.1][5b5c0deb][ExtensionHostConnection] The client has reconnected.
Continuous observation of server logs when the problem appears.
2024-02-05 09:50:22.634 [info] Extension host agent started.
2024-02-05 09:50:22.958 [info] [<unknown>][1ec1e938][ManagementConnection] New connection established.
2024-02-05 09:50:22.974 [info] [<unknown>][d07bd38f][ExtensionHostConnection] New connection established.
2024-02-05 09:50:24.252 [info] [<unknown>][d07bd38f][ExtensionHostConnection] <283872> Launched Extension Host Process.
2024-02-05 09:50:25.180 [info] [<unknown>][1ec1e938][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
2024-02-05 09:50:25.421 [error] CodeExpectedError: Could not find pty on pty host
at A.U (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:32407)
at A.updateTitle (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:27539)
at U.<computed> (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:22765)
at Object.call (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:34:5041)
at $.s (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:5153)
at $.q (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:4662)
at a.value (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:4064)
at d.y (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:27:1906)
at d.fire (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:27:2123)
at process.ne (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:25:10072)
at process.emit (node:events:514:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
2024-02-05 09:50:26.941 [info] Got delay-shutdown request while in shutdown timeout, delaying
2024-02-05 09:50:26.941 [info] Cancelling previous shutdown timeout
2024-02-05 09:50:27.579 [info] [<unknown>][a607dc18][ManagementConnection] New connection established.
2024-02-05 09:50:27.823 [info] [<unknown>][b35bf457][ExtensionHostConnection] New connection established.
2024-02-05 09:50:27.883 [info] [<unknown>][b35bf457][ExtensionHostConnection] <283959> Launched Extension Host Process.
2024-02-05 09:50:32.283 [error] CodeExpectedError: Could not find pty on pty host
at A.U (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:32407)
at A.updateIcon (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:27592)
at U.<computed> (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:22765)
at Object.call (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:34:5041)
at $.s (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:5153)
at $.q (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:4662)
at a.value (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:4064)
at d.y (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:27:1906)
at d.fire (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:27:2123)
at process.ne (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:25:10072)
at process.emit (node:events:514:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
2024-02-05 09:50:32.284 [error] CodeExpectedError: Could not find pty on pty host
at A.U (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:32407)
at A.updateTitle (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:27539)
at U.<computed> (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:43:22765)
at Object.call (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:34:5041)
at $.s (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:5153)
at $.q (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:4662)
at a.value (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:32:4064)
at d.y (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:27:1906)
at d.fire (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:27:2123)
at process.ne (/home/lzy/.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937/out/vs/platform/terminal/node/ptyHostMain.js:25:10072)
at process.emit (node:events:514:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
2024-02-05 09:55:26.943 [info] New EH opened, aborting shutdown
2024-02-05 09:55:27.719 [info] [<unknown>][d07bd38f][ExtensionHostConnection] <283872> Extension Host Process exited with code: 0, signal: null.
2024-02-05 09:57:28.918 [info] [<unknown>][b35bf457][ExtensionHostConnection] The client has reconnected.
2024-02-05 09:57:51.696 [info] [<unknown>][b35bf457][ExtensionHostConnection] The client has reconnected.
2024-02-05 09:59:29.059 [info] [<unknown>][b35bf457][ExtensionHostConnection] The client has reconnected.
2024-02-05 09:59:49.089 [info] [<unknown>][b35bf457][ExtensionHostConnection] The client has reconnected.
I got same issue! Do you have any solutions?
Can you try disabling any extensions you have installed on the remote, and see whether that helps?