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

Cannot browse extensions gallery behind corporate proxy #15879

Closed
akerd opened this issue Nov 22, 2016 · 6 comments
Closed

Cannot browse extensions gallery behind corporate proxy #15879

akerd opened this issue Nov 22, 2016 · 6 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@akerd
Copy link

akerd commented Nov 22, 2016

  • VSCode Version: 1.7.1
  • OS Version: Windows 10 Build 14393

This is another issue related to access the extensions gallery behind a proxy. I read all previous post here and on the web but I was not able to find a fix for my environment.

I tried to setup proxy in settings without authorization

    "http.proxy": "http://proxy_address:8080",
    "https.proxy": "http://proxy_address:8080",
    "http.proxyStrictSSL": false

and I tried also with authorization, that is usually required by our corporate proxy (BlueCoat)

    "http.proxy": "http://domain%5Cusername:password@proxy_address:8080",
    "https.proxy": "http://domain%5Cusername:password@proxy_address:8080",        
    "http.proxyStrictSSL": false

In both in this case the error message : Error read ECONNRESET

The very strange thing is that with Visual Studio 2015 Enterprise I can browser the extensions.
I decide so to monitor the HTTP traffic using WireShark but I was not able to find the differences the two call looks very similar but in case of VS Code the connection is dropped, in the other case it works.

I checked the two destination addresses and I can open both in HTTPS without problem with the browser on the same machine.

WireShark Monitoring VS Code Extension Gallery HTTP Request

image

image

WireShark Monitoring Visual Studio 2015 Extension Gallery HTTP Request

image

image

If you have some suggestions or you need some more debug information just let me know.

Thank you,
Marco

@joaomoreno
Copy link
Member

Have you checked with your network administrator if he needs to whitelist marketplace.visualstudio.com?

Did you restart Code every time you changed the proxy settings?

@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Nov 22, 2016
@akerd
Copy link
Author

akerd commented Nov 22, 2016

Thank you for answering.

Yes, at every change of settings I restarted VS Code.

About whitelisting I didn't contact our IT organization, it is a little complicated (I work in a big company). But using any browsers, configured to pass through the same proxy, the website is working without any problems. Is there any test I can do to identify a possible cause?

@joaomoreno
Copy link
Member

Hm... do you know which type of proxy authentication is being used in your network?

@akerd
Copy link
Author

akerd commented Nov 22, 2016

Mm good question, usually in order to exit with other programs I just need to specify DOMAIN\USERNAME and the same password I use to login to my domain account. But I suppose this is not enough, I will try to contact some IT to get some details about which proxy authentication we are using.

@akerd
Copy link
Author

akerd commented Nov 25, 2016

Ok finally they answer my request, but the only technical information that I received is that the proxy authentication is NTLM based. Is it enough?

@joaomoreno
Copy link
Member

It's enough just to flag it as a duplicate. 😢

#10461

@joaomoreno joaomoreno added *duplicate Issue identified as a duplicate of another issue(s) and removed info-needed Issue requires more information from poster labels Nov 25, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants