Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET SDK 8.0.401: random "multiple attempts to download the nupkg have failed" #13729

Open
metoule opened this issue Aug 22, 2024 · 2 comments
Open
Labels
Functionality:Restore Triage:NeedsMoreInfo Type:Bug WaitingForCustomer Applied when a NuGet triage person needs more info from the OP

Comments

@metoule
Copy link

metoule commented Aug 22, 2024

NuGet Product Used

dotnet.exe

Product Version

SDK Version: 8.0.401

Worked before?

8.0.304

Impact

It's more difficult to complete my work

Repro Steps & Context

Our CI randomly fails during the dotnet restore phase, with errors like the following:

/usr/share/dotnet/sdk/8.0.401/NuGet.targets(174,5): error : The feed 'nuget.org [https://api.nuget.org/v3/index.json]' lists package 'Grpc.Tools.2.65.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.

Other random examples:

/usr/share/dotnet/sdk/8.0.401/NuGet.targets(174,5): error : The feed 'nuget.org [https://api.nuget.org/v3/index.json]' lists package 'Grpc.AspNetCore.Server.Reflection.2.65.0' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.

/usr/share/dotnet/sdk/8.0.401/NuGet.targets(174,5): error : The feed 'nuget.org [https://api.nuget.org/v3/index.json]' lists package 'Dapper.2.1.35' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.

Each time, the package that's not found is a different one, so it seems totally random.

Of course, all these packages exists:

Verbose Logs

No response

@nicholasreinlein-broadsign

It seems completely random, and occurs with theses packages as well:

  • Microsoft.NET.Test.Sdk
  • Serilog.Formatting.Compact.1.1.0

Reruns are successful

@nkolev92
Copy link
Member

Looks very much like: #13545.

This has been in the .NET 9 previews, maybe you can update to the latest .NET 9 previews to confirm whether you're still seeing issues?

@nkolev92 nkolev92 added Functionality:Restore Triage:NeedsMoreInfo WaitingForCustomer Applied when a NuGet triage person needs more info from the OP and removed Triage:Untriaged labels Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:Restore Triage:NeedsMoreInfo Type:Bug WaitingForCustomer Applied when a NuGet triage person needs more info from the OP
Projects
None yet
Development

No branches or pull requests

3 participants