question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet/runtime is failing to restore from internal azdo feeds

See original GitHub issue
  • Is this issue blocking: no
  • Is this issue causing unreasonable pain: yes

@safern reported that even after updating the version of .Net SDK to a recent one the dotnet/runtime builds are still failing to restore from internal azdo feeds. Sample build is here.

Error message:

      (Restore target) -> 
         C:\Program Files\dotnet\sdk\3.0.100\NuGet.targets(123,5): error : Problem starting the plugin 'C:\Users\vsagent\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.dll'. Plugin 'CredentialProvider.Microsoft' failed within 5.272 seconds with exit code -1. [F:\workspace\_work\1\s\eng\common\internal\Tools.csproj]
         C:\Program Files\dotnet\sdk\3.0.100\NuGet.targets(123,5): error : Unable to load the service index for source https://devdiv.pkgs.visualstudio.com/_packaging/dotnet-core-internal-tooling/nuget/v3/index.json. [F:\workspace\_work\1\s\eng\common\internal\Tools.csproj]
       C:\Program Files\dotnet\sdk\3.0.100\NuGet.targets(123,5): error :   Response status code does not indicate success: 401 (Unauthorized). [F:\workspace\_work\1\s\eng\common\internal\Tools.csproj]

@markwilkie @riarenas @nkolev92

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
markwilkiecommented, Jan 30, 2020

@riarenas - we need to do a RCA on this. Perhaps open another issue? This’ll come back… 😦

1reaction
saferncommented, Jan 30, 2020

Did the changes help?

Yeah, the changes fixed the problem.

I guess whenever 3.1.200 is available we could bump our global.json to that and we can then remove the workarounds.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Restoring from private azure devops feeds is flaky #3932
We have been seeing multiple issues when restoring from azure devops ... dotnet/runtime is failing to restore from internal azdo feeds #4704.
Read more >
Nuget restore not working with artifact feed in Azure Devops
NuGet restore fails 404 from feed on another project in same organization. When using nuget restore from a pipeline the feed inside a...
Read more >
Restore NuGet packages in Azure Pipelines
A: The NuGet restore task can fail for several reasons. The most common scenario is when you add a new project that requires...
Read more >
dotnet restore fails in build on private agent and TFS
1.TargetingPack; dotnet sdk 2.1.300. We have local TFS installed with packages loaded in a nuget feed hosted in same TFS instance.
Read more >
Fixing NuGet error: Unable to load the service index for source
Solution 1. Use a NuGet config file. · Solution 2. Verify that your Personal Access Token hasn't expired · Solution 3. Run dotnet...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found