You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you were pinged to this thread, it's because you helped out in #18103.
With #21879, all network communication was moved to the Chrome's network stack. We'll try to fix the proxy issues over that layer, instead of having two layers.
The latest Insiders release is already out, please give it a try:
If stuff fails, please open the dev tools (F1, Developer Tools), try again and check the Network tab for failing requests.
Note: The http.proxy and http.proxyStrictSSL settings are ignored in this build, it doesn't matter what you put in there. The proxy settings are automatically picked up from your system's configuration. So, if stuff fails, the first thing you can check if whether your system is correctly configured to use your proxy.
After the update the problem #18920 didn't disappear, it still persists (net::ERR_INSECURE_RESPONSE in developer console). Moreover, after the update I cannot check for updates using "Help - Check for updates" (menu item disables forever, no messages appear in developer console). In previous version I could check for updates correctly.
Then I started code-insiders with code-insiders --verbose and noticed the message as in #17360 (ERROR:cert_verify_proc_nss.cc(942)] CERT_PKIXVerifyCert). So the workaround with certutil could help me (though nothing works without applying workaround).
In short, my problem seems to be not in proxy settings, it is the problem in accepting the corporate certificate despite using http.proxyStrictSSL: false.
" The proxy settings are automatically picked up from your system's configuration. So, if stuff fails, the first thing you can check if whether your system is correctly configured to use your proxy."
What exactly do you mean with this statement:
HTTP_PROXY enviroment variables?
Windows Proxy Settings(IE)?
Evgeny Brazgin (@xapienz) I'm now investigating on how to support the scenario of untrusted certificates. 👍
Rafael Neves (@rafaelcneves) Strange. Chrome works well in your system? Do you have Firefox? If so, do you manually configure the proxy settings in it?
FloMaetschke I mean the Windows Proxy Settings(IE). The HTTP_PROXY doesn't work anymore.
Currently on Mac OSX Sierra 10.12.5, VS Code 1.12.2, I am able to search for extensions now, however, the thumbnails do not appear and if I click on "install," I get an error message.
Please add no.proxy setting support. Some extensions honour vscode's http.proxy setting, but some network requests from these extensions like testing local APIs, should not go through proxy.
I'm using this extension: REST Client humao.rest-client
I can send request to github.com, like:
GET https://github.com/ HTTP/1.1
content-type: application/json
But I can't send request to local APIs when http.proxy is set.
GET http://127.0.0.1:18081/api/test / HTTP/1.1
content-type: application/json
remove the http.proxy setting is OK to send the request.
Seconded on the no.proxy or http.noproxy support (or at least make sure that we can use a system setting). If you'd like me to create a new issue and link it here I can. I would be able to do some limited testing if needed.
Activity
leonibr commentedon Mar 8, 2017
rafaelcneves commentedon Mar 8, 2017
The "Linux 32" link is with "Linux 64" url, the same issue with "Linux 64" link
fazouane-marouane commentedon Mar 8, 2017
The link to vscode insider
https://code.visualstudio.com/insiders
João Moreno (@joaomoreno) Thanks for the update. I'll test it this afternoon.
Update
It works like a charm! 😁
xapienz commentedon Mar 8, 2017
Hello João Moreno (@joaomoreno), thank you for your effort.
I installed latest linux-64 deb from https://code.visualstudio.com/insiders (same build number as in tar.gz here - 1.11.0-1488956710_amd64).
After the update the problem #18920 didn't disappear, it still persists (
net::ERR_INSECURE_RESPONSEin developer console). Moreover, after the update I cannot check for updates using "Help - Check for updates" (menu item disables forever, no messages appear in developer console). In previous version I could check for updates correctly.Then I started code-insiders with
code-insiders --verboseand noticed the message as in #17360 (ERROR:cert_verify_proc_nss.cc(942)] CERT_PKIXVerifyCert). So the workaround with certutil could help me (though nothing works without applying workaround).In short, my problem seems to be not in proxy settings, it is the problem in accepting the corporate certificate despite using
http.proxyStrictSSL: false.rafaelcneves commentedon Mar 8, 2017
I installed the latest version of code-insiders from the ppa, and I've tried with the links above too on linux x64.
And the error persists, I'm getting
net::ERR_CONNECTION_TIMED_OUTin developer console.I have sure that proxy is correctly configured because I tried to simulate the same request on Postman and curl and there it works.
equinoxel commentedon Mar 8, 2017
I've installed latest update for windows and I get the same error.
FloMaetschke commentedon Mar 8, 2017
Hi João Moreno (@joaomoreno) jaomoreno!
I still get the problem with ERR_TUNNEL_CONNECTION_FAILED.
I am using http_proxy setting in system env which works fine with npm.
workbench.main.js:142 POST https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery net::ERR_TUNNEL_CONNECTION_FAILED(anonymous function)
FloMaetschke commentedon Mar 8, 2017
João Moreno (@joaomoreno)
HTTP_PROXY enviroment variables?
Windows Proxy Settings(IE)?
JesusSerranoGL commentedon Mar 8, 2017
Insiders version worked for me! Thanks!
joaomoreno commentedon Mar 8, 2017
Fixed the links, sorry guys. 😨
joaomoreno commentedon Mar 8, 2017
Evgeny Brazgin (@xapienz) I'm now investigating on how to support the scenario of untrusted certificates. 👍
Rafael Neves (@rafaelcneves) Strange. Chrome works well in your system? Do you have Firefox? If so, do you manually configure the proxy settings in it?
FloMaetschke I mean the Windows Proxy Settings(IE). The
HTTP_PROXYdoesn't work anymore.FloMaetschke commentedon Mar 8, 2017
João Moreno (@joaomoreno) Proxy Settings are set but not working.
65 remaining items
martinmcwhorter commentedon May 30, 2017
I can confirm I am still having this issue trying to access the marketplace through a corporate proxy
VSCode: 1.12.1
OS: Windows 7
Proxy configured through PAC.
When I try to access recommended extensions I get this in the debug console:
I have deleted all of my proxy config settings from VSCode, exited and restarted VSCode I get the same result.
If I only delete the first line, and leave in the second line of the config:
It still does not work. I get the same result.
akcorp2003 commentedon May 31, 2017
Currently on Mac OSX Sierra 10.12.5, VS Code 1.12.2, I am able to search for extensions now, however, the thumbnails do not appear and if I click on "install," I get an error message.
ywmail commentedon Jun 9, 2017
Please add
no.proxysetting support. Some extensions honour vscode'shttp.proxysetting, but some network requests from these extensions like testing local APIs, should not go through proxy.I'm using this extension: REST Client
humao.rest-clientI can send request to github.com, like:
But I can't send request to local APIs when
http.proxyis set.remove the
http.proxysetting is OK to send the request.HolyGeneralK commentedon Jun 14, 2017
Seconded on the
no.proxyorhttp.noproxysupport (or at least make sure that we can use a system setting). If you'd like me to create a new issue and link it here I can. I would be able to do some limited testing if needed.joaomoreno commentedon Jul 3, 2017
Thanks for all the help people!