JetBrains / teamcity-dotnet-plugin

TeamCity plugin for .NET projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotnet restore returns 401

mkoziel2000 opened this issue · comments

This problem started happening after we downloaded and installed the latest teamcity patch made available this week.

The behavior:
running the ".NET" runner with "restore" against a private repo that requires authentication always produces a 401.

What we've checked:
We checked to verify that the credentials where still valid and that the nuget endpoint could still be hit by a browser with those credentials. Nothing changed in our build configurations between yesterday and today...the installation of the patch around noon today seem to be when this problem started appearing. We are using Teamcity as our nuget repo. I verified that I can perform a "dotnet restore" from the command line within the agent successfully.

Our workaround at the moment is to let "dotnet build" perform the implicit restore for us.

TeamCity Professional 2019.2.3 (build 72031)