Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help Wanted: Proxy testing #18103

Closed
joaomoreno opened this issue Jan 4, 2017 · 117 comments
Closed

Help Wanted: Proxy testing #18103

joaomoreno opened this issue Jan 4, 2017 · 117 comments
Assignees
Milestone

Comments

@joaomoreno
Copy link
Member

joaomoreno commented Jan 4, 2017

Hi! If you were pinged to this thread, it's because VS Code needs your help!

Users behind proxies have had a tough time lately, and we want to make sure we fix this. We've created a small app which will test your machine, network and environment to figure out which network stack works best for you.

App Screenshot

image

How can I help?

We ask you to:

  1. Download and extract the appropriate ZIP for your platform
  2. Run it
  3. Type your proxy URL in the input box
  4. Click Run Tests
  5. Be patient, it should eventually be done
  6. Copy the test results to your clipboard
  7. Finally, reply to this thread with:
  • Details about your machine (platform, OS)
  • Details about your network (proxy type, is it a corporate environment)
  • A list of the network-related features that don't work for you in VSCode
  • The results of the test

Example reply:

I'm running Windows 10, I am in a corporate environment and I know my proxy address. I can browse VS Code extensions but I can't install them.

[PASTE TABLE]

We thank you in advance!


@liaoya, @dfroze, @akcorp2003, @ruslanch, @bruceauyeung, @raphabi, @eric-brunel, @fazouane-marouane, @Msira10, @onybo, @ywmail, @foisonocean, @xuewang, @distums, @NeWbY100, @abargstaedt

@joaomoreno joaomoreno added this to the January 2017 milestone Jan 4, 2017
@joaomoreno joaomoreno self-assigned this Jan 4, 2017
@dfroze
Copy link

dfroze commented Jan 4, 2017

I am running on Linux Mint 18.1. And there are 2 proxy (from which I can choose)

First (this is a simple one, best case scenario):

Test Status Hash or Error
HTTP XHR 0 Error
HTTPS XHR 0 Error
HTTP Node 0 Error
HTTPS Node 0 Error
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Error
HTTP Node Agent 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS Node Agent 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTP Node Agent (not strict) 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS Node Agent (not strict) 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTP Electron 0 Error
HTTPS Electron 0 Error

Second (this is more official one, and no, there is no user/pass needed):

Test Status Hash or Error
HTTP XHR 0 Error
HTTPS XHR 0 Error
HTTP Node 0 Error
HTTPS Node 0 Error
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Error
HTTP Node Agent 301 e11c1bd6271f7090bdcda9877a3280772fcb55bb
HTTPS Node Agent 400 802eafc269a24a2b950e78b44807fbf95c8b0897
HTTP Node Agent (not strict) 301 e11c1bd6271f7090bdcda9877a3280772fcb55bb
HTTPS Node Agent (not strict) 400 802eafc269a24a2b950e78b44807fbf95c8b0897
HTTP Electron 0 Error
HTTPS Electron 0 Error

@joaomoreno
Copy link
Member Author

joaomoreno commented Jan 4, 2017

@dfroze What is your second proxy? What technology/protocol does it use? Did you configure your OS with your proxy settings? Can you use Google Chrome, does it work without any configuration?

@dfroze
Copy link

dfroze commented Jan 4, 2017

@joaomoreno
What is your second proxy?

  • the second one is a more secured proxy that I should be using, but due to some restriction, it's more efficient to use the first proxy where it's less strict

What technology/protocol does it use?

  • all I know is that it's a Squid proxy same as the first proxy. But with vscode 1.7 there was no problems on either one.

Did you configure your OS with your proxy settings? Can you use Google Chrome, does it work without any configuration?

  • I added the proxy to the /etc/environment and /etc/bash.bashrc (should be enough for OS configuration), but I still need to add it to Google Chrome as a parameter "--proxy-server=" (don't know why I can't set it from chrome->settings->etc)

@joaomoreno
Copy link
Member Author

From @eric-brunel

OS : Windows 7 Enterprise 64bits
Browsers: I use Chrome, Firefox, and IE 11 without issue.

Without providing proxy URL:

Test Status Hash or Error
HTTP XHR 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS XHR 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTP Node 0 Error
HTTPS Node 0 Error
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Error
HTTP Node Agent 0 Error
HTTPS Node Agent 0 Error
HTTP Node Agent (not strict) 0 Error
HTTPS Node Agent (not strict) 0 Error
HTTP Electron 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS Electron 200 7a4223d9f38834aee278d439f5d59666cf964464

Without providing credentials (only proxy server URL)

Test Status Hash or Error
HTTP XHR 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS XHR 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTP Node 0 Error
HTTPS Node 0 Error
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Error
HTTP Node Agent 407 8f1b436c863fd1d25752e2e0d2837024766387b9
HTTPS Node Agent 407 8f1b436c863fd1d25752e2e0d2837024766387b9
HTTP Node Agent (not strict) 407 8f1b436c863fd1d25752e2e0d2837024766387b9
HTTPS Node Agent (not strict) 407 8f1b436c863fd1d25752e2e0d2837024766387b9
HTTP Electron 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS Electron 200 7a4223d9f38834aee278d439f5d59666cf964464

With Credentials

Test Status Hash or Error
HTTP XHR 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS XHR 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTP Node 0 Error
HTTPS Node 0 Error
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Error
HTTP Node Agent 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS Node Agent 0 Error
HTTP Node Agent (not strict) 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS Node Agent (not strict) 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTP Electron 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS Electron 200 7a4223d9f38834aee278d439f5d59666cf964464

@akcorp2003
Copy link

@joaomoreno Tried running your app in my environment. No results after running it for 2 hours. It could be my corporate proxy...

@fazouane-marouane
Copy link

fazouane-marouane commented Jan 4, 2017

Hi,

On my end, with or without providing proxy URL (I didn't provide credentials).

Test Status Hash or Error
HTTP XHR 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS XHR 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTP Node 0 Error
HTTPS Node 0 Error
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Error
HTTP Node Agent 0 Error
HTTPS Node Agent 0 Error
HTTP Node Agent (not strict) 0 Error
HTTPS Node Agent (not strict) 0 Error
HTTP Electron 200 7a4223d9f38834aee278d439f5d59666cf964464
HTTPS Electron 200 7a4223d9f38834aee278d439f5d59666cf964464

OS : Windows 7 Enterprise 64bits
Browsers: I use Chrome, Firefox, and IE 11 without issue.
Proxy: corporate ntlm proxy

I didn't try entering credentials, since vscode doesn't encrypt them (like what "nuget" does). So having the proxy credentials stored in clear in vscode is not an option.

@ywmail
Copy link

ywmail commented Jan 5, 2017

OS : Windows 7 Pro 64bits
Browsers: I use Chrome, Firefox, and IE 11 without issue.
Proxy: corporate NTLM proxy

with Credentials: http://user:[email protected]:port

Test Status Hash or Error
HTTP XHR 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTPS XHR 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTP Node 0 Error
HTTPS Node 0 Error
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Error
HTTP Node Agent 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTPS Node Agent 0 Error
HTTP Node Agent (not strict) 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTPS Node Agent (not strict) 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTP Electron 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTPS Electron 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7

@joaomoreno
Copy link
Member Author

joaomoreno commented Jan 5, 2017

So far so good, it appears both XHR and Electron are the best, since they benefit from the system's configuration, as expected.

Except @dfroze, who seems to not have it working. @dfroze does your system have the $HTTP_PROXY variable set? I believe Electron should pick this up.

@akcorp2003 I've improved the timeout mechanism. Can you try the latest version?

@dfroze
Copy link

dfroze commented Jan 5, 2017

@joaomoreno I've looked it more in the problem with system proxy, apparently there is a way to set it (other then /etc/environment) that is better. By using the Network interface given by the OS there was a way to set the proxy manually which is different and better then the one set in bash ⁉️

Was expecting that just by providing the $HTTP_PROXY environment variable or the Proxy URL from your proxy test application will be more then enough for the connection.

Here is re-test using the Network interface given by the OS on the second proxy (the problematic one).

Test Status Hash or Error
HTTP XHR 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTPS XHR 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTP Node 0 Error
HTTPS Node 0 Error
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Error
HTTP Node Agent 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTPS Node Agent 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTP Node Agent (not strict) 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTPS Node Agent (not strict) 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTP Electron 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7
HTTPS Electron 200 29bea4fe728ba83229e162cfa2b5d373c4e458f7

Edited: Just to make sure there are no room for errors. The Network interface given by the OS i was referring to is the following for Linux Mint:
screenshot-from-2014-01-19-184455

@joaomoreno
Copy link
Member Author

@dfroze Great news!

@abargstaedt
Copy link

abargstaedt commented Jan 5, 2017

OS : Windows 7 Enterprise 64bits
Browsers: I use Chrome, Firefox, and IE 10 without issue.
Proxy: with basic authentication

with Credentials: http://user:[email protected]:port

Test Status Hash or Error
HTTP XHR 407 4ffb8a63098fa5ff43df7ea06456d002638d6c17
HTTPS XHR 0 Error
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS Node Agent 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTP Node Agent (not strict) 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS Node Agent (not strict) 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTP Electron 0 Timeout
HTTPS Electron 0 Timeout

@fazouane-marouane
Copy link

@abargstaedt
Have you tried not putting the proxy credentials and not putting the proxy?

@abargstaedt
Copy link

abargstaedt commented Jan 6, 2017

Not yet but here it is w/o putting the proxy

Test Status Hash or Error
HTTP XHR 407 95bc3e92f0286dd8d6b4f9c60491cd5cde04f526
HTTPS XHR 0 Error
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 0 Timeout
HTTPS Node Agent 0 Timeout
HTTP Node Agent (not strict) 0 Timeout
HTTPS Node Agent (not strict) 0 Timeout
HTTP Electron 0 Timeout
HTTPS Electron 0 Timeout

@abargstaedt
Copy link

And here with proxy set but w/o credentials

Test Status Hash or Error
HTTP XHR 0 Timeout
HTTPS XHR 0 Timeout
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 407 20661b66197593f47ec6d2f8a89a28418f016d03
HTTPS Node Agent 407 77e1d09affcd81e11c425f73bd941170b11c6aa7
HTTP Node Agent (not strict) 407 20661b66197593f47ec6d2f8a89a28418f016d03
HTTPS Node Agent (not strict) 407 77e1d09affcd81e11c425f73bd941170b11c6aa7
HTTP Electron 0 Timeout
HTTPS Electron 0 Timeout

@abargstaedt
Copy link

Please don't hesitate to let me know if I can do anything more to help you. I appreciate your great work!

@joaomoreno
Copy link
Member Author

joaomoreno commented Jan 6, 2017

@abargstaedt What is strange about your setup is that the XHR and Electron methods don't work. Can you tell us more about your proxy setup? What technologies does it use?

Can you check around Chrome's network settings, and see if it is manually configured? I find it strange that Chrome works, but Code wouldn't.

@liaoya
Copy link

liaoya commented Jan 6, 2017

I'm running CentOS 7.2, I am in a corporate environment and I know my proxy address. I can browse VS Code extensions but I can't install them. Our Proxy does not require authetication.

Test Status Hash or Error
HTTP XHR 0 Timeout
HTTPS XHR 0 Timeout
HTTP Node 0 Error
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS Node Agent 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTP Node Agent (not strict) 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS Node Agent (not strict) 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTP Electron 0 Timeout
HTTPS Electron 0 Timeout

@joaomoreno
Copy link
Member Author

@liaoya Can you check the comment from @dfroze, and see whether you can configure your proxy system-wide. Then give it another try, we want to make sure the XHR and Electron methods work.

@liaoya
Copy link

liaoya commented Jan 6, 2017

I have a Windows 7 with Visual Code 1.8.1 which extension functions works with the same proxy setting as my Linux. The following is the output. I also try both 32 bits and 64 bits Windows version, the output is similar.

Test Status Hash or Error
HTTP XHR 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS XHR 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS Node Agent 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTP Node Agent (not strict) 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS Node Agent (not strict) 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTP Electron 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS Electron 200 c2d397827b2884c52ca1d6f7cff0381868a52371

@liaoya
Copy link

liaoya commented Jan 6, 2017

This time I don't comment all the proxy setting in /etc/environment and all the other settings, then reboot the system, the following is the output (I have run the test several time and I find sometimes error will be timeout, and timeout will be error). The proxy is set in test app and there is no environment variable now.

Test Status Hash or Error
HTTP XHR 0 Error
HTTPS XHR 0 Timeout
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS Node Agent 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTP Node Agent (not strict) 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS Node Agent (not strict) 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTP Electron 0 Error
HTTPS Electron 0 Timeout

@joaomoreno
Copy link
Member Author

Is this how you are configuring your system? http://www.thesysadminhimself.com/2013/08/configuring-web-proxy-on-centos.html

@abargstaedt
Copy link

abargstaedt commented Jan 6, 2017

@joaomoreno Chrome and my other browsers are set up to use an automatic configuration script (proxy.pac). Then it prompts for user name and password (basic authentication).

For other applications that require internet access I have to set up the proxy manually. Normally this works with the pattern http://user:[email protected]:port. That way it works for npm, Bower, Git and it used to work for VSCode as well but not anymore.

I probably should also mention that some genius put the character '@' into the proxy password. So we have to work around that by replacing it with %40 in above mentioned pattern. Still it works for most applications.

In settings.json I removed the credentials from the "http.proxy" value and inserted the following line:
"http.proxyAuthorization": "Basic sOMeBASE64eNCODEdSTRING="
The base 64 encoded password above is a fake but it is the same header that we are using for Fiddler.

@R3V07T
Copy link

R3V07T commented Jan 6, 2017 via email

@dfroze
Copy link

dfroze commented Jan 6, 2017

@R3V07T We are glad that you reacted to the post and pretty sure there a lot of us shocked about it (maybe). But do please right something more useful and more detailed next time 😆

@hbuckle
Copy link

hbuckle commented Jan 6, 2017

I am running Windows 10 Enterprise and I know the proxy address. I can browse VS Code extensions but I can't install them.

Test Status Hash or Error
HTTP XHR 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS XHR 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 407 94efd26b8804f75088643e6ed7c08d8184720420
HTTPS Node Agent 407 3fe64ea065031c0df319d3a76871c56709238e64
HTTP Node Agent (not strict) 407 94efd26b8804f75088643e6ed7c08d8184720420
HTTPS Node Agent (not strict) 407 3fe64ea065031c0df319d3a76871c56709238e64
HTTP Electron 200 c2d397827b2884c52ca1d6f7cff0381868a52371
HTTPS Electron 200 c2d397827b2884c52ca1d6f7cff0381868a52371

@fazouane-marouane
Copy link

That's great news that xhr and electron are widely functional.
For proxy configuration through pac files, it is already supported by electron electron-archive/brightray#123
I don't know about prompting for credentials though...

@liaoya
Copy link

liaoya commented Jan 8, 2017

Please take a look at my results between Windows and Linux. XHR and Electron both work on Windows (so the extension function works). The really problem is that Windows work and Linux fail with the same proxy configuration.

@fazouane-marouane
Copy link

@liaoya
Does Chrome/Chromium work perfectly on your linux? Does it require a "--proxy-server" flag to work properly?

@joaomoreno joaomoreno removed this from the February 2017 milestone Feb 21, 2017
@JesusSerranoGL
Copy link

JesusSerranoGL commented Feb 22, 2017

I'm running Windows 10, corporate domain and behind a proxy. I can browse the extensions but I'm having the Error: end of central directory record signature not found when I try to install them. I get the same result in the tests with the http and https proxy addresses, and with or without setting the user and password.

Test Status Hash or Error
HTTP XHR 200 176510cd5998854b63794674d2203a246adee111
HTTPS XHR 200 176510cd5998854b63794674d2203a246adee111
HTTP Node 200 176510cd5998854b63794674d2203a246adee111
HTTPS Node 200 176510cd5998854b63794674d2203a246adee111
HTTP Node (not strict) 200 176510cd5998854b63794674d2203a246adee111
HTTPS Node (not strict) 200 176510cd5998854b63794674d2203a246adee111
HTTP Node Agent 404 8cc9cd768faef1b60caa775d21ebd0ff40b0e905
HTTPS Node Agent 405 5ce07537405b461f5b0879977212fcff805a688c
HTTP Node Agent (not strict) 404 8cc9cd768faef1b60caa775d21ebd0ff40b0e905
HTTPS Node Agent (not strict) 405 5ce07537405b461f5b0879977212fcff805a688c
HTTP Electron 200 176510cd5998854b63794674d2203a246adee111
HTTPS Electron 200 176510cd5998854b63794674d2203a246adee111

@kad
Copy link

kad commented Feb 22, 2017

Mac OSX 10.11.6, behind corporate firewall, network location set to "office" where proxy autodetect configured. All apps works (including updates for vscode itself) except VSCode extensions marketplace.

Test Status Hash or Error
HTTP XHR 200 176510cd5998854b63794674d2203a246adee111
HTTPS XHR 200 176510cd5998854b63794674d2203a246adee111
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 0 Timeout
HTTPS Node Agent 0 Timeout
HTTP Node Agent (not strict) 0 Timeout
HTTPS Node Agent (not strict) 0 Timeout
HTTP Electron 200 176510cd5998854b63794674d2203a246adee111
HTTPS Electron 200 176510cd5998854b63794674d2203a246adee111

@leonibr
Copy link

leonibr commented Feb 23, 2017

Windows 8, behind corporate firewall, proxy manualy configured. All apps works (including updates for vscode itself) except VSCode extensions marketplace: can´t browse can´t download

Test Status Hash or Error
HTTP XHR 407 ab7b82dac8d9e8a10d0fef31f357ac7868fa4380
HTTPS XHR 0 Error
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 200 176510cd5998854b63794674d2203a246adee111
HTTPS Node Agent 200 176510cd5998854b63794674d2203a246adee111
HTTP Node Agent (not strict) 200 176510cd5998854b63794674d2203a246adee111
HTTPS Node Agent (not strict) 200 176510cd5998854b63794674d2203a246adee111
HTTP Electron 0 Timeout
HTTPS Electron 0 Timeout

@eolandezhang
Copy link

Test Status Hash or Error
HTTP XHR 407 e5168a6626d9220c0f63967067bf6bb82f435946
HTTPS XHR 0 Error
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 200 176510cd5998854b63794674d2203a246adee111
HTTPS Node Agent 200 176510cd5998854b63794674d2203a246adee111
HTTP Node Agent (not strict) 200 176510cd5998854b63794674d2203a246adee111
HTTPS Node Agent (not strict) 200 176510cd5998854b63794674d2203a246adee111
HTTP Electron 0 Timeout
HTTPS Electron 0 Timeout

@xapienz
Copy link

xapienz commented Feb 24, 2017

Windows 7, behind corporate proxy, I know my proxy address and have set both http.proxyStrictSSL (as false) and http.proxy.
I can check for updates of VS Code well, but I can't search or install the extensions.
During searching for extensions I get the same problem as in #18920 - net::ERR_INSECURE_RESPONSE.
Here's the result of proxy tests.

Test Status Hash or Error
HTTP XHR 200 176510cd5998854b63794674d2203a246adee111
HTTPS XHR 0 Error
HTTP Node 0 Error
HTTPS Node 0 Error
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Error
HTTP Node Agent 200 176510cd5998854b63794674d2203a246adee111
HTTPS Node Agent 200 176510cd5998854b63794674d2203a246adee111
HTTP Node Agent (not strict) 200 176510cd5998854b63794674d2203a246adee111
HTTPS Node Agent (not strict) 200 176510cd5998854b63794674d2203a246adee111
HTTP Electron 200 176510cd5998854b63794674d2203a246adee111
HTTPS Electron 0 Timeout

@temurphy
Copy link

temurphy commented Feb 24, 2017

I'm running Windows 7 behind a corporate proxy, and I'm running both VSCode Version 1.9.1 and VSCode Version 1.10.0-insider. I have the http.proxy setting initialized, and also the http.proxyStrictSSL set to false. I am able to browse the extensions no problem, and see their details pages just fine. Whenever I try to install any extensions, though, I consistently get the "end of central directory record signature not found" error. I have run your utility and the following is the output:

Test Status Hash or Error
HTTP XHR 200 176510cd5998854b63794674d2203a246adee111
HTTPS XHR 200 176510cd5998854b63794674d2203a246adee111
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 404 1a8ab1a9f5658dbfebf1663863a8c69a08b43e86
HTTPS Node Agent 400 58388882414776ea64f86b1dbf00bb8f3e3a08cd
HTTP Node Agent (not strict) 404 1a8ab1a9f5658dbfebf1663863a8c69a08b43e86
HTTPS Node Agent (not strict) 400 58388882414776ea64f86b1dbf00bb8f3e3a08cd
HTTP Electron 200 176510cd5998854b63794674d2203a246adee111
HTTPS Electron 200 176510cd5998854b63794674d2203a246adee111

@atierant
Copy link

Running v1.4.13 on vscode 1.9.1

I'm running Windows 7 Entreprise SP1,
I am in a corporate environment and I know my proxy address.
with Credentials: http://user:[email protected]:port
On env :
HTTP_PROXY set to http://user:[email protected]:port
HTTPS_PROXY set to http://user:[email protected]:port
Browsers: I use Chrome, Firefox, and IE 11 without issue.

Chrome and my other browsers are set up to use an automatic configuration script (proxy.pac).
Then it prompts for user name and password (basic authentication).

Same as #18103 (comment)

I can browse VS Code extensions, I can install them, but I've this problem :
#20786
#14853

Test Status Hash or Error
HTTP XHR 200 176510cd5998854b63794674d2203a246adee111
HTTPS XHR 200 176510cd5998854b63794674d2203a246adee111
HTTP Node 0 Error
HTTPS Node 0 Error
HTTP Node (not strict) 0 Error
HTTPS Node (not strict) 0 Error
HTTP Node Agent 200 176510cd5998854b63794674d2203a246adee111
HTTPS Node Agent 200 176510cd5998854b63794674d2203a246adee111
HTTP Node Agent (not strict) 200 176510cd5998854b63794674d2203a246adee111
HTTPS Node Agent (not strict) 200 176510cd5998854b63794674d2203a246adee111
HTTP Electron 200 176510cd5998854b63794674d2203a246adee111
HTTPS Electron 200 176510cd5998854b63794674d2203a246adee111

@temurphy
Copy link

Hi joaomoreno -- it looks like this thread has been accumulating feedback since Jan 4. Do you have a fix yet? (Still unable to install extensions, already provided the protocol feedback.) Appreciate the work you are doing.

@FloMaetschke
Copy link

@joaomoreno told me that he will put it on the dev tasks for march. So you just have to wait for few days/weeks now.
There is also a slow workaround by manually installing extensions to vscode.
http://stackoverflow.com/questions/37071388/how-to-install-vscode-extensions-offline

This isn't comfortable but it helps if you are really in need of an important plugin.

@akcorp2003
Copy link

You can also try and get off your proxy if you can. Installing extensions still work without the proxy.

@nassoman
Copy link

nassoman commented Mar 3, 2017

Another workaround behind corporate proxy requiring authentication is to use Cntlm (http://cntlm.sourceforge.net/), Fiddler as proxy for some reason did not work for this purpose.

@joaomoreno
Copy link
Member Author

Closing this. We're taking the numbers for investigation.

@calison3
Copy link

calison3 commented Apr 21, 2017

Here is my results

Test Status Hash or Error
HTTP XHR 200 61c4ba2c1193626646647f82002399f69e9c6286
HTTPS XHR 200 61c4ba2c1193626646647f82002399f69e9c6286
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 407 2d505ae37d16030d07b4cf2760222ca54b15603b
HTTPS Node Agent 407 2d505ae37d16030d07b4cf2760222ca54b15603b
HTTP Node Agent (not strict) 407 2d505ae37d16030d07b4cf2760222ca54b15603b
HTTPS Node Agent (not strict) 407 2d505ae37d16030d07b4cf2760222ca54b15603b
HTTP Electron 200 61c4ba2c1193626646647f82002399f69e9c6286
HTTPS Electron 200 61c4ba2c1193626646647f82002399f69e9c6286

I can't install extensions because I have a proxy. I have VSCode 1.8.1.
I use Windows 7 Enterprise (64-bit).

@MattAllison
Copy link

Firewall functions as the proxy - no configuration possible or required:

Test Status Hash or Error
HTTP XHR 200 f571c24c885086ff0e2dcaeee13218f14affdd47
HTTPS XHR 200 f571c24c885086ff0e2dcaeee13218f14affdd47
HTTP Node 302 19ab467486888159ef06a5fabb89cf69825dda72
HTTPS Node 0 Error
HTTP Node (not strict) 302 19ab467486888159ef06a5fabb89cf69825dda72
HTTPS Node (not strict) 301 d5434ab83b609d9fe25244d1f2282b0b74a4f2b8
HTTP Node Agent 302 19ab467486888159ef06a5fabb89cf69825dda72
HTTPS Node Agent 0 Error
HTTP Node Agent (not strict) 302 19ab467486888159ef06a5fabb89cf69825dda72
HTTPS Node Agent (not strict) 301 d5434ab83b609d9fe25244d1f2282b0b74a4f2b8
HTTP Electron 200 f571c24c885086ff0e2dcaeee13218f14affdd47
HTTPS Electron 200 f571c24c885086ff0e2dcaeee13218f14affdd47

@angelia-yuqi
Copy link

angelia-yuqi commented May 22, 2017

@joaomoreno I'm running Windows 7 behind a corporate proxy, and I'm running width VSCode Version 1.9.1(before is 1.7 and no problem). I have the http.proxy setting initialized, and also the http.proxyStrictSSL set to false. I am able to browse the extensions no problem, and see their details pages just fine. Whenever I try to install any extensions, though, I consistently get the "end of central directory record signature not found" error. I have run your utility and the following is the output:

Test Status Hash or Error
HTTP XHR 200 f571c24c885086ff0e2dcaeee13218f14affdd47
HTTPS XHR 200 f571c24c885086ff0e2dcaeee13218f14affdd47
HTTP Node 0 Timeout
HTTPS Node 0 Timeout
HTTP Node (not strict) 0 Timeout
HTTPS Node (not strict) 0 Timeout
HTTP Node Agent 302 6fb113e551c09793136812450713ebf84de9daea
HTTPS Node Agent 0 Error
HTTP Node Agent (not strict) 302 6fb113e551c09793136812450713ebf84de9daea
HTTPS Node Agent (not strict) 301 d5434ab83b609d9fe25244d1f2282b0b74a4f2b8
HTTP Electron 200 f571c24c885086ff0e2dcaeee13218f14affdd47
HTTPS Electron 200 f571c24c885086ff0e2dcaeee13218f14affdd47

@fazouane-marouane
Copy link

@angelia-yuqi just update your vscode to the latest version and it will work. You'd probably need to remove the proxy settings too if it doesn't work.

@angelia-yuqi
Copy link

@fazouane-marouane I has updated vscode to 1.11.2 and the problem is not resolved and the proxy works in other solution.

@fazouane-marouane
Copy link

Have you tried removing http proxy config from vscode?

@lourencomcviana
Copy link

Details about your machine (platform, OS)
Details about your network (proxy type, is it a corporate environment)
A list of the network-related features that don't work for you in VSCode

  • Im using Ubuntu 16.04 LTS
  • Do not now much about the proxy. The networks guys configured it once and dosent seen to remember exactly what they did. but this string usually works (works in ubuntu, eclipse, etc). I had asked about if it is a proxy with strict ssl (do not understand what is that, and they didnt too). Maybe i should fill the http.proxyAuthorization with something?
  • I cant install extensions or do anything related with network.
Test Status Hash or Error
HTTP XHR 407 072f40234b4008a9e815d3bb1ba00e7d0a2e9977
HTTPS XHR 0 Error
HTTP Node 503 f4e7030b1ee793d7a5eb6fd69b45a118e0118bfb
HTTPS Node 0 Error
HTTP Node (not strict) 503 f4e7030b1ee793d7a5eb6fd69b45a118e0118bfb
HTTPS Node (not strict) 0 Error
HTTP Node Agent 302 19ab467486888159ef06a5fabb89cf69825dda72
HTTPS Node Agent 301 d5434ab83b609d9fe25244d1f2282b0b74a4f2b8
HTTP Node Agent (not strict) 302 19ab467486888159ef06a5fabb89cf69825dda72
HTTPS Node Agent (not strict) 301 d5434ab83b609d9fe25244d1f2282b0b74a4f2b8
HTTP Electron 0 Timeout
HTTPS Electron 0 Timeout

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests