vscode
vscode copied to clipboard
Error when installing extensions when using HTTP proxy
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.97.0
- OS Version: Linux Mint 22.1
Steps to Reproduce:
- Go to the extensions panel in VSCode.
- Search for an extension. This part works.
- Click the Install button on the extension.
Which always gives this error in the output panel:
2025-02-06 20:11:07.312 [error] [Window] Error: net::ERR_INVALID_ARGUMENT
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/utility_init:2:10511)
at SimpleURLLoaderWrapper.emit (node:events:518:28)
2025-02-06 20:11:07.346 [error] [Window] net::ERR_INVALID_ARGUMENT: Error: net::ERR_INVALID_ARGUMENT
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/utility_init:2:10511)
at SimpleURLLoaderWrapper.emit (node:events:518:28)
The results of the network proxy test are below:
VS Code 1.97.0 (33fc5a94a3f99ebe7087e8fe79fbe1d37a251016)
Network Proxy Test 0.0.16
linux 6.8.0-52-generic x64
Settings:
- http.proxy: http://user:pass@proxy:port
- globalLocalValue: http://user:pass@proxy:port
- globalValue: http://user:pass@proxy:port
- http.proxyAuthorization: user:pass
- globalLocalValue: user:pass
- globalValue: user:pass
- http.proxyStrictSSL: false
- globalLocalValue: false
- globalValue: false
- http.electronFetch: true
- globalLocalValue: true
- globalValue: true
- http.experimental.systemCertificatesV2: true
- globalLocalValue: true
- globalValue: true
Environment variables:
HTTPS_PROXY=http://user:pass@proxy:port
HTTP_PROXY=http://user:pass@proxy:port
NO_PROXY=nuget.org
http_proxy=http://user:pass@proxy:port
https_proxy=http://user:pass@proxy:port
DNS:
- Servers: 127.0.0.53
- Result Order: ipv4first
- Auto Select Family: true
- Auto Select Family Attempt Timeout: 250
- Lookup: 140.82.114.4 (158 ms)
Proxy:
- URL: http://user:pass@proxy:port (1 ms)
- Connection: 407 Proxy Authentication Required
proxy-authenticate: Basic realm="HTTP Proxy" (3 ms)
Sending GET request to https://github.com...
Received response:
- Status: 200 OK
Certificate chain:
- Subject: github.com
Subject alt: DNS:github.com
Validity: Feb 5 05:00:00 2025 GMT - Feb 8 05:00:00 2025 GMT
Fingerprint: 25:02:9A:BD:FD:C4:BD:AF:E2:8C:09:CB:61:5D:6F:41:F4:CF:2B:57
- (Proxy certificates)
Local root certificates:
- (Proxy root certificate)
Sending GET request to https://github.com using fetch from Electron...
Received response:
- Status: 200
Sending GET request to https://github.com using fetch from Node.js...
Received response:
- Status: 200 OK
Sending GET request to https://github.com using fetch from Node.js (allow HTTP2)...
Received response:
- Status: 200