Closed
Description
@jirikopecky commented on Mon, 31 May 2021 14:34:05 GMT
Our 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