NuGet package - attempts to download the nupkg have failed
Hi,
We run TeamCity on a couple of Amazon servers and are experiencing intermittent problems with NuGet packages. Pinned packages work fine for a while and then downloads suddenly start failing, even though nothing changes on the server or code.
[10:33:06] The feed 'xxx Packages [http://1.2.3.4/httpAuth/app/nuget/feed/_Root/default/v2]' lists package 'CoolStuff.1.0.1807.41586' 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.
[10:33:06] Unable to find package 'CoolStuff.1.0.1807.41586'.
[10:33:06]
[10:33:06]Process exited with code 1
We checked the artifacts and the NuGet package is on the server.
I updated to a more recent package and the build passed. That is *not* an acceptable long term solution for several reasons.
Has anyone seen something similar? Any suggestions for fixing it?
Thanks in advance!
Mike
Please sign in to leave a comment.
Hi Mike,
TeamCity server holds a teamcity-nuget.log file. Maybe it has some hints as to what the problems might be. There might be useful information in other logs as well, but this error is strange, as we don't really have any other reference to such an issue. It might be an issue with the specifics of the infrastructure?
Hi Denis,
We have not gone through all possible logs yet. We didn't see anything incriminating in the nuget log, but we did then look at a few other things and made a change to one of our build steps.
We won't know for a while if it makes any difference.
Thank you for the reply.
Mike