Skip to content

Help Wanted: Proxy testing #18103

Closed
Closed

Description

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!


Huifeng Shen (@liaoya), dfroze, Aland Kuang (@akcorp2003), Ruslan (@ruslanch), Bruce Auyeung (@bruceauyeung), raphabi, eric-brunel, Marouane Fazouane (@fazouane-marouane), Msira10, Olav Nybø (@onybo), Wayne Yang (@ywmail), @foisonocean, Xue Wang (@xuewang), bot42 (@distums), NeWbY100, BargAnd (@abargstaedt)

Activity

  1. dfroze commented on Jan 4, 2017

    @dfroze

    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
  2. joaomoreno commented on Jan 4, 2017

    @joaomoreno
    ContributorAuthor

    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?

  3. dfroze commented on Jan 4, 2017

    @dfroze

    João Moreno (@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)
  4. joaomoreno commented on Jan 4, 2017

    @joaomoreno
    ContributorAuthor

    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
  5. akcorp2003 commented on Jan 4, 2017

    @akcorp2003

    João Moreno (@joaomoreno) Tried running your app in my environment. No results after running it for 2 hours. It could be my corporate proxy...

  6. fazouane-marouane commented on Jan 4, 2017

    @fazouane-marouane

    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.

  7. ywmail commented on Jan 5, 2017

    @ywmail

    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
  8. joaomoreno commented on Jan 5, 2017

    @joaomoreno
    ContributorAuthor

    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.

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

  9. dfroze commented on Jan 5, 2017

    @dfroze

    João Moreno (@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

  10. joaomoreno commented on Jan 5, 2017

    @joaomoreno
    ContributorAuthor

    dfroze Great news!

  11. abargstaedt commented on Jan 5, 2017

    @abargstaedt

    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
  12. fazouane-marouane commented on Jan 5, 2017

    @fazouane-marouane

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

  13. abargstaedt commented on Jan 6, 2017

    @abargstaedt

    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
  14. 99 remaining items

  15. atierant commented on Feb 28, 2017

    @atierant

    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
  16. temurphy commented on Feb 28, 2017

    @temurphy

    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.

  17. FloMaetschke commented on Mar 2, 2017

    @FloMaetschke

    João Moreno (@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.

  18. akcorp2003 commented on Mar 3, 2017

    @akcorp2003

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

  19. nassoman commented on Mar 3, 2017

    @nassoman

    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.

  20. joaomoreno commented on Mar 3, 2017

    @joaomoreno
    ContributorAuthor

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

  21. calison3 commented on Apr 21, 2017

    @calison3

    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).

  22. MattAllison commented on May 17, 2017

    @MattAllison

    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
  23. angelia-yuqi commented on May 22, 2017

    @angelia-yuqi

    João Moreno (@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
  24. fazouane-marouane commented on May 22, 2017

    @fazouane-marouane

    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.

  25. angelia-yuqi commented on May 27, 2017

    @angelia-yuqi

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

  26. fazouane-marouane commented on May 27, 2017

    @fazouane-marouane

    Have you tried removing http proxy config from vscode?

  27. lourencomcviana commented on Jun 19, 2017

    @lourencomcviana

    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

    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
  28. locked and limited conversation to collaborators on Jun 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions