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

Test: Proxy Support #64202

Closed
2 tasks done
chrmarti opened this issue Dec 3, 2018 · 4 comments
Closed
2 tasks done

Test: Proxy Support #64202

chrmarti opened this issue Dec 3, 2018 · 4 comments

Comments

@chrmarti
Copy link
Collaborator

chrmarti commented Dec 3, 2018

Testing #60773

Complexity: 5

This is controlled through the "http.proxySupport": "override" setting. Test the following scenarios:

  • Proxy with authentication, using the "http.proxy" setting.
  • Proxy with authentication, using the HTTP_PROXY/HTTPS_PROXY env variables.
  • Proxy auto-config file, using the OS settings to point to a local file.

To run a proxy locally:

docker run -e SQUID_USERNAME=foo -e SQUID_PASSWORD=bar -p 3128:3128 robhaswell/squid-authenticated

Make sure that all connections initiated from the extension host go through the configured proxy. The "http.proxy" setting takes precedence over the env variables which take precedence over the OS settings.

Authentication via OS settings is not supported at the moment.

@miguelsolorio
Copy link
Contributor

@chrmarti I'm assuming this isn't available on insiders since we reverted yesterday's version?

image

@chrmarti
Copy link
Collaborator Author

chrmarti commented Dec 4, 2018

@misolori It's "http.proxySupport" now. The default is off, for testing please use "override" which should eventually become the default.

@joaomoreno
Copy link
Member

To help with testing, use the following extension:

http-test-0.0.1.zip

It will put 2 commands in the command palette:

  • Make HTTP Request
  • Make HTTPS Request

@joaomoreno joaomoreno removed their assignment Dec 4, 2018
@miguelsolorio miguelsolorio removed their assignment Dec 5, 2018
@sean-mcmanus
Copy link
Contributor

@chrmarti @joaomoreno The http.proxySupport set to "override" breaks out C/C++ extension's ability to download our Insider vsix. Please advise us on how we can workaround this issue. I filed #65118 .

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants