VSCode tunnel 1.98.2 fails: legacy server 404 Error
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.98.2
- OS Version: CentOS 7
Steps to Reproduce:
The documentation to do that is here: https://docs.rc.uab.edu/cheaha/open_ondemand/hpc_desktop/#downloading-and-installing-vscode-and-vscode-server
Expected Behavior
The CLI should fetch server-linux-x64, not server-linux-legacy-x64, or at least fall back gracefully when the legacy variant is unavailable.
Actual Behavior
The CLI attempts to install a deprecated server-linux-legacy-x64 variant that is no longer hosted by Microsoft, resulting in repeated 404 Not Found errors and failure to connect.
[2025-05-20 16:51:06] info [rpc.0] Checking /home/shutchin/.vscode/cli/servers/Stable-848b80aeb52026648a8ff9f7c45a9b0a80641e2e/log.txt and /home/shutchin/.vscode/cli/servers/Stable-848b80aeb52026648a8ff9f7c45a9b0a80641e2e/pid.txt for a running server...
[2025-05-20 16:51:07] debug [rpc.0] Installing and setting up Visual Studio Code Server...
[2025-05-20 16:51:07] debug [reqwest::connect] starting new connection: https://update.code.visualstudio.com/
[2025-05-20 16:51:07] error [rpc.0] Error installing server: error requesting https://update.code.visualstudio.com/commit:848b80aeb52026648a8ff9f7c45a9b0a80641e2e/server-linux-legacy-x64/stable: 404 Not Found
[2025-05-20 16:51:07] debug [russh::client::encrypted] channel_close
[2025-05-20 16:51:07] debug [tunnels::connections::relay_tunnel_host] no more connections on host relay client session, ending
[2025-05-20 16:51:07] debug [rpc.0] closing socket reader: EOF
[2025-05-20 16:51:07] debug [rpc.0] Closing connection: EOF
[2025-05-20 16:51:07] info [rpc.0] Disposed of connection to running server.
[2025-05-20 16:51:08] debug [russh::client::encrypted] confirming channel: OpenChannelMessage { typ: Unknown { typ: [99, 108, 105, 101, 110, 116, 45, 115, 115, 104, 45, 115, 101, 115, 115, 105, 111, 110, 45, 115, 116, 114, 101, 97, 109] }, recipient_channel: 1, recipient_window_size: 5242880, recipient_maximum_packet_size: 32768 }
[2025-05-20 16:51:08] info [tunnels::connections::relay_tunnel_host] Opened new client on channel 3
[2025-05-20 16:51:08] debug [tunnels::connections::relay_tunnel_host] starting to serve host relay client session
[2025-05-20 16:51:08] info [russh::server] wrote id
[2025-05-20 16:51:08] debug [russh::ssh_read] read_ssh_id: reading
[2025-05-20 16:51:08] debug [russh::ssh_read] read 33
[2025-05-20 16:51:08] debug [russh::ssh_read] Ok("SSH-2.0-dev-tunnels-ssh_3.11.36\r\n")
[2025-05-20 16:51:08] debug [russh::server::kex] server kex init: [20, 68, 87, 229, 226, 133, 77, 56, 103, 16, 92, 140, 190, 90, 204, 210, 232, 0, 0, 0, 95, 100, 105, 102, 102, 105, 101, 45, 104, 101, 108, 108, 109, 97, 110, 45, 103, 114, 111, 117, 112, 49, 52, 45, 115, 104, 97, 50, 53, 54, 44, 100, 105, 102, 102, 105, 101, 45, 104, 101, 108, 108, 109, 97, 110, 45, 103, 114, 111, 117, 112, 49, 52, 45, 115, 104, 97, 49, 44, 100, 105, 102, 102, 105, 101, 45, 104, 101, 108, 108, 109, 97, 110, 45, 103, 114, 111, 117, 112, 49, 45, 115, 104, 97, 49, 44, 101, 120, 116, 45, 105, 110, 102, 111, 45, 115, 0, 0, 0, 25, 114, 115, 97, 45, 115, 104, 97, 50, 45, 50, 53, 54, 44, 114, 115, 97, 45, 115, 104, 97, 50, 45, 53, 49, 50, 0, 0, 0, 32, 97, 101, 115, 50, 53, 54, 45, 99, 116, 114, 44, 97, 101, 115, 49, 57, 50, 45, 99, 116, 114, 44, 97, 101, 115, 49, 50, 56, 45, 99, 116, 114, 0, 0, 0, 32, 97, 101, 115, 50, 53, 54, 45, 99, 116, 114, 44, 97, 101, 115, 49, 57, 50, 45, 99, 116, 114, 44, 97, 101, 115, 49, 50, 56, 45, 99, 116, 114, 0, 0, 0, 128, 104, 109, 97, 99, 45, 115, 104, 97, 50, 45, 53, 49, 50, 45, 101, 116, 109, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 44, 104, 109, 97, 99, 45, 115, 104, 97, 50, 45, 50, 53, 54, 45, 101, 116, 109, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 44, 104, 109, 97, 99, 45, 115, 104, 97, 50, 45, 53, 49, 50, 44, 104, 109, 97, 99, 45, 115, 104, 97, 50, 45, 50, 53, 54, 44, 104, 109, 97, 99, 45, 115, 104, 97, 49, 45, 101, 116, 109, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 44, 104, 109, 97, 99, 45, 115, 104, 97, 49, 44, 110, 111, 110, 101, 0, 0, 0, 128, 104, 109, 97, 99, 45, 115, 104, 97, 50, 45, 53, 49, 50, 45, 101, 116, 109, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 44, 104, 109, 97, 99, 45, 115, 104, 97, 50, 45, 50, 53, 54, 45, 101, 116, 109, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 44, 104, 109, 97, 99, 45, 115, 104, 97, 50, 45, 53, 49, 50, 44, 104, 109, 97, 99, 45, 115, 104, 97, 50, 45, 50, 53, 54, 44, 104, 109, 97, 99, 45, 115, 104, 97, 49, 45, 101, 116, 109, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 44, 104, 109, 97, 99, 45, 115, 104, 97, 49, 44, 110, 111, 110, 101, 0, 0, 0, 26, 122, 108, 105, 98, 44, 122, 108, 105, 98, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 44, 110, 111, 110, 101, 0, 0, 0, 26, 122, 108, 105, 98, 44, 122, 108, 105, 98, 64, 111, 112, 101, 110, 115, 115, 104, 46, 99, 111, 109, 44, 110, 111, 110, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[2025-05-20 16:51:08] info [russh::server] read other id
[2025-05-20 16:51:08] info [russh::server] session is running
[2025-05-20 16:51:08] debug [russh::ssh_read] id 33 33
[2025-05-20 16:51:08] debug [russh::client::encrypted] channel_window_adjust
[2025-05-20 16:51:08] debug [russh::client::encrypted] amount: 4194326
[2025-05-20 16:51:09] debug [russh::server::kex] server kexdhdone.exchange = Exchange { client_id: CryptoVec { p: 0x2aaab8ba5af0, size: 31, capacity: 32 }, server_id: CryptoVec { p: 0x2aaab8bd8c80, size: 20, capacity: 32 }, client_kex_init: CryptoVec { p: 0x2aaab8cdb930, size: 453, capacity: 512 }, server_kex_init: CryptoVec { p: 0x2aaab8c9c260, size: 554, capacity: 1024 }, client_ephemeral: CryptoVec { p: 0x2aaab8cd4e80, size: 256, capacity: 256 }, server_ephemeral: CryptoVec { p: 0x2aaab84b7410, size: 257, capacity: 512 } }
[2025-05-20 16:51:09] debug [russh::server::kex] exchange hash: CryptoVec { p: 0x2aaab84c0400, size: 32, capacity: 32 }
[2025-05-20 16:51:09] debug [russh::server::kex] signing with key 0
[2025-05-20 16:51:09] debug [russh::server::kex] hash: CryptoVec { p: 0x2aaab84c0400, size: 32, capacity: 32 }
[2025-05-20 16:51:09] debug [russh::server::kex] key: RSA { (hidden) }
[2025-05-20 16:51:09] debug [russh::server::encrypted] request: Ok("ssh-userauth")
[2025-05-20 16:51:09] debug [russh::server::encrypted] name: "tunnel" Ok("ssh-connection") Ok("none")
[2025-05-20 16:51:09] debug [tunnels::connections::relay_tunnel_host] host relay client session successfully authed
[2025-05-20 16:51:09] debug [rpc.1] Serving new connection
Why I'm Using This Version / Setup
Cheaha runs on CentOS 7, which is officially supported only through VS Code 1.98.2. UAB’s Research Computing documentation explicitly recommends this version as the latest that works with CentOS 7. Due to glibc limitations, later versions of VS Code are not compatible. Remote access using code tunnel is the recommended method per institutional guidance.
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.100.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.100.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
The fix was to revert my local version. I was using the latest local version.
@deepak1556 This appears resolved.