Skip to content

Can't connect after VS crash #10932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sirusb opened this issue May 8, 2025 · 1 comment
Open

Can't connect after VS crash #10932

sirusb opened this issue May 8, 2025 · 1 comment
Assignees
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH

Comments

@sirusb
Copy link

sirusb commented May 8, 2025

Type: Bug

I opened an R session and loaded a large R object (8Gb), VS crashed, then it was unable to login using SHH. It will ask for password and login info then just hang in there.

It is producing the following logs:

07:56:22.148] Log Level: 2
[07:56:22.180] SSH Resolver called for "ssh-remote+X.X.X.X", attempt 1
[07:56:22.183] remote.SSH.useLocalServer = false
[07:56:22.183] remote.SSH.useExecServer = true
[07:56:22.183] remote.SSH.bindHost = {}
[07:56:22.183] remote.SSH.showLoginTerminal = false
[07:56:22.183] remote.SSH.remotePlatform = {"X2.X2.X2.X2":"linux","hpclogin1":"linux","hpclogin2":"linux","X3.X3.X3.X3":"linux","*.gitpod.io":"linux","X.X.X.X":"linux"}
[07:56:22.183] remote.SSH.path = undefined
[07:56:22.183] remote.SSH.configFile = undefined
[07:56:22.183] remote.SSH.useFlock = true
[07:56:22.183] remote.SSH.lockfilesInTmp = false
[07:56:22.183] remote.SSH.localServerDownload = auto
[07:56:22.183] remote.SSH.remoteServerListenOnSocket = false
[07:56:22.183] remote.SSH.defaultExtensions = []
[07:56:22.184] remote.SSH.defaultExtensionsIfInstalledLocally = []
[07:56:22.184] remote.SSH.loglevel = 2
[07:56:22.184] remote.SSH.enableDynamicForwarding = true
[07:56:22.184] remote.SSH.enableRemoteCommand = false
[07:56:22.184] remote.SSH.serverPickPortsFromRange = {}
[07:56:22.184] remote.SSH.serverInstallPath = {}
[07:56:22.184] remote.SSH.permitPtyAllocation = false
[07:56:22.184] remote.SSH.preferredLocalPortRange = undefined
[07:56:22.184] remote.SSH.useCurlAndWgetConfigurationFiles = false
[07:56:22.184] remote.SSH.experimental.chat = false
[07:56:22.184] remote.SSH.experimental.enhancedSessionLogs = false
[07:56:22.184] remote.SSH.httpProxy = {}
[07:56:22.184] remote.SSH.httpsProxy = {}
[07:56:22.194] VS Code version: 1.99.3
[07:56:22.194] Remote-SSH version: remote-ssh@0.119.0
[07:56:22.194] win32 x64
[07:56:22.234] SSH Resolver called for host: X.X.X.X
[07:56:22.234] Setting up SSH remote "X.X.X.X"
[07:56:22.241] Using commit id "17baf841131aa23349f217ca7c570c76ee87b957" and quality "stable" for server
[07:56:22.241] Extensions to install: 
[07:56:22.257] Install and start server if needed
[07:56:22.258] Checking ssh with "C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe -V"
[07:56:22.260] Got error from ssh: spawn C:\Program Files\Common Files\Oracle\Java\javapath\ssh.exe ENOENT
[07:56:22.260] Checking ssh with "C:\WINDOWS\system32\ssh.exe -V"
[07:56:22.261] Got error from ssh: spawn C:\WINDOWS\system32\ssh.exe ENOENT
[07:56:22.261] Checking ssh with "C:\WINDOWS\ssh.exe -V"
[07:56:22.262] Got error from ssh: spawn C:\WINDOWS\ssh.exe ENOENT
[07:56:22.262] Checking ssh with "C:\WINDOWS\System32\Wbem\ssh.exe -V"
[07:56:22.262] Got error from ssh: spawn C:\WINDOWS\System32\Wbem\ssh.exe ENOENT
[07:56:22.262] Checking ssh with "C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[07:56:22.263] Got error from ssh: spawn C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[07:56:22.263] Checking ssh with "C:\WINDOWS\System32\OpenSSH\ssh.exe -V"
[07:56:22.286] > OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

[07:56:22.289] Running script with connection command: "C:\WINDOWS\System32\OpenSSH\ssh.exe" -T -D 61184 "X.X.X.X" sh
[07:56:22.290] Generated SSH command: 'type "C:\Users\myuser\AppData\Local\Temp\vscode-linux-multi-line-command-X.X.X.X-802244279.sh" | "C:\WINDOWS\System32\OpenSSH\ssh.exe" -T -D 61184 "X.X.X.X" sh'
[07:56:22.290] Using connect timeout of 17 seconds
[07:56:22.291] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[07:56:22.696] > 
[07:56:22.696] Got some output, clearing connection timeout
[07:56:22.790] > myuser@X.X.X.X's password:
[07:56:22.791] Showing password prompt
[07:56:27.207] Got password response
[07:56:27.207] "install" wrote data to terminal: "**********"
[07:56:27.225] > 
[07:56:27.609] > 32107c56d833: running
> Script executing under PID: 762444
[07:56:27.621] > Found existing installation at /hpc/home/myuser/.vscode-server...
[07:56:27.636] > Starting VS Code CLI...
> Removing old logfile at /hpc/home/myuser/.vscode-server/.cli.17baf841131aa23349f217ca7c570c76ee87b957.log
[07:56:27.652] > Spawned remote CLI: 762611
> Waiting for server log...
[07:56:27.683] > Waiting for server log...
[07:56:27.717] > 32107c56d833: start
> listeningOn==127.0.0.1:38345==
> osReleaseId==rhel==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/30783==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==91==
> execServerToken==1aaa1a1a-a111-1111-a111-aaaa111aa11a==
> platformDownloadPath==cli-alpine-x64==
> SSH_AUTH_SOCK====
[07:56:27.729] > DISPLAY====
> 32107c56d833: end
[07:56:27.730] Received install output: 
listeningOn==127.0.0.1:38345==
osReleaseId==rhel==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/30783==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==91==
execServerToken==1aaa1a1a-a111-1111-a111-aaaa111aa11a==
platformDownloadPath==cli-alpine-x64==
SSH_AUTH_SOCK====
DISPLAY====

[07:56:27.730] Remote server is listening on port 38345
[07:56:27.730] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":38345},"osReleaseId":"rhel","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/run/user/30783","platform":"linux","execServerToken":"1aaa1a1a-a111-1111-a111-aaaa111aa11a"},"serverStartTime":91,"installUnpackCode":""}
[07:56:27.732] Starting forwarding server. local port 61195 -> socksPort 61184 -> remotePort 38345
[07:56:27.733] Forwarding server listening on port 61195
[07:56:27.733] Waiting for ssh tunnel to be ready
[07:56:27.734] [Forwarding server port 61195] Got connection 0
[07:56:27.735] Tunneled port 38345 to local port 61195
[07:56:27.735] Resolved "ssh-remote+X.X.X.X" to "port 61195"
[07:56:27.739] Initizing new exec server for ssh-remote+X.X.X.X
[07:56:27.739] Resolving exec server at port 61195
[07:56:27.742] [Forwarding server port 61195] Got connection 1
[07:56:27.791] Exec server for ssh-remote+X.X.X.X created and cached
[07:56:27.791] Extensions to install: 
[07:56:27.795] ------




[07:56:27.796] No hints found in the recent session.
[07:56:27.806] [server] Checking /hpc/home/myuser/.vscode-server/cli/servers/Stable-17baf841131aa23349f217ca7c570c76ee87b957/log.txt and /hpc/home/myuser/.vscode-server/cli/servers/Stable-17baf841131aa23349f217ca7c570c76ee87b957/pid.txt for a running server...

Extension version: 0.119.0
VS Code version: Code 1.99.3 (17baf841131aa23349f217ca7c570c76ee87b957, 2025-04-15T23:18:46.076Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i9-12900 (24 x 2419)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 63.76GB (28.44GB free)
Process Argv --crash-reporter-id 71155c34-68f0-4025-81bc-a62d2063a010
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
31787653:31262186
3e8i5726:31271747
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
7bj51361:31289155
747dc170:31275177
aj496949:31278748
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004

@vs-code-engineering vs-code-engineering bot added the ssh Issue in vscode-remote SSH label May 8, 2025
@joshspicer
Copy link
Member

What do you mean by crash? What are you seeing exactly? Are the specs of your remote machine capable of running such a large project?

@joshspicer joshspicer added the info-needed Issue requires more information from poster label May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

2 participants