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.

Intermittent NU3004 errors (fixed?)

See original GitHub issue

Time to time I see errors like this one in the Arcade CI build:

error NU3004: Package 'vswhere 2.6.7' from source 'https://api.nuget.org/v3/index.json': This repository indicated that all its packages are repository signed; however, this package is unsigned.

Doesn’t make much sense to me as it happens only sometimes… The package is definitely signed.

Failure example: https://dev.azure.com/dnceng/public/_build/results?buildId=172551

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
MattGalcommented, May 9, 2019

@riarenas yes I’ll get someone on this this morning.

1reaction
dtivelcommented, Apr 29, 2019

@tmat, there are 2 known scenarios where you might get this error erroneously:

  1. You’re running a NuGet 5.0 client on the same machine as a NuGet 4.7-4.9 client. A bug in HTTP caching would enable a 4.7-4.9 client to incorrectly use a cached 5.0 resource. A fix should be available in NuGet 5.0.2 and 5.1. I worked with @MattGal on this, and I wonder if this is another report of the same issue. One workaround is to clear just the HTTP cache before calling NuGet (e.g.: `nuget.exe locals http-cache -clear).
  2. You’re using NuGet.exe on Mono to restore signed packages. This was a bug; signed package verification should have been disabled when NuGet.exe runs on Mono. A fix should be available in NuGet 5.0.2 and 5.2.
Read more comments on GitHub >

github_iconTop Results From Across the Web

NuGet Error NU3004
This error may happen due to a bug when using multiple NuGet clients (see NuGet/Home#7997). Please upgrade to nuget.exe 5.1.0 or newer, ...
Read more >
HTTP cache: RepositoryResources resource is not ...
Although RepositorySignatures resources are versioned, the cached content is not versioned in NuGet's HTTP cache. This means if a 5.0 client ...
Read more >
Dotnet restore error "error NU3004: The package is not ...
1 Answer 1 ... I had the same issue. For me It's fixed by adding Nuget.exe and nuget.config(https://learn.microsoft.com/en-us/nuget/reference/ ...
Read more >
Error "NU3034 This package is signed but not by a trusted ...
Running nuget trusted-signers list showed I had one trusted signer by the name of "NuGet Test Developer".
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