Skip to content

Latest version prevents Remote - SSH Extension to connect to remote without internet connection #230891

Closed

Description

@JammyJellyfish

I set the setting Remote.SSH: Local Server Download to always, so vs-code is supposed to copy the vscode-server using scp.
On my Remote PC I have a proxied connection that prevents me from downloading from https://update.code.visualstudio.com/.

When starting a connection to my Remote PC using Connect to Host... It gets stuck at Downloading VS Code Server....

From the Remote-SSH log it seems, like it's trying to download from code.visualstudio.com instead of using scp to copy the secure server:

[11:33:32.485] [server] Error installing server: error requesting https://update.code.visualstudio.com/commit:e10f2369d0d9614a452462f2e01cdc4aa9486296/server-linux-x64/stable: 407
<TITLE>Access Denied</TITLE> [...] local proxy denied message [...]

This issue seems to be introduced in 1.94.0.

Linked to Issue 10373 of vscode-remote-release

Does this issue occur when all extensions are disabled?: Yes (Except Remote-SSH Extension)

  • VS Code Version: 1.94.1 and 1.94.0
  • OS Version: Ubuntu 22.04

Steps to Reproduce:

  1. Try connect to a remote host without internet connection.

Activity

  1. JammyJellyfish commented on Oct 9, 2024

    @JammyJellyfish
    Author

    Update: The issue also occurs in version 1.94.0.
    The issue does not occur in version 1.93.1

  2. joshspicer commented on Oct 9, 2024

    @joshspicer
    Contributor

    Could you provide your Remote - SSH logs?

    Even if a wget on the remote fails (due to your proxy) it should still fallback to scp (if your settings don't prohibit it, which we can see in the logs).

  3. added
    info-needed
    on Oct 9, 2024
  4. JammyJellyfish commented on Oct 10, 2024

    @JammyJellyfish
    Author

    After executing Remote-SSH: Uninstall VS Code Server from Host... (with version 1.93.1) and then updating to 1.94.1, it is working again and I can't reproduce the issue.

  5. locked and limited conversation to collaborators on Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

info-needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions