microsoft / vscode

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

Azure Schema Store cannot be reached behind proxy #70310

Closed SetTrend closed 5 years ago

SetTrend commented 5 years ago

While almost all parts of Visual Studio Code seem to be able to reach the Internet, https://schemastore.azurewebsites.net/schemas/json/tsconfig.json cannot be reached:

Authentication Required
You must be authenticated to access this URL.
urlprotocol = "https";
statuscode=407;
URL:  break_line("https://schemastore.azurewebsites.net");

HTTP_PROXY and HTTPS_PROXY environment variables have both been set, like HTTPS_PROXY=http://user:pwd@proxy.domain.loc:8080/.

VSCode/OS Version:

image

Does this issue occur when all extensions are disabled?

image

All existing issues here are locked and seem unsolved. That's why I'm creating this new issue. I suspect the cause for this bug is a regression.

PS: It would be great if the fix for the corresponding portion in Code would use WinINET by default (on Windows machines) when HTTP(S)_PROXY environment variables are not set, so the system configured proxy would be used by default.

joaomoreno commented 5 years ago

12588