microsoft / artifacts-credprovider

The Azure Artifacts Credential Provider enables dotnet, NuGet.exe, and MSBuild to interactively acquire credentials for Azure Artifacts feeds.
MIT License
759 stars 707 forks source link

Running Crendential Provider Behind Proxy #441

Closed rinobatin closed 10 months ago

rinobatin commented 1 year ago

I'm running dotnet/nuget with credential provider behind company proxy (with Windows auth). I'm getting the following error when I try to restore

Failed to acquire session token: System.Net.Http.HttpRequestException: 
The proxy tunnel request to proxy 'http://webproxy.company.com:8080/' failed with status code '407'."

Is it okay to add proxy support? If so, how do you want this implemented? I'm happy to create a PR.

I can use dotnet restore/nuget and nuget.exe just fine with the proxy to another source e.g. to nuget.org

JohnSchmeichel commented 1 year ago

Using default credentials with proxies should work, might be a bug fix level change required if that's not working as expected (could be mistaken here though). Can you collect debug logs and provide them here? Curious which http call is getting that 407 result.

github-actions[bot] commented 10 months ago

This issue has had no activity in 90 days. Please comment if it is not actually stale.