Skip to content
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

Closed
3 tasks done
jenish-rudani opened this issue Mar 19, 2024 · 60 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug on-release-notes Issue/pull request mentioned in release notes ssh Issue in vscode-remote SSH verified Verification succeeded
Milestone

Comments

@jenish-rudani
Copy link

Is there an existing issue for this bug?

  • I have searched the existing issues

Required Troubleshooting Steps

  • I have followed these troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting

Connect 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

[13:23:27.192] Log Level: 1
[13:23:27.197] SSH Resolver called for "ssh-remote+win11", attempt 1
[13:23:27.197] "remote.SSH.useLocalServer": true
[13:23:27.197] "remote.SSH.useExecServer": true
[13:23:27.197] "remote.SSH.path": undefined
[13:23:27.197] "remote.SSH.configFile": undefined
[13:23:27.197] "remote.SSH.useFlock": true
[13:23:27.197] "remote.SSH.lockfilesInTmp": false
[13:23:27.198] "remote.SSH.localServerDownload": always
[13:23:27.198] "remote.SSH.remoteServerListenOnSocket": false
[13:23:27.198] "remote.SSH.showLoginTerminal": true
[13:23:27.198] "remote.SSH.defaultExtensions": []
[13:23:27.198] "remote.SSH.loglevel": 1
[13:23:27.198] "remote.SSH.enableDynamicForwarding": true
[13:23:27.198] "remote.SSH.enableRemoteCommand": false
[13:23:27.198] "remote.SSH.serverPickPortsFromRange": {}
[13:23:27.198] "remote.SSH.serverInstallPath": {}
[13:23:27.200] VS Code version: 1.87.2
[13:23:27.201] Remote-SSH version: remote-ssh@0.109.0
[13:23:27.201] darwin arm64
[13:23:27.202] SSH Resolver called for host: win11
[13:23:27.202] Setting up SSH remote "win11"
[13:23:27.204] Acquiring local install lock: /var/folders/th/mkmvgmmn49l6p7qm7hw7mwg80000gn/T/vscode-remote-ssh-d761b3ab-install.lock
[13:23:27.204] Looking for existing server data file at /Users/atom/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-d761b3ab-863d2581ecda6849923a2118d93a088b0745d9d6-0.109.0-es/data.json
[13:23:27.205] Using commit id "863d2581ecda6849923a2118d93a088b0745d9d6" and quality "stable" for server
[13:23:27.206] Install and start server if needed
[13:23:27.207] PATH: /Applications/:/Users/atom/.vcpkg/artifacts/2139c4c6/compilers.arm.armclang/6.21.0/bin:/Users/atom/go/bin:/opt/homebrew/opt/mysql@5.7//bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home//bin:/bin/:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin
[13:23:27.207] Checking ssh with "ssh -V"
[13:23:27.216] > OpenSSH_9.4p1, LibreSSL 3.3.6

[13:23:27.217] askpass server listening on /var/folders/th/mkmvgmmn49l6p7qm7hw7mwg80000gn/T/vscode-ssh-askpass-12f29cf5ec491f35d241694bce047d0f03848202.sock
[13:23:27.218] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/th/mkmvgmmn49l6p7qm7hw7mwg80000gn/T/vscode-ssh-askpass-7579cef0098828e15e545255a520c95da1788295.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","55173","-o","ConnectTimeout=15","win11","powershell"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/atom/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-d761b3ab-863d2581ecda6849923a2118d93a088b0745d9d6-0.109.0-es/data.json"}
[13:23:27.218] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.TtJDq267xU/Listeners","SHELL":"/bin/zsh","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"","VSCODE_SSH_ASKPASS_MAIN":"/Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/th/mkmvgmmn49l6p7qm7hw7mwg80000gn/T/vscode-ssh-askpass-12f29cf5ec491f35d241694bce047d0f03848202.sock"}
[13:23:27.218] Spawned 9342
[13:23:27.315] > local-server-1> Running ssh connection command: ssh -v -T -D 55173 -o ConnectTimeout=15 win11 powershell
[13:23:27.316] > local-server-1> Spawned ssh, pid=9354
[13:23:27.318] stderr> OpenSSH_9.4p1, LibreSSL 3.3.6
[13:23:27.319] stderr> debug1: Reading configuration data /Users/atom/.ssh/config
[13:23:27.319] stderr> debug1: /Users/atom/.ssh/config line 1: Applying options for win11
[13:23:27.319] stderr> debug1: Reading configuration data /etc/ssh/ssh_config
[13:23:27.319] stderr> debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
[13:23:27.319] stderr> debug1: /etc/ssh/ssh_config line 54: Applying options for *
[13:23:27.319] stderr> debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
[13:23:27.319] stderr> debug1: Connecting to 10.211.55.4 [10.211.55.4] port 22.
[13:23:27.320] stderr> debug1: fd 3 clearing O_NONBLOCK
[13:23:27.320] stderr> debug1: Connection established.
[13:23:27.320] stderr> debug1: identity file /Users/atom/.ssh/windows11Parallel type 3
[13:23:27.320] stderr> debug1: identity file /Users/atom/.ssh/windows11Parallel-cert type -1
[13:23:27.320] stderr> debug1: Local version string SSH-2.0-OpenSSH_9.4
[13:23:27.352] stderr> debug1: Remote protocol version 2.0, remote software version OpenSSH_for_Windows_8.6
[13:23:27.352] stderr> debug1: compat_banner: match: OpenSSH_for_Windows_8.6 pat OpenSSH* compat 0x04000000
[13:23:27.352] stderr> debug1: Authenticating to 10.211.55.4:22 as 'atom'
[13:23:27.353] stderr> debug1: load_hostkeys: fopen /Users/atom/.ssh/known_hosts2: No such file or directory
[13:23:27.353] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
[13:23:27.353] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
[13:23:27.353] stderr> debug1: SSH2_MSG_KEXINIT sent
[13:23:27.371] stderr> debug1: SSH2_MSG_KEXINIT received
[13:23:27.371] stderr> debug1: kex: algorithm: curve25519-sha256
[13:23:27.371] stderr> debug1: kex: host key algorithm: ssh-ed25519
[13:23:27.371] stderr> debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
[13:23:27.371] stderr> debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
[13:23:27.372] stderr> debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
[13:23:27.375] stderr> debug1: SSH2_MSG_KEX_ECDH_REPLY received
[13:23:27.375] stderr> debug1: Server host key: ssh-ed25519 SHA256:3LZO+dz/McEsgVE1bF23aS8pOMqjGp9rJoN5MAMFnyk
[13:23:27.376] stderr> debug1: load_hostkeys: fopen /Users/atom/.ssh/known_hosts2: No such file or directory
[13:23:27.376] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
[13:23:27.376] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
[13:23:27.376] stderr> debug1: Host '10.211.55.4' is known and matches the ED25519 host key.
[13:23:27.376] stderr> debug1: Found key in /Users/atom/.ssh/known_hosts:24
[13:23:27.378] stderr> debug1: rekey out after 134217728 blocks
[13:23:27.378] stderr> debug1: SSH2_MSG_NEWKEYS sent
[13:23:27.378] stderr> debug1: expecting SSH2_MSG_NEWKEYS
[13:23:27.378] stderr> debug1: SSH2_MSG_NEWKEYS received
[13:23:27.378] stderr> debug1: rekey in after 134217728 blocks
[13:23:27.382] stderr> debug1: get_agent_identities: bound agent to hostkey
[13:23:27.382] stderr> debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
[13:23:27.382] stderr> debug1: Will attempt key: /Users/atom/.ssh/windows11Parallel ED25519 SHA256:LJbaC1xX5X1BNkHFWzL2f0OaZ1ac6LyfN7PUA8lPZYc explicit
[13:23:27.382] stderr> debug1: SSH2_MSG_EXT_INFO received
[13:23:27.382] stderr> debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com>
[13:23:27.430] stderr> debug1: SSH2_MSG_SERVICE_ACCEPT received
[13:23:27.446] stderr> debug1: Authentications that can continue: publickey,keyboard-interactive
[13:23:27.446] stderr> debug1: Next authentication method: publickey
[13:23:27.446] stderr> debug1: Offering public key: /Users/atom/.ssh/windows11Parallel ED25519 SHA256:LJbaC1xX5X1BNkHFWzL2f0OaZ1ac6LyfN7PUA8lPZYc explicit
[13:23:27.447] stderr> debug1: Server accepts key: /Users/atom/.ssh/windows11Parallel ED25519 SHA256:LJbaC1xX5X1BNkHFWzL2f0OaZ1ac6LyfN7PUA8lPZYc explicit
[13:23:27.479] stderr> Authenticated to 10.211.55.4 ([10.211.55.4]:22) using "publickey".
[13:23:27.479] stderr> debug1: Local connections to LOCALHOST:55173 forwarded to remote address socks:0
[13:23:27.479] stderr> debug1: Local forwarding listening on ::1 port 55173.
[13:23:27.479] stderr> debug1: channel 0: new port-listener [port listener] (inactive timeout: 0)
[13:23:27.480] stderr> debug1: Local forwarding listening on 127.0.0.1 port 55173.
[13:23:27.480] stderr> debug1: channel 1: new port-listener [port listener] (inactive timeout: 0)
[13:23:27.480] stderr> debug1: channel 2: new session [client-session] (inactive timeout: 0)
[13:23:27.480] stderr> debug1: Requesting no-more-sessions@openssh.com
[13:23:27.480] stderr> debug1: Entering interactive session.
[13:23:27.480] stderr> debug1: pledge: filesystem
[13:23:27.501] stderr> debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
[13:23:27.501] stderr> debug1: client_input_hostkeys: searching /Users/atom/.ssh/known_hosts for 10.211.55.4 / (none)
[13:23:27.505] stderr> debug1: client_input_hostkeys: searching /Users/atom/.ssh/known_hosts2 for 10.211.55.4 / (none)
[13:23:27.505] stderr> debug1: client_input_hostkeys: hostkeys file /Users/atom/.ssh/known_hosts2 does not exist
[13:23:27.505] stderr> debug1: client_input_hostkeys: host key found matching a different name/address, skipping UserKnownHostsFile update
[13:23:27.505] stderr> debug1: Sending environment.
[13:23:27.505] stderr> debug1: Sending command: powershell
[13:23:27.506] stderr> debug1: pledge: network
[13:23:27.628] > Windows PowerShell
> Copyright (C) Microsoft Corporation. All rights reserved.
> 
> Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
[13:23:27.766] > PS C:\Users\atom> 
[13:23:27.788] > echo 'ready: f94a61bff400'
[13:23:27.822] > ready: f94a61bff400
[13:23:27.827] > PS C:\Users\atom> 
[13:23:27.827] > u
[13:23:27.828] > name -rsv
[13:23:27.884] Platform: windows
[13:23:27.884] Remote command length: 6476/8192 characters
[13:23:27.891] > PS C:\Users\atom> 
[13:23:27.891] > powershell -NoProfile
[13:23:27.948] > Windows PowerShell
> Copyright (C) Microsoft Corporation. All rights reserved.
> 
> Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
[13:23:28.083] > PS C:\Users\atom> 
[13:23:28.111] > powershell -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive -Command "`$remoteSSHConfigurationScript=[Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes([Text.Encoding]::UTF8.GetString([Convert]::FromBase64String('CiR1dWlkPSJmOTRhNjFiZmY0MDAiCiIke3V1aWR9OiBydW5uaW5nIgoiZjk0YTYxYmZmNDAwOiBwYXVzZUxvZyIKJFByb2dyZXNzUHJlZmVyZW5jZT0nU2lsZW50bHlDb250aW51ZScKJHJfPSc4NjNkMjU4MWVjZGE2ODQ5OTIzYTIxMThkOTNhMDg4YjA3NDVkOWQ2JwokcD0kZW52OlBST0NFU1NPUl9BUkNISVRFQ1RVUkUKJGFyY2g9aWYgKCgkcCAtZXEgJ0FNRDY0JykgLW9yICgkcCAtZXEgJ0lBNjQnKSkgeyAneDY0JyB9IGVsc2UgeyAnaWEzMicgfQokc189KEpvaW4tUGF0aCAoUmVzb2x2ZS1QYXRoIH4pICcudnNjb2RlLXNlcnZlcicpCiRjbGlEYXRhRGlyPShKb2luLVBhdGggIiRzXyIgJ2NsaScpCiRlbnY6VlNDT0RFX0FHRU5UX0ZPTERFUj0kc18KJGxvZz1OZXctVGVtcG9yYXJ5RmlsZQokY189ImNvZGUiCiRkXz0iJGNfL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cnQgc3VjY2Vzc2Z1bGx5LiBGdWxsIHNlcnZlciBsb2cgYXQgJGxvZyA+Pj4iCndoaWxlICgoR2V0LURhdGUpIC1sdCAkYWZfKSB7CmlmKFRlc3QtUGF0aCAkbG9nKSB7CiRhaF89KHNscyBAYWdfKS5NYXRjaGVzLkdyb3VwcwppZigkYWhfKSB7CiRnbG9iYWw6cG9ydCA9ICRhaF9
[13:23:28.116] > bMV0uVm
[13:23:28.116] > F
[13:23:28.116] > sdWUKYnJlYWsKfQp9CnNsZWVwIC1NaWxsaXNlY29uZHMgMzAKfQppZiAoISRwb3J0KSB7CiRhbF8KY2F0ICRsb2cKIjw8PCBFbmQgb2Ygc2VydmVyIGxvZyIKcSAzMgp9Cn0gY2F0Y2ggewoiU2VydmVyIGZhaWxlZCB0byBzdGFydC4gLSAkKCRfLlRvU3RyaW5nKCkpIgoiJCgkXy5TY3JpcHRTdGFja1RyYWNlKSIKfQp0cnkgewokZ2xvYmFsOmFpXyA9IChnY2ltIFdpbjMyX09wZXJhdGluZ1N5c3RlbSkuVmVyc2lvbgp9IGNhdGNoIHsKIkZhaWxlZCB0byBmaW5kIFdpbmRvd3MgdmVyc2lvbiAtICQoJF8uVG9TdHJpbmcoKSkiCiRnbG9iYWw6YWlfID0gInVua25vd24iCn0KcHJpbnRSZXN1bHQKI
[13:23:28.116] > iRwaWQsIHdhdGNoaW5nICRzc2hkUElEIgp3aGlsZSAoJFRydWUpIHsKYl8Kc2xlZXAgMzAKfQp9CiJmOTRhNjFiZmY0MDA6IHJlc3VtZUxvZyIKbWFpbgo=')))); powershell -ExecutionPolicy Unrestr
[13:23:28.116] > i
[13:23:28.116] > cted -NoLogo -NoProfile -NonInteractive -EncodedCommand `$remoteSSHConfigurationScript"
[13:23:28.396] > f94a61bff400: running
> f94a61bff400: pauseLog
[13:23:28.456] > f94a61bff400: resumeLog
[13:23:28.721] > Looking for existing CLI in C:\Users\atom\.vscode-server
[13:23:28.724] > Trigger local server download
[13:23:28.724] > f94a61bff400:trigger_server_download
[13:23:28.725] > artifact==cli-win32==
[13:23:28.725] > 
> destFolder==C:\Users\atom\.vscode-server==
> destFolder2==/vscode-cli-863d2581ecda6849923a2118d93a088b0745d9d6.zip==
> f94a61bff400:trigger_server_download_end
> Waiting for client to transfer server archive...
> Waiting for C:\Users\atom\.vscode-server\vscode-cli-863d2581ecda6849923a2118d93a088b0745d9d6.zip.done and vscode-cli-863d2581ecda6849923a2118d93a088b0745d9d6.zip to exist
[13:23:28.725] Got request to download on client for {"artifact":"cli-win32","destPath":"C:\\Users\\atom\\.vscode-server/vscode-cli-863d2581ecda6849923a2118d93a088b0745d9d6.zip"}
[13:23:28.725] Downloading VS Code server locally...
[13:23:28.819] Terminating local server
[13:23:28.821] Resolver error: Error: Failed to download VS Code Server (Server returned 404)
	at g.Create (/Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:499734)
	at /Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:550334
	at async t.downloadAndCopyToHost (/Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:549834)
	at async /Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:557733
	at async e (/Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:557848)
	at async /Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:580094
	at async t.withShowDetailsEvent (/Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:583753)
	at async /Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:554890
	at async T (/Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:552941)
	at async t.resolveWithLocalServer (/Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:554430)
	at async k (/Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:577311)
	at async t.resolve (/Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:581124)
	at async /Users/atom/.vscode/extensions/ms-vscode-remote.remote-ssh-0.109.0/out/extension.js:2:847283
[13:23:28.823] TELEMETRY: {"eventName":"resolver","properties":{"osReleaseId":"","arch":"","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","remoteInConfigFile":"1","gotUnrecognizedPrompt":"0","dynamicForwarding":"1","localServer":"1","didLocalDownload":"0","installUnpackCode":"0","outcome":"failure","reason":"LocalDownloadFailed","exitCodeLabel":""},"measures":{"resolveAttempts":1,"isExecServer":0,"timing.totalResolveTime":1623,"timing.preSshTime":21,"timing.establishSshTime":1178}}
[13:23:28.824] ------




[13:23:28.827] Local server exit: 15

Anything else?

No response

@jenish-rudani jenish-rudani added the ssh Issue in vscode-remote SSH label Mar 19, 2024
@binhpht
Copy link

binhpht commented Mar 22, 2024

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.

@roblourens
Copy link
Member

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.

@roblourens roblourens added the info-needed Issue requires more information from poster label Mar 22, 2024
@roblourens
Copy link
Member

If that's wrong, please connect to that remote and check $env:PROCESSOR_ARCHITECTURE

@binhpht
Copy link

binhpht commented Mar 22, 2024

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:

[19:15:09.664] Got request to download on client for {"artifact":"cli-win32","destPath":"C:\Users\admin\.vscode-server/vscode-cli-863d2581ecda6849923a2118d93a088b0745d9d6.zip"}
[19:15:09.665] Downloading VS Code server locally...
[19:15:09.682] >
[19:15:09.990] Resolver error: Error: Failed to download VS Code Server (Server returned 404)

When I tried to remote using host machine, using the same machine to remote vs code for testing, it works well.

@jenish-rudani
Copy link
Author

The remote is ARM64 actually.

PS C:\Users\atom> $env:PROCESSOR_ARCHITECTURE
returns
ARM64

@binhpht
Copy link

binhpht commented Mar 22, 2024

I managed to fix by using older version 1.85.2 instead of the latest version.

@invokablegmbh
Copy link

Same here.

Logs say:
https://update.code.visualstudio.com/commit:863d2581ecda6849923a2118d93a088b0745d9d6/server-linux-legacy-x64/stable: 2024-03-24 05:48:24 ERROR 404: Not Found.

@pcherkashin
Copy link

@bvv400
Copy link

bvv400 commented Mar 25, 2024

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

@lomalkin
Copy link

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):

[14:56:51.846] > Linux 6.5.0-21-generic #21~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb  9 13:32:52 UTC 2
[14:56:51.846] Platform: linux
[14:56:51.851] > /bin/bash
[14:56:51.851] Shell: bash
[14:56:51.851] Creating bash subshell inside "bash"
[14:56:51.864] > bash version:  5.1.16(1)-release
[14:56:51.879] > 0541393a5b34: running
[14:56:51.907] > Acquiring lock on /home/user/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/vscode-remote-lock.user.863d2581ecda6849923a2118d93a088b0745d9d6
[14:56:51.912] > Installing to /home/user/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6...
[14:56:51.915] > 0541393a5b34%%1%%
[14:56:51.920] > Downloading with wget
[14:56:52.152] > wget download failed
> https://update.code.visualstudio.com/commit:863d2581ecda6849923a2118d93a088b0745d9d6/server-linux-legacy-x64/stable: 2024-03-25 17:56:52 ERROR 404: Not Found.

Try to follow the broken link from another PC:

% wget https://update.code.visualstudio.com/commit:863d2581ecda6849923a2118d93a088b0745d9d6/server-linux-legacy-x64/stable; echo $?
--2024-03-25 15:06:43--  https://update.code.visualstudio.com/commit:863d2581ecda6849923a2118d93a088b0745d9d6/server-linux-legacy-x64/stable
Resolving update.code.visualstudio.com (update.code.visualstudio.com)... 13.107.246.45, 13.107.213.45
Connecting to update.code.visualstudio.com (update.code.visualstudio.com)|13.107.246.45|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-03-25 15:06:43 ERROR 404: Not Found.

8

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.

@ecker-deshaw
Copy link

I'm seeing this as well connecting from 64-bit Windows 10 PC to a 64-bit Intel RedHat 8 Linux server.

@2jiwon
Copy link

2jiwon commented Mar 26, 2024

I am having the same issue. any luck without downgrading to 1.85 version? !_!

@imsujinpark
Copy link

imsujinpark commented Mar 26, 2024

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.

@2jiwon
Copy link

2jiwon commented Mar 26, 2024

@imsujinpark You saved my day! Yes switched to the release version solved the problem, thank you!

@Mighty-Monarch
Copy link

Thanks @imsujinpark! Switching to the release version was the trick.

@ryan-l-robinson
Copy link

My error also resolved by switching down to the release version of the Remote - SSH extension. Thanks!

@hnyls2002
Copy link

I came across this problem too.

When the downloading link is with server-linux-x64, it goes well.

wget https://update.code.visualstudio.com/commit:863d2581ecda6849923a2118d93a088b0745d9d6/server-linux-x64/stable

But on my AWS remote machine, the download link is with server-linux-legacy-x64

wget https://update.code.visualstudio.com/commit:863d2581ecda6849923a2118d93a088b0745d9d6/server-linux-legacy-x64/stable

And the result goes

--2024-03-27 12:18:40--  https://update.code.visualstudio.com/commit:863d2581ecda6849923a2118d93a088b0745d9d6/server-linux-legacy-x64/stable
Resolving update.code.visualstudio.com (update.code.visualstudio.com)... 13.107.246.40, 13.107.213.40, 2620:1ec:bdf::40, ...
Connecting to update.code.visualstudio.com (update.code.visualstudio.com)|13.107.246.40|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-03-27 12:18:40 ERROR 404: Not Found.

That is so weird, I think this is where the problem lies.

@bvv400
Copy link

bvv400 commented Mar 27, 2024

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

error also resolved by switching down to the release version of the Remote - SSH extension. Thanks!

@FanhaiLu1
Copy link

Thanks @imsujinpark! I got same issues, after switching it to the release version (v.0.109.0), I can connect my vms.

@InImpasse
Copy link

@imsujinpark I also encountered a 404 issue. After switching the Remote-SSH plug-in to the release version, the issue was solved. Thanks!
image

@ThreeE999
Copy link

切换至发布版本可以解决404问题。我记得我一直是发布版本,什么时候变成了预发布版本的?

@binhpht
Copy link

binhpht commented Apr 3, 2024

@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

@BeastyZ
Copy link

BeastyZ commented Apr 5, 2024

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.

You are right! Thanks!

@RomainFallet
Copy link

RomainFallet commented Apr 8, 2024

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)

@binhpht
Copy link

binhpht commented Apr 8, 2024

@RomainFallet i also have the same, the only solution i found is downgrade your vs code to 1.85

@jenish-rudani
Copy link
Author

@roblourens

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.

@RomainFallet
Copy link

@RomainFallet i also have the same, the only solution i found is downgrade your vs code to 1.85

Thanks, downgrading to VSCode 1.85 solved the problem for me too!

@joshspicer joshspicer self-assigned this Jul 19, 2024
@joshspicer joshspicer added bug Issue identified by VS Code Team member as probable bug and removed info-needed Issue requires more information from poster labels Jul 19, 2024
@joshspicer joshspicer added this to the July 2024 milestone Jul 19, 2024
@AwsMLMaster
Copy link

Had the same problem while I was on the latest vscode version and latest remote-ssh version.
downgrading to vs code locally to 1.85 solved it.

@joshspicer
Copy link
Member

Pre-release version v0.113.2024072215 was just released and should resolve this issue. Please let me know if there's any questions and/or feedback!

@joshspicer joshspicer modified the milestones: July 2024, Backlog Jul 24, 2024
@eleanorjboyd eleanorjboyd added the verification-steps-needed Steps to verify are needed for verification label Jul 24, 2024
@joshspicer
Copy link
Member

Verification steps

Any 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.

@joshspicer joshspicer removed the verification-steps-needed Steps to verify are needed for verification label Jul 24, 2024
@jenish-rudani
Copy link
Author

jenish-rudani commented Jul 24, 2024

v0.113.2024072215 works flawlessly.

Confirmed on Remote Host Windows_ARM64.

Thank you so much :)

@msalandro
Copy link

@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.

Screenshot 2024-07-25 at 6 39 15 AM

@vcsjones
Copy link
Member

@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.

@joshspicer joshspicer added the on-release-notes Issue/pull request mentioned in release notes label Jul 26, 2024
@guynich
Copy link

guynich commented Aug 1, 2024

Pre-release version v0.113.2024072215 was just released and should resolve this issue. Please let me know if there's any questions and/or feedback!

Using VS Code on a MacBook: Remote-SSH extension pre-release works when connecting to host Surface Pro (Qualcomm Snapdragon chip ARM) - thanks!

@JhonChen
Copy link

JhonChen commented Aug 2, 2024

The error Log:
Resolver error: Error: Failed to install the VS Code Server
at g.ServerInstallError (c:\Users.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:499852)
at d (c:\Users.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:493513)
at t.handleInstallOutput (c:\Users.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:495331)
at t.tryInstall (c:\Users.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:621085)
at async c:\Users.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:580730
at async t.withShowDetailsEvent (c:\Users.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:584036)
at async k (c:\Users.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:577649)
at async t.resolve (c:\Users.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:581407)
at async c:\Users.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.0\out\extension.js:2:848023

The solution method:
user another vscode with the same version ID, my is f1e16e1e6214d7c44d078b1f0607b2388f29d729, 1.91.1 version, tar the .vscode-server, scp to the faild ubuntu, then it worked.
before update the version is 1.87,.vscode-server/bin/05047486b6df5eb8d44b2ecd70ea3bdf775fd937, but update to 1.91, it becomes to .vscode-server/cli/servers/Stable-f1e16e1e6214d7c44d078b1f0607b2388f29d729/server

@msalandro
Copy link

@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.

Screenshot 2024-07-25 at 6 39 15 AM

I'm still seeing this issue with the latest pre-release version of the Remote-SSH extension.

@joshspicer
Copy link
Member

@msalandro that image isn't displaying for me. Could you please share your logs

@msalandro
Copy link

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.
2024-09-03 13:59:11.176 [info] Project system initialization finished. 0 project(s) are loaded, and 33 failed to load.

@msalandro
Copy link

@joshspicer It looks like the server is the correct architecture now.

10:18:52.829] Remote server is listening on port 55153
[10:18:52.829] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":55153},"osReleaseId":"windows","arch":"arm64","sshAuthSock":"","platform":"windows","execServerToken":"a11aaa1a-1111-1111-aaaa-a1111a1aaa1a"},"serverStartTime":120,"installUnpackCode":""}
**[10:18:52.829] ** Note: Support for architecture "arm64" is in preview ****
[10:18:52.831] Starting forwarding server. local port 54824 -> socksPort 54821 -> remotePort 55153
[10:18:52.831] Forwarding server listening on port 54824
[10:18:52.831] Waiting for ssh tunnel to be ready
[10:18:52.832] Tunneled port 55153 to local port 54824
[10:18:52.832] Resolved "ssh-remote+192.168.4.136" to "port 54824"
[10:18:52.837] Initizing new exec server for ssh-remote+192.168.4.136
[10:18:52.837] Resolving exec server at port 54824
[10:18:52.848] [Forwarding server port 54824] Got connection 0
[10:18:52.849] [Forwarding server port 54824] Got connection 1
[10:18:52.855] Exec server for ssh-remote+192.168.4.136 created and cached
[10:18:52.857] ------

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.

@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug on-release-notes Issue/pull request mentioned in release notes ssh Issue in vscode-remote SSH verified Verification succeeded
Projects
None yet
Development

No branches or pull requests