You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Remote-SSH Bug]: Remote-SSH 0.106.1 gets stuck downloading the server #8926
bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-prioritysshIssue in vscode-remote SSHverifiedVerification succeeded
I have tried both values of the remote.SSH.useLocalServer setting
Connect Locally
It connects successfully
->
Everything works ok with 1.81 and previous versions
In 1.82 it gets stuck at (with v0.106.1)
[server] Installing and setting up Visual Studio Code Server...
Expected Behavior
No response
Steps To Reproduce
No response
Remote-SSH Log
Remote-SSH Log
...
[server] checking .../log.txt and .../pid.txt for a running server ...
[server] Installing and setting up Visual Studio Code Server ...
Anything else?
In .vscode-server/.cli.xxx.log I see:
[...] info Disposed of connection to running server.
looking for token xxxx, got Some("xxxxx")
[...] info checking .../log.txt and .../pid.txt for a running server ...
Reacted by Amirhossein Davoody, jbleahy, iji, Johnson Lee, xubuntutux, Karl Horton, Toru Makabe, Scarecrow928, Wang Xin, yi03 and 28 more
I'm seeing the same issue and note that after multiple tries I'm seeing some rogue vscode install processes which need to be manually cleaned, with kill -9.
Same issue here, I've turned on the 'Remote.SSH.Local Server Download' into 'always'. But it seems that the code still download *.tar.gz on my remote machine. Waiting for a solution.
The "remote.SSH.useExecServer": false work for me.
My situation is, my server uses an old version of tar as default, so the installation of vscode is always failed. My workaround is connected to server and tar the archive file manually with newer tar binary. After that, reconnect vscode.
To be able to use the newer "ExecServer" installation method and set it as default, a document which can explain how to manually install it is needed.
This instruction below is for those who don't have Internet connection on both remote and local machines.
set "remote.SSH.useExecServer": false as roblourenssuggests. This uses the old .vscode-server/bin/{commit-ID} structure.
or
leave remote.SSH.useExecServer as default (true), and here are the steps that need to be done:
download vscode-server-linux-x64.tar.gz from https://update.code.visualstudio.com/commit:{commit_ID}/server-linux-x64/stable as usual.
extract vscode-server-linux-x64.tar.gz to .vscode-server/cli/servers/Stable-{commit_ID}/server so that the bin folder is directly under server folder.
download vscode_cli_alpine_x64_cli.tar.gz from https://update.code.visualstudio.com/commit:{commit_ID}/cli-alpine-x64/stable.
rename the file inside vscode_cli_alpine_x64_cli.tar.gz to code-{commit_ID} and put it (the code-{commit_ID} file) in .vscode-server.
That setting is now disabled by default in 0.106.2. On vscode insiders, it is still enabled for testing, but you can disable it manually. Sorry for the churn. Share the log if you have more issues.
Nice, thank you for addressing it this quickly roblourens, much appreciated! Will this be re-enabled in a future version when the underlying issue has been fixed? I assume y'all want to move everyone to the new bootstrapping mode at some point?
Hello, I had same issue but it's gone after I uninstalled extention that name was "[DEPRECATED] Pair bracket colorizer" on remote server. Maybe it is connected somehow.
bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-prioritysshIssue in vscode-remote SSHverifiedVerification succeeded
Activity
amirhosseindavoody commentedon Sep 7, 2023
Same thing happened to me a few minutes ago.
hugohdz89 commentedon Sep 8, 2023
Same for me
roblourens commentedon Sep 8, 2023
Please share the full log from the Remote-SSH output channel.
You should be able to work around it by setting
"remote.SSH.useExecServer": falseas wellxubuntutux commentedon Sep 8, 2023
The
"remote.SSH.useExecServer": falseworkaround did work, as well as downgrading to v.0.102.0.I've attached the log from my Remote-SSH output channel when using v.0.106.1 of the extension.
remote-ssh-output.txt
karlhorton commentedon Sep 8, 2023
I'm seeing the same issue and note that after multiple tries I'm seeing some rogue vscode install processes which need to be manually cleaned, with kill -9.
/home/khorton/.vscode-server/code-8b617bd08fd9e3fc94d14adb8d358b56e3f72314 command-shell --cli-data-dir /home/khorton/.vscode-server/cli --on-port --require-token 7394a9ff424d
fmg-pete commentedon Sep 8, 2023
Same issue as above, stuck on "Downloading VS Code Server" after latest update. Windows 10.
Chaotic-chaos commentedon Sep 8, 2023
Same issue here, I've turned on the 'Remote.SSH.Local Server Download' into 'always'. But it seems that the code still download *.tar.gz on my remote machine. Waiting for a solution.
NoReasonKen commentedon Sep 8, 2023
The "remote.SSH.useExecServer": false work for me.
My situation is, my server uses an old version of tar as default, so the installation of vscode is always failed. My workaround is connected to server and tar the archive file manually with newer tar binary. After that, reconnect vscode.
To be able to use the newer "ExecServer" installation method and set it as default, a document which can explain how to manually install it is needed.
Brainor commentedon Sep 8, 2023
This instruction below is for those who don't have Internet connection on both remote and local machines.
.vscode-server/bin/{commit-ID}structure.or
remote.SSH.useExecServeras default (true), and here are the steps that need to be done:vscode-server-linux-x64.tar.gzfromhttps://update.code.visualstudio.com/commit:{commit_ID}/server-linux-x64/stableas usual.vscode-server-linux-x64.tar.gzto.vscode-server/cli/servers/Stable-{commit_ID}/serverso that thebinfolder is directly underserverfolder.vscode_cli_alpine_x64_cli.tar.gzfromhttps://update.code.visualstudio.com/commit:{commit_ID}/cli-alpine-x64/stable.vscode_cli_alpine_x64_cli.tar.gztocode-{commit_ID}and put it (thecode-{commit_ID}file) in.vscode-server.LsYueh commentedon Sep 8, 2023
Downgrading
Remote-SSHtov.0.102.0for now.xhwang-China commentedon Sep 8, 2023
set "remote.SSH.useExecServer": falsecan solve my problem17 remaining items
roblourens commentedon Sep 9, 2023
That setting is now disabled by default in 0.106.2. On vscode insiders, it is still enabled for testing, but you can disable it manually. Sorry for the churn. Share the log if you have more issues.
danielfaust commentedon Sep 9, 2023
Since downgrading to
1.81.1will require disabling automatic updates, how can we get notified when this issue is fixed? Will we have to check https://code.visualstudio.com/updates/v1_82 or is there some automated mechanism?moritzwilksch commentedon Sep 9, 2023
Nice, thank you for addressing it this quickly roblourens, much appreciated! Will this be re-enabled in a future version when the underlying issue has been fixed? I assume y'all want to move everyone to the new bootstrapping mode at some point?
Fasteroid commentedon Sep 9, 2023
connor4312 commentedon Sep 9, 2023
Yes, but that's probably not going to happen until the next stable VS Code release
qumqum22 commentedon Sep 11, 2023
Hello, I had same issue but it's gone after I uninstalled extention that name was "[DEPRECATED] Pair bracket colorizer" on remote server. Maybe it is connected somehow.
jaroslawhartman commentedon Sep 11, 2023
Thank you for the fix.
But I'm sorry - I couldn't figure it out from the thread - is there a working workaround until getting next stable VSCode release?
Update: similarly to others,
"remote.SSH.useExecServer": falsenot working for me.Eventually, downgraded as described in Stack Overflow.
0x0L commentedon Sep 11, 2023
Jarek Hartman (@jaroslawhartman)
At least that worked for me
wmorellato commentedon Sep 12, 2023
Stopped having the issue with version
v0.106.3. Settingremote.SSH.useExecServeris still disabled.Joshua0128 commentedon Sep 25, 2023
setting
remote.SSH.useExecServerworks for me. Finally can start my work.