-
Notifications
You must be signed in to change notification settings - Fork 908
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
Proxy settings ignored for local connections #497
Comments
I think I might need a bit more information here. This is an explicit proxy you are setting correct? |
Yah, I think #262 is related but in the opposite way. :) |
This is strictly in getting the packages where it is is failing, correct? |
That means I'll need to make adjustments in our fork of Nuget.Core. |
If you specify an explicit proxy, we use it for getting software downloads from package instructions - choco/src/chocolatey.resources/helpers/functions/Get-WebFile.ps1 Lines 39 to 54 in ac0c596
However Nuget.Core (which has the responsibility of getting packages themselves) is probably trying to decide if it should bypass a proxy. Incorrectly. |
I've tested I can't get much further on my home network to confirm if Thanks. |
I believe it likely doesn't have any issues because if a proxy is specified, it is not bypassed. But I agree an additional setting would be helpful |
Voting this up to support issue #605 |
Thanks @abmoham. We'll bump the priority for this. |
Adding |
Rereading this issue - moved proxyBypassList to #1165. |
I think this may actually be covered with #1165 as you will be able to specify the bypass list and whether to bypass on local or not. |
Pretty sure this is covered by #1165. Closing as fixed for 0.10.4. |
When connecting to https://chocolatey.org/api/v2/, the chocolatey client (v0.9.9.11) correctly uses the configured proxy server (configured via
choco config set proxy
). However, when connecting to nuget servers on my local LAN segment, the proxy settings are seemingly ignored and the client attempts to connect directly.Often times a corporate proxy is still required to access a local web/NuGet server. Could you please consider making proxy bypass configurable?
The issue persists when using an IPv4 address, hostname or FQDN of a local NuGet host.
I've confirmed this issue in WireShark and Fiddler.
Running in PowerShell on Windows 10
May be related to #262
The text was updated successfully, but these errors were encountered: