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

Extension list not load behind corp proxy with NTLM #10461

Closed
McMlok opened this issue Aug 12, 2016 · 11 comments
Closed

Extension list not load behind corp proxy with NTLM #10461

McMlok opened this issue Aug 12, 2016 · 11 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug proxy Issues regarding network proxies
Milestone

Comments

@McMlok
Copy link

McMlok commented Aug 12, 2016

  • VSCode Version: 1.3.1
  • OS Version: Windows 7

Steps to Reproduce:

  1. Open VS Code
  2. CTRL+P
  3. ext install csharp

My settings.json is
{
"http.proxy": "http://[DOMAIN]%5C[USER]:[PASS]@proxy.corp.cz:8080",
"https.proxy": "http://[DOMAIN]%5C[USER]:[PASS]@proxy.corp.cz:8080",
"http.proxyStrictSSL": false
}

There is no error but nothing happens.

I look at WireShark and see
CONNECT marketplace.visualstudio.com:443 HTTP/1.1\r\n
Proxy-Authorization: Basic ZHNcbXRvbWFzb3Y6TWFsYWNoaSoyNTY=\r\n
Credentials: [DOMAIN][USER]:[PASS]

But our proxy needs NTLM not Basic. Is there chance to say VS Code to use NTLM?

Thanks

@joaomoreno
Copy link
Member

Can you try with the latest insiders release?

@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Aug 12, 2016
@McMlok
Copy link
Author

McMlok commented Aug 12, 2016

I try it with same result.

@joaomoreno joaomoreno added proxy Issues regarding network proxies bug Issue identified by VS Code Team member as probable bug and removed info-needed Issue requires more information from poster labels Aug 12, 2016
@joaomoreno joaomoreno added this to the Backlog milestone Aug 12, 2016
@goonslop
Copy link

goonslop commented Aug 15, 2016

@joaomoreno I'm also experiencing a similar issue behind SSL-breaking firewall - details here:
Extension connection problems #10540

@Lakritzator
Copy link

Lakritzator commented Aug 24, 2016

I have the same problem, just wanted to confirm that I cannot use Visual Studio Code behind a Corporate proxy. Had a hard time installing it, as the installer need admin rights, but in the end it was for nothing as there is not much sense of using it without extensions 😞

@ywmail
Copy link

ywmail commented Sep 9, 2016

before v1.5.1, I use cntlm to translate the NTLM proxy to a none encrypted proxy, it worded ok. After update to 1.5.1, neither NTLM proxy or cntlm works. I also have "http.proxyStrictSSL": false set, but it seems does nothing with promotes unable to verify the first certificate.

@joaomoreno
Copy link
Member

@ywmail #11702

@McMlok
Copy link
Author

McMlok commented Sep 11, 2016

cntlm as workarround works. Thanks

@f-mon
Copy link

f-mon commented Feb 13, 2017

same issue, no extension gallery working on 1.9.1 behind corporate proxy.
it seems proxy configurations in settings.json doesn't affect the extension gallery.
Any news on this bug?

@joaomoreno
Copy link
Member

@f-mon #18103

@er06645810
Copy link

Same issue for me too. Notably, installing via the command line works for most extensions. However, some extensions like cpptools attempt to download additional components when vscode launches the first time after installation, and that fails.

@joaomoreno
Copy link
Member

Support comes with #22369

Merging with #27838

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug proxy Issues regarding network proxies
Projects
None yet
Development

No branches or pull requests

7 participants