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

Offline web vscode Error #197747

Closed
PauletteASuare opened this issue Nov 8, 2023 · 1 comment
Closed

Offline web vscode Error #197747

PauletteASuare opened this issue Nov 8, 2023 · 1 comment
Assignees
Labels
*as-designed Described behavior is as designed

Comments

@PauletteASuare
Copy link

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

  • VS Code Version: 1.84.1
  • OS Version: Debian 12

Steps to Reproduce:

  1. Disable your internet connection.
  2. run this command on the CLI: code serve-web --without-connection-token --user-data-dir /home/myuser
  3. open a browser and try to open vscode on the web: http://127.0.0.1:8000

So you can see this error:

error error getting latest version: Could not check for update: error requesting https://update.code.visualstudio.com/api/latest/server-linux-x64-web/stable: error sending request for url (https://update.code.visualstudio.com/api/latest/server-linux-x64-web/stable): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution

@connor4312
Copy link
Member

serve-web will not work until you have an internet connection. If you have an internet connection once and go to the server, and then go offline later, it will fall back to reusing the last version it pulled. But it needs this at least once to download the VS Code server.

@connor4312 connor4312 added the *as-designed Described behavior is as designed label Nov 9, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed
Projects
None yet
Development

No branches or pull requests

4 participants