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

Unable to Search for or Install Extensions Behind Proxy #7529

Closed
sebasijan opened this issue Jun 10, 2016 · 6 comments
Closed

Unable to Search for or Install Extensions Behind Proxy #7529

sebasijan opened this issue Jun 10, 2016 · 6 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@sebasijan
Copy link

sebasijan commented Jun 10, 2016

  • VSCode Version: 1.2.0
  • OS Version: Windows 7

Steps to Reproduce:

  1. Open VSCode
  2. F1
  3. Type "Install"
  4. Select "Extensions: Install Extension"

At this point, I see a loading bar, but it never goes away - it just loads forever. If I click into another window, it appears to stop searching and does nothing. This is quite frustrating as it means I can't really use VSCode for anything.

I am behind a proxy, and I have amended by User Properties like so :

// Place your settings in this file to overwrite the default settings
  {
      //-------- HTTP configuration --------

      // The proxy setting to use. If not set will be taken from the http_proxy and https_proxy environment variables
    "http.proxy": "http://my.proxy.ip.here:portnumber",

    // Whether the proxy server certificate should be verified against the list of supplied CAs.
    "http.proxyStrictSSL": false
}

As per another similar issue which was related to proxy and extensions not installing

@joaomoreno
Copy link
Member

Did you restart Code after modifying the settings?

@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Jun 10, 2016
@sebasijan
Copy link
Author

Yes I restarted after each attempt. Let me know if there is anything I can post that might be helpful

@lextm
Copy link

lextm commented Jun 10, 2016

@sebasijan you might use a tool such as Wireshark to analyze if the packets go through the proxy properly. If they do then I suspect your corporate proxy blocks the access to the necessary site for some reason.

The setting has been verified by far too many users, so I think this issue you report is more related to the network settings than VSCode itself.

@sebasijan
Copy link
Author

@lextm Thanks for the advice Lex - WireShark seems really useful. I can't work out thought - how can I filter packets to only analyse those coming from VSCode? There are so many packets when viewing it is impossible to distinguish by eye.

Is there perhaps an IP address which Install Extensions always makes a call to so that I can isolate?

Thanks again

@sebasijan
Copy link
Author

Okay I was able to resolve this after my network manager disabled SSL Inspection on my machine. After re-enabling it the issue comes back. I tried setting

"http.proxyStrictSSL": true

After we re-enabled SSL (as the default was "false") but I am still unable to see extensions. Is this expected?

@joaomoreno
Copy link
Member

Yeah, this sounds like a problem in your network.

@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
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants