Repository navigation
Closed
Labels
*duplicateIssue identified as a duplicate of another issue(s)proxyIssues regarding network proxiessshIssue in vscode-remote SSH
Description
Overview
It seems like remote VS Code instances with Remote - SSH extensions are using the proxy configuration of the client environment. That doesn't always work as developer workstation may use a different set of proxies (or no proxies) unlike the target server being remoted to. Possibly related issue #957.
Environment
- Version of VS Code: 1.61.0
- What type of remote connection you were using: SSH
- Your operating system: Windows
- The remote operating system you are connecting to: Linux
- List of extensions that you have installed: attempting to install C/C++ extension
Steps to reproduce
- Have a local environment that doesn't require proxies or uses a different set of proxies from the target server
- Connect to the target server via Remote - SSH
- Attempt to install C/C++ extension extension
- After a while, the extension will be installed and will try to install its dependencies
- Dependencies will eventually fail to install:
Downloading package 'C/C++ language components (Linux / x86_64)' Failed. Retrying... Failed. Retrying... Failed. Retrying...Waiting 8 seconds... Failed. Retrying...Waiting 15 seconds... Failed. Retrying...Waiting 15 seconds... Failed. Retrying...Waiting 15 seconds... Failed. Retrying...Waiting 15 seconds... Failed. Retrying...Waiting 15 seconds... Failed. Retrying...Waiting 15 seconds... Failed to download https://go.microsoft.com/fwlink/?linkid=2175018
Failed at stage: downloadPackages
Error: Failed to establish a socket connection to proxies: ["PROXY someredactedproxyhost"]
- Observe the failure due to VSCode server attempting to use client proxies (
someredactedproxyhostis what my laptop is using and isn't applicable to the target server)
While the reproduction case use C/C++ extension, this also applies to any other extension that downloads additional dependencies.
Metadata
Metadata
Assignees
Labels
*duplicateIssue identified as a duplicate of another issue(s)proxyIssues regarding network proxiessshIssue in vscode-remote SSH
Activity
chrmarti commentedon Oct 19, 2021
Duplicate of #986, continuing there.
EricHripko commentedon Oct 19, 2021
Sorry, didn't realise it was a duplicate! Thank you for quick triaging 👍