5.0.300 dotnet restore ignores proxy settings
See original GitHub issueOur build server is behind proxy and we use private NuGet feed. This feed have to be accessed directly, without the proxy. Feed DNS name is configured in no_proxy
environment variable. dotnet restore
fails with HTTP 504 Gateway Timeout.
Summaray:
- Environment: Docker (using
mcr.microsoft.com/dotnet/sdk:5.0
image) - Custom NuGet feed configured in NuGet.config (nuget.mycorp.com)
- HTTP(S) proxy configured using
http_proxy
andhttps_proxy
env variables - Using
no_proxy
env variable to configure direct access to custom feed (no_proxy=nuget.mycorp.com
) - Restore works with SDK 5.0.203, same setup fails with SDK 5.0.300
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:14 (6 by maintainers)
Top Results From Across the Web
net core - dotnet restore fails using corporate proxy
I just upgraded to dotnet core 2.1, but dotnet restore is failing. For some reason it is not using the http_proxy or https_proxy...
Read more >Untitled
Dotnet nuget config proxy The NuGet client ignores the NO_PROXY setting #10902 - Github ... 5.0.300 dotnet restore ignores proxy settings dotnet/sdk#17991.
Read more >Configure ASP.NET Core to work with proxy servers and ...
Restricts hosts by the X-Forwarded-Host header to the values provided. Values are compared using ordinal-ignore-case. Port numbers must be ...
Read more >Dotnet restore fails using corporate proxy
I just upgraded to dotnet core 2.1, but dotnet restore is failing. For some reason it is not using the http_proxy or https_proxy...
Read more >7124b168cc7e0c6a11120728ad...
NET ignores any globally installed .NET version. Remove that environment setting to let .NET consider the default global install location when selecting the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@aortiz-msft He already confirmed problem is fixed with 16.11 Preview 2, also I manually verified it yesterday. https://github.com/NuGet/Home/issues/10932#issuecomment-875514246
Hello, I can confirm that SDK 5.0.400 fixed the issue. Thanks!