-
Notifications
You must be signed in to change notification settings - Fork 82
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
Obey https_proxy settings #764
Comments
My I want things to work out of the box whenever reasonable. |
Although I also tried JVM args (http.proxyHost etc) through |
@datho7561 have you some idea? |
@mwisnicki have you tried following these instructions: https://github.com/redhat-developer/vscode-xml/blob/main/docs/Preferences.md#setting-up-proxy ? Make sure you set both the HTTP and HTTPS proxies. The extension should use the VS Code proxy settings to download schemas. Unfortunately, there was a bug in the implementation, and this was only being configured for HTTP and not HTTPS (see #735). I made a fix for this a while ago, but we haven't released a new version of the extension since then. If you are able to, try enabling the preview version of the extension and see if that fixes it. If there is some other issue beyond this, please let me know. @angelozerr I think we should do a release soon to address this, what do you think? |
Yes I have the proxy setup. Switched to pre-release. Still failing in |
Okay. Are you using any sort of Authorization with the proxy? I have only tried with Basic authorization and without any authorization. |
Doh, I had a typo in proxyPort! However neither obeys vscode proxy settings and http.proxySupport=override so this bug still stands. |
Not using authorization directly. Have cntlm and http_proxy=http://localhost:3128
https_proxy=$http_proxy |
Okay, thanks for your help. Just to confirm I understand correctly, you set up the proxy in VS Code using environment variables? We have code in place to read the VS Code setting |
Reads the environment variable `http_proxy` as the proxy config if the setting `"http.proxy"` is not set. Closes redhat-developer#764 Signed-off-by: David Thompson <davthomp@redhat.com>
Yes. Thanks for looking into this. IMHO it should be on VS Code to provide single consistent way of obtaining proxy by extensions. |
Looks like the nightly build for the prerelease went through. If you have time, please let me know if this fixed your issue |
I have http_proxy and https_proxy set yet the extension is most likely failing to use them.
Please provide better behaviour than jvm defaults which are horrible.
See #134 for details.
The text was updated successfully, but these errors were encountered: