microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.71k stars 29.45k forks source link

Resolver error: Error: Failed to download VS Code Server (Failed to fetch) #230870

Open copilot0058 opened 1 month ago

copilot0058 commented 1 month ago

Does this issue occur when all extensions are disabled?: Yes/No

image

 090e3.tar.gz.done and vscode-server.tar.gz to exist
[13:50:20.174] Got request to download on client for {"artifact":"cli-alpine-x64","destPath":"/root/.vscode-server/vscode-cli-XXX.tar.gz"}
[13:50:20.175] server download URL: https://update.code.visualstudio.com/commit:XXX/cli-alpine-x64/stable
[13:50:20.175] Downloading VS Code server locally...
[13:50:20.189] > 
> 
[13:50:20.207] Resolver error: Error: Failed to download VS Code Server (Failed to fetch)

Steps to Reproduce:

  1. download remote explorer on vscode
  2. open vscode on windows
  3. using remote explorer to ssh linux
  4. It show the error

I don't know what happen. But if it is the network, how to connect the vscode by myself without vsocde process automatically.

vs-code-engineering[bot] commented 1 month ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.94.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

copilot0058 commented 1 month ago

No, other linux can link. I think it is a network problem, so it fail to download necessary file. Could you provide the method without internet to ssh the linux? I have the intranet, my windows pc can ssh local linux pc.

JasonZHANGTianrui commented 1 month ago

Same problem, and I am indeed using the latest version. Version: 1.94.1 (user setup) Commit: e10f2369d0d9614a452462f2e01cdc4aa9486296 Date: 2024-10-05T05:44:32.189Z Electron: 30.5.1 ElectronBuildId: 10262041 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22631

JasonZHANGTianrui commented 1 month ago

It seems a network problem, I asked the administrator to set a static record at remote server and now I can get in.

copilot0058 commented 1 month ago

Could you share the method that set a static record at remote server? Thanks you