microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.42k stars 29.34k forks source link

ssh connection #212437

Closed aliustun closed 5 months ago

aliustun commented 6 months ago

Type: Bug

I cannot access servers with ssh.

VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:16:23.416Z) OS version: Linux x64 5.15.0-102-generic snap Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3400)| |GPU Status|2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off| |Load (avg)|4, 3, 2| |Memory (System)|31.22GB (14.08GB free)| |Process Argv|--no-sandbox --force-user-env --crash-reporter-id 15c3d6bc-66fd-4212-81c4-c59115724d70| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|ubuntu-xorg| |XDG_CURRENT_DESKTOP|Unity| |XDG_SESSION_DESKTOP|ubuntu-xorg| |XDG_SESSION_TYPE|x11|
Extensions (22) Extension|Author (truncated)|Version ---|---|--- vscode-tcl|bkr|0.2.0 docs-markdown|doc|1.0.7 githistory|don|0.6.20 systemverilog|eir|0.13.9 prettier-vscode|esb|10.4.0 help-me-add|eve|1.0.1 hdl-copilot|met|0.0.47 git-graph|mhu|1.30.0 gitignore|mic|1.0.1 vscode-language-pack-tr|MS-|1.89.2024050109 debugpy|ms-|2024.6.0 python|ms-|2024.6.0 vscode-pylance|ms-|2024.5.1 remote-ssh|ms-|0.110.1 remote-ssh-edit|ms-|0.86.0 makefile-tools|ms-|0.9.10 remote-explorer|ms-|0.4.3 veriloghdl|msh|1.14.1 manim-sideview|Ric|0.2.13 markdown-preview-enhanced|shd|0.8.13 surfer|sur|0.1.2 vscode-todo-highlight|way|1.0.5 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 tftest:31042121 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyonecf:30548226 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 chatpanelc:31018788 dsvsc021:30996838 bdiig495:31013172 a69g1124:31038041 dwnewjupytercf:31039676 ```
jplaverdure commented 6 months ago

I am also suffering issues since the latest update:

Version: 1.89.1
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:14:32.757Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

SSH keeps running into an issue apparently trying to access locating a resource named 'bootstrap-fork.js' This the output in the terminal:

[10:28:05.581] [server] Node.js v18.18.2
[10:28:05.581] [server] IPC "Pty Host" crashed with exit code 1 and signal null
[10:28:05.582] [server] [10:28:05] ptyHost terminated unexpectedly with code 1, giving up
[10:28:06.110] [server] node:internal/modules/cjs/loader:1080
[10:28:06.150] [server]   throw err;
[10:28:06.150] [server]   ^
[10:28:06.151] [server] 
[10:28:06.151] [server] Error: Cannot find module './bootstrap'
[10:28:06.151] [server]     at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
[10:28:06.151] [server]     at Module._load (node:internal/modules/cjs/loader:922:27)
[10:28:06.151] [server]     at Module.require (node:internal/modules/cjs/loader:1143:19)
[10:28:06.151] [server]     at require (node:internal/modules/cjs/helpers:119:18)
[10:28:06.152] [server]     at Object.<anonymous> (/u/jpl/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/bootstrap-fork.js:1:124)
[10:28:06.152] [server]     at Module._compile (node:internal/modules/cjs/loader:1256:14)
[10:28:06.152] [server]     at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
[10:28:06.152] [server]     at Module.load (node:internal/modules/cjs/loader:1119:32)
[10:28:06.152] [server]     at Module._load (node:internal/modules/cjs/loader:960:12)
[10:28:06.152] [server]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) {
[10:28:06.153] [server]   code: 'MODULE_NOT_FOUND',
[10:28:06.153] [server]   requireStack: [
[10:28:06.153] [server]     '/u/jpl/.vscode-server/cli/servers/Stable-dc96b837cf6bb4af9cd736aa3af08cf8279f7685/server/out/bootstrap-fork.js'
[10:28:06.153] [server]   ]
[10:28:06.153] [server] }
[10:28:06.153] [server] 
[10:28:06.154] [server] Node.js v18.18.2
[10:28:06.154] [server] IPC "Pty Host" crashed with exit code 1 and signal null
[10:28:06.154] [server] [10:28:06] ptyHost terminated unexpectedly with code 1, giving up
jplaverdure commented 6 months ago

Hey @aliustun I solved my issue by deleting the .vscode-server folder on my remote machine and restarting VSCode locally.. VSCode re-installed the server setup and everything is working again.. Maybe try it out on your end to see if it also fixes your issues.

roblourens commented 5 months ago

Please share the log from the Remote-SSH output channel

vscodenpa commented 5 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!