-
Notifications
You must be signed in to change notification settings - Fork 301
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]: Resolver error: Error: Failed to download VS Code Server (Server returned 404) #9677
Comments
Hi, I also have the same problem, I can ssh connect to the host from a client , both machines installing window 11. Howerver, this "Resolver error: Error: Failed to download VS Code Server (Server returned 404)" still happens, I have tried many efforts to solve it but still could not move on. |
It looks like we detected the remote as 32-bit windows, is it actually 32-bit windows or a 32-bit SSH server? It's failing to download the 32-bit server because we don't support that platform anymore. |
If that's wrong, please connect to that remote and check |
Both of the machines I am currently using are running 64-bit Windows 11. The host is powered by an ARM64 processor, while the client uses an Intel 64-bit processor (AMD64). The error in the terminal suggests that it attempted to download the 32-bit version of the VS Code server:
When I tried to remote using host machine, using the same machine to remote vs code for testing, it works well. |
The remote is ARM64 actually.
|
I managed to fix by using older version 1.85.2 instead of the latest version. |
Same here. Logs say: |
Same here. Trying to connect to Ubuntu 22.04 LTS x64 |
Same here. Trying to connect to CentOS/7 Resolver error: Error: Failed to download VS Code Server (Server returned 404) Version 1.87,2 On VSC-insider the remote vscode server was installed correctly. Version 1.88.0-insider |
After updating VSCode to 1.87.2, I can't setup NEW remote SSH connection due to error while downloading vscode-server (Destination OS is Ubuntu @ x86_64):
Try to follow the broken link from another PC:
Please note that the previously established SSH remote connection to another PC, which already has the vscode-server downloaded, continues to function properly after the update as well. |
I'm seeing this as well connecting from 64-bit Windows 10 PC to a 64-bit Intel RedHat 8 Linux server. |
I am having the same issue. any luck without downgrading to 1.85 version? !_! |
After updating to v.1.87.2, I had a similar issue. I was using the extension "Remote - SSH' on the pre-release version. I switched it to the release version (v.0.109.0), and it resolved the problem for me. |
@imsujinpark You saved my day! Yes switched to the release version solved the problem, thank you! |
Thanks @imsujinpark! Switching to the release version was the trick. |
My error also resolved by switching down to the release version of the Remote - SSH extension. Thanks! |
I came across this problem too. When the downloading link is with
But on my AWS remote machine, the download link is with
And the result goes
That is so weird, I think this is where the problem lies. |
error also resolved by switching down to the release version of the Remote - SSH extension. Thanks! |
Thanks @imsujinpark! I got same issues, after switching it to the release version (v.0.109.0), I can connect my vms. |
@imsujinpark I also encountered a 404 issue. After switching the Remote-SSH plug-in to the release version, the issue was solved. Thanks! |
切换至发布版本可以解决404问题。我记得我一直是 |
@roblourens I still have this issue, the Vs code usually automatically update the latest version and I could not remote SSH. Switch to the release version for SSH extension does not fix the issue for me. I also have tried to use VS code insider but it does not work. The processor of the host machine is ARM64. Thanks |
You are right! Thanks! |
Same error here on version 0.110.1 of Remote - SSH. Switching to release version is not fixing the issue. Host is macOS 14.4.1 with Apple M2, guest is Windows 11 Pro ARM 23H2. [17:41:24.909] Got request to download on client for {"artifact":"cli-win32","destPath":"C:\\Users\\romain_fallet\\.vscode-server\\.vscode-server/vscode-cli-5c3e652f63e798a5ac2f31ffd0d863669328dc4c.zip"}
[17:41:24.909] Downloading VS Code server locally...
[17:41:25.272] Terminating local server
[17:41:25.278] Resolver error: Error: Échec du téléchargement de VS Code Server (Server returned 404) |
@RomainFallet i also have the same, the only solution i found is downgrade your vs code to 1.85 |
Please let us know if you need extensive logs/information on this issue which better helps you debug and troubleshoot this. Looking forward to hearing your feedback on this matter. |
Thanks, downgrading to VSCode 1.85 solved the problem for me too! |
Had the same problem while I was on the latest vscode version and latest remote-ssh version. |
Pre-release version |
Verification stepsAny local host should be fine, the only requirement is that the remote SSH host is Windows and ARM-based (non x86). I've tested from a MacOS ARM host. |
v0.113.2024072215 works flawlessly. Confirmed on Remote Host Windows_ARM64. Thank you so much :) |
@joshspicer Can you consider the possibility of making vs code server available natively for windows-arm64? I'm still having issues using the C# Dev Kit. |
I believe microsoft/vscode#221755 tracks publishing a native ARM64 build. |
Using VS Code on a MacBook: Remote-SSH extension pre-release works when connecting to host Surface Pro (Qualcomm Snapdragon chip ARM) - thanks! |
The error Log: The solution method: |
I'm still seeing this issue with the latest pre-release version of the Remote-SSH extension. |
@msalandro that image isn't displaying for me. Could you please share your logs |
2024-09-03 13:59:10.277 [info] Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.ProjectSystem.Server.BuildHost, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. 2024-09-03 13:59:10.452 [info] The .NET SDK installed on the machine is targeting a different platform (win-arm64) with the C# Dev Kit (visualstudio-projectsystem-buildhost.win32-x64), and are incompatible. |
@joshspicer It looks like the server is the correct architecture now. 10:18:52.829] Remote server is listening on port 55153 I think the issue is that the server is installing the wrong architecture for the extensions. When i look at the userprofile/.vscode-server/extensions folder on the remote machine which is win11/arm64, i see folders like this: ms-dotnettools.csdevkit-1.9.55-win32-x64. I would have expected arm64 instead of win32-x64. |
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
settingConnect Locally
It connects successfully
->
No response
Expected Behavior
I am running windows 11 in parallels and trying to open a vscode server on Windows 11 remote from MacOs host.
Steps To Reproduce
Host: Darwin Mac-mini.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct 9 21:28:45 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6020 arm64
Remote: CPU0 Apple Silicon ARMv8 (64-bit) Family 8 Model 0 Revision 0 3200 CPU
Open VsCode -> Connect to host -> win11
win11 host defined as,
Host win11 10.211.55.4
HostName 10.211.55.4
User atom
IdentityFile ~/.ssh/windows11Parallel
PasswordAuthentication no
I can ssh into win11 using
ssh win11
without any issues.Remote-SSH Log
Remote-SSH Log
Anything else?
No response
The text was updated successfully, but these errors were encountered: