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
[Remote-SSH Bug]: Remote-SSH 0.106.1 gets stuck downloading the server #8926
Comments
Same thing happened to me a few minutes ago. |
Same for me |
Please share the full log from the Remote-SSH output channel. You should be able to work around it by setting |
The I've attached the log from my Remote-SSH output channel when using v.0.106.1 of the extension.
|
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 |
Same issue as above, stuck on "Downloading VS Code Server" after latest update. Windows 10. |
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.
or
|
Downgrading |
|
|
How can I set "remote.SSH.useExecServer" to false? |
Yes, my remote also has no internet access. |
Either paste the snippet you mentioned into |
Setting remote.SSH.useExecServer to False did not work for me. |
Didn't work for me too. Downgraded my VSCode to 1.81 |
Adding a data point... I also had this same issue, and using the WAR for setting I am using vscode 1.82.0 with remote-ssh v0.106.1. My remote server that I am trying to connect to is also behind a firewall with no access to the outside world. These are the settings I have changed from default for the remote-ssh extension
|
Add another datapoint. Stucking at Downloading part...... really bad experience after updating |
it should work fine before this update:) , but after this whether it is connected or not, it remains stuck at downloading |
On my ubuntu desktop, this solution does not work. I tried it but failed. The codeserver actually found existing installations and did not install new packages anymore. However, after that it continue waiting for server log and finally exited. Here is the error information: [00:32:40.853] > Spawned remote CLI: 613700
[00:32:40.857] > Waiting for server log...
......
[00:32:55.292] > Waiting for server log...
[00:32:55.327] > c84ca06a1cee: start
> SSH_AUTH_SOCK====
> DISPLAY====
> listeningOn====
> osReleaseId==ubuntu==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1003==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==14473==
> c84ca06a1cee: end
[00:32:55.327] Received install output:
SSH_AUTH_SOCK====
DISPLAY====
listeningOn====
osReleaseId==ubuntu==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1003==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==14473==
[00:32:55.328] Failed to parse remote port from server output
[00:32:55.328] Terminating local server
[00:32:55.330] Resolver error: Error:
at g.Create (/home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:619763)
at t.handleInstallOutput (/home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:617166)
at e (/home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:677163)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:699001
at async t.withShowDetailsEvent (/home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:702607)
at async /home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:675584
at async C (/home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:672054)
at async t.resolveWithLocalServer (/home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:675175)
at async C (/home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:696129)
at async t.resolve (/home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:700003)
at async /home/coderw/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.1/out/extension.js:2:883340
[00:32:55.332] ------
[00:32:55.335] Local server exit: 15 |
Setting "remote.SSH.useExecServer": false worked for me. |
Related on Stack Overflow(?): Remote SSH connection hangs at "Downloading vscode server step" after updating VScode to 1.82.0 version |
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. |
Since downgrading to |
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? |
This comment was marked as off-topic.
This comment was marked as off-topic.
Yes, but that's probably not going to happen until the next stable VS Code release |
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. |
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, Eventually, downgraded as described in Stack Overflow. |
At least that worked for me |
Stopped having the issue with version |
setting |
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
settingConnect Locally
It connects successfully
->
Everything works ok with 1.81 and previous versions
In 1.82 it gets stuck at (with v0.106.1)
Expected Behavior
No response
Steps To Reproduce
No response
Remote-SSH Log
Remote-SSH Log
Anything else?
In
.vscode-server/.cli.xxx.log
I see:The text was updated successfully, but these errors were encountered: