Nuget package restore is failing
My build has been failing for the past hour and nuget isn't down... https://ci.appveyor.com/project/Exceptionless/exceptionless
The packages exist but can't be restored.
https://www.nuget.org/packages/Foundatio.AzureStorage/
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 09 Apr, 2015 08:35 PM
Can you re-run with normal or detailed verbosity for nuget restore?
- Feodor
2 Posted by bniemyjski on 10 Apr, 2015 12:39 AM
It seems to be working now.. I'll do that the next time I run into this issue. Thanks for your time.
Support Staff 3 Posted by Feodor Fitsner on 10 Apr, 2015 01:08 AM
Yeah, that's strange. We have automatic "test" builds running every 15 minutes and nuget packages are being restored as part of those builds. As a result, we could immediately notice when those builds are failing due to nuget.org. It was nuget.org outage yesterday, but have noticed nothing today.
4 Posted by bniemyjski on 10 Apr, 2015 08:46 PM
I just ran into this error again: https://ci.appveyor.com/project/Exceptionless/exceptionless and enabled detailed logging. It looks like the client is blowing up.. The packages were just pushed a half hour ago and exist.
5 Posted by Eric J. Smith on 10 Apr, 2015 08:49 PM
I am running into the same issue in multiple accounts. Frustrating.
6 Posted by bniemyjski on 10 Apr, 2015 08:49 PM
Restoring NuGet packages for solution C:\projects\exceptionless\Exceptionless.sln.
WARNING: Unable to connect to the remote server
WARNING: Unable to connect to the remote server
WARNING: Unable to connect to the remote server
System.InvalidOperationException: Unable to find version '3.2.3' of package 'Microsoft.AspNet.Razor'.
at NuGet.PackageHelper.ResolvePackage(IPackageRepository repository, String packageId, SemanticVersion version)
at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem, String packageId, SemanticVersion version, Boolean packageRestoreConsent, ConcurrentQueue`1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Wonder if it's an issue with the nuget version on this computer or if one of your servers is getting rate limited.
7 Posted by bniemyjski on 10 Apr, 2015 09:16 PM
This is the commit with the detailed logging: https://ci.appveyor.com/project/Exceptionless/exceptionless/build/2.0.1399
Support Staff 8 Posted by Feodor Fitsner on 10 Apr, 2015 09:18 PM
You may try updating the client with this command:
What do you mean by rate limit?
Support Staff 9 Posted by Feodor Fitsner on 10 Apr, 2015 09:23 PM
I'm not sure how this error is related to AppVeyor environment or even nuget client: https://ci.appveyor.com/project/Exceptionless/exceptionless/build/2... It's definitely not a connectivity issue. My guess that it hits a node where database changes are not propagated yet.
10 Posted by bniemyjski on 10 Apr, 2015 09:27 PM
I'm not sure but I'm not seeing this issue locally, only on appveyor.. Have you guys considered caching the packages locally / retrying package restore?
I wasn't sure that if nuget package installs are rate limited by an ip. If this was the case you might see client restores fail as your servers prob do a really really high number of nuget package restore...
Support Staff 11 Posted by Feodor Fitsner on 10 Apr, 2015 09:32 PM
Last time we discussed connectivity issues with NuGet team I was told that there is no any rate-limiting mechanism.
I've just run this on my dev machine:
Support Staff 12 Posted by Feodor Fitsner on 10 Apr, 2015 09:36 PM
NuGet cache is here:
%LocalAppData%/NuGet/Cache13 Posted by bniemyjski on 10 Apr, 2015 09:53 PM
So you think this is just an issue with nuget? I updated that package from nuget, so it's working on my machine at least.
Support Staff 14 Posted by Feodor Fitsner on 10 Apr, 2015 09:58 PM
I'm 100% sure that this particular issue is the nuget issue as I'm still unable to grab latest
Foundatiopackage locally on my dev machine:15 Posted by bniemyjski on 10 Apr, 2015 09:59 PM
I guarantee others are running into this issue on your service and it makes your service look bad even though it's not your problem :(.
16 Posted by bniemyjski on 10 Apr, 2015 09:59 PM
Is there any place we can reach out to nuget and be like wth guys?
Thanks
-Blake Niemyjski
Support Staff 17 Posted by Feodor Fitsner on 10 Apr, 2015 10:01 PM
Also tried from a clean VM in San-Jose data center - the same result - package not found.
Support Staff 18 Posted by Feodor Fitsner on 10 Apr, 2015 10:04 PM
Try asking on their Twitter and I'm emailing NuGet team contacts to you.
Support Staff 19 Posted by Feodor Fitsner on 10 Apr, 2015 10:23 PM
Try this command on your local machine:
Support Staff 20 Posted by Feodor Fitsner on 10 Apr, 2015 11:42 PM
Seems I'm able to install the latest 1.0.189 now. What did they do to resolve it?
21 Posted by bniemyjski on 10 Apr, 2015 11:44 PM
I don't know but I'm wondering if this has something todo with the recent changes you guys made to nuget support.
Support Staff 22 Posted by Feodor Fitsner on 10 Apr, 2015 11:54 PM
I don't think so. Package publishing is an atomic operation - you just basically upload
nupkgfile and it could have any name. Just imagine if the package1.0.189has appeared on the feed and you can browse it at http://www.nuget.org/packages/Foundatio/1.0.189 then it means nuget.org received uploadednupkg, unpacked it and read meta-data. Right?23 Posted by bniemyjski on 10 Apr, 2015 11:56 PM
https://github.com/fsharp/FAKE/issues/710
https://github.com/NuGet/NuGetGallery/issues/2400
https://github.com/NuGet/NuGetGallery/issues/2398
https://github.com/NuGet/Home/issues/389
https://github.com/NuGet/Home/issues/268
Those issues were linked to me on twitter.
Thanks
-Blake Niemyjski
Support Staff 24 Posted by Feodor Fitsner on 11 Apr, 2015 12:13 AM
Thanks, useful links that explain a lot.
25 Posted by bniemyjski on 13 Apr, 2015 09:58 PM
I don't know but cced them. I'm calling nuget like this:
https://github.com/exceptionless/Exceptionless/blob/master/appveyor.yml#L28
Thanks
-Blake Niemyjski
26 Posted by Yishai Galatzer on 13 Apr, 2015 10:02 PM
Blake,
If it works locally both from your box and from our machines, and doesn’t work from appveyor this reads like there is some issue on the appveyor side.
I’d suggest adding more logging (perhaps making restore more verbose), try to hit the nuget.org end points from your script and see if they are blocked by some firewall or proxy etc.
Yishai
From: Blake Niemyjski [mailto:[email blocked]]
Sent: Monday, April 13, 2015 2:57 PM
To: Ranjini Mathrubootham
Cc: Yishai Galatzer; Feodor Fitsner
Subject: Re: Nuget install issues - Possible deployment issue?
I don't know but cced them. I'm calling nuget like this:https://github.com/exceptionless/Exceptionless/blob/master/appveyor.yml#L28
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 4:55 PM, Ranjini Mathrubootham <[email blocked]<mailto:[email blocked]>> wrote:
What are the defaults used by appveyor? Did AppVeyor change anything recently? Can you share the defaults used by AppVeyor?
From: Blake Niemyjski [mailto:[email blocked]<mailto:[email blocked]>]
Sent: Monday, April 13, 2015 2:52 PM
To: Yishai Galatzer
Cc: Ranjini Mathrubootham
Subject: Re: Nuget install issues - Possible deployment issue?
It passes locally while trying to install a package locally. I just talked with three different people and its failing for them as well on app veyor using defaults... It would be awesome if you guys created a free appveyor account and trying doing a package restore...
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 4:43 PM, Yishai Galatzer <[email blocked]<mailto:[email blocked]>> wrote:
Blake,
I understand you have a problem. But you need to help us help you.
Please start your own local build, tell us if it is working or not. Share your configuration for feeds and whatever other information you got.
We can’t do anything without it
Yishai
From: Blake Niemyjski [mailto:[email blocked]<mailto:[email blocked]>]
Sent: Monday, April 13, 2015 2:39 PM
To: Ranjini Mathrubootham
Cc: Yishai Galatzer
Subject: Re: Nuget install issues - Possible deployment issue?
I'm not sure what's going on locally, I'll get those steps documented but it's failing again on appveyor... ALL Packages: Please help...
https://ci.appveyor.com/project/Exceptionless/exceptionless/build/2.0.1415
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 2:08 PM, Ranjini Mathrubootham <[email blocked]<mailto:[email blocked]>> wrote:
Swashbuckle.core installs fine for us. I believe there may be a bug here with package restore will multiple feeds. Can you please enter a bug in out NuGet home repo explaining the issue with the feeds you have and your nuget.config settings to show which feeds are active? Please also give more details about the appveyor builds and we will look into it.
From: Blake Niemyjski [mailto:[email blocked]<mailto:[email blocked]>]
Sent: Monday, April 13, 2015 11:37 AM
To: Yishai Galatzer
Cc: Ranjini Mathrubootham
Subject: Re: Nuget install issues - Possible deployment issue?
I went into my nuget package manager settings inside of vs and removed the one feed that was already unchecked for our myget feed and it worked. It appears there is a bug trying to resolve packages (that feed I had wasn't even related to this package). And it still doesn't explain what was happening on our appveyor builds
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 1:32 PM, Blake Niemyjski <[email blocked]<mailto:[email blocked]>> wrote:
That package has been out for weeks...
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 1:32 PM, Blake Niemyjski <[email blocked]<mailto:[email blocked]>> wrote:
Just tried installing https://www.nuget.org/packages/Swashbuckle.Core/5.0.4 from the command line:
Package Manager Console Host Version 2.8.60318.734
Type 'get-help NuGet' to see all available NuGet commands.
PM> Install-Package Swashbuckle.Core -Version 5.0.4
Install-Package : Unable to find version '5.0.4' of package 'Swashbuckle.Core'.
At line:1 char:1
+ Install-Package Swashbuckle.Core -Version 5.0.4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
PM> Install-Package Swashbuckle.Core -Version 5.0.4
Install-Package : Unable to find version '5.0.4' of package 'Swashbuckle.Core'.
At line:1 char:1
+ Install-Package Swashbuckle.Core -Version 5.0.4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
PM>
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 11:33 AM, Yishai Galatzer <[email blocked]<mailto:[email blocked]>> wrote:
Makes sense. We are going to get that gap fixed. Unfortunately it's not a one day type fix. Appreciate you using NuGet and taking time to letting us know how we are doing.
Keep it up!
Yishai
________________________________
From: Blake Niemyjski<mailto:[email blocked]>
Sent: 4/13/2015 9:16 AM
To: Yishai Galatzer<mailto:[email blocked]>
Cc: Ranjini Mathrubootham<mailto:[email blocked]>
Subject: Re: Nuget install issues - Possible deployment issue?
That was it.. The only odd thing is, we pushed that package to nuget
(Foundatio packages). And then I updated my packages locally right
away in the Exceptionless project and it all worked. I then pushed
those changes and then the build server failed. I have a couple of
friends and it seemed like we were all having issues most of last week
regarding package restore.
Support Staff 27 Posted by Feodor Fitsner on 13 Apr, 2015 10:05 PM
The following fails locally on my dev machine, right now:
That package was there since Feb 05: http://www.nuget.org/packages/OctopusTools/
28 Posted by bniemyjski on 13 Apr, 2015 10:08 PM
can you please reply to the group email using a real email client
Thanks
-Blake Niemyjski
Support Staff 29 Posted by Feodor Fitsner on 13 Apr, 2015 10:11 PM
This one is even better to try:
30 Posted by Yishai Galatzer on 13 Apr, 2015 10:15 PM
I’m seeing the other emails without a reply to all.
Like I said installing latest versions for things that rev frequently is not working properly (and never really did).
I explained that you want to reference a specific version that’s available for a while.
Yishai
From: Blake Niemyjski [mailto:[email blocked]]
Sent: Monday, April 13, 2015 2:57 PM
To: Ranjini Mathrubootham
Cc: Yishai Galatzer; Feodor Fitsner
Subject: Re: Nuget install issues - Possible deployment issue?
I don't know but cced them. I'm calling nuget like this:https://github.com/exceptionless/Exceptionless/blob/master/appveyor.yml#L28
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 4:55 PM, Ranjini Mathrubootham <[email blocked]<mailto:[email blocked]>> wrote:
What are the defaults used by appveyor? Did AppVeyor change anything recently? Can you share the defaults used by AppVeyor?
From: Blake Niemyjski [mailto:[email blocked]<mailto:[email blocked]>]
Sent: Monday, April 13, 2015 2:52 PM
To: Yishai Galatzer
Cc: Ranjini Mathrubootham
Subject: Re: Nuget install issues - Possible deployment issue?
It passes locally while trying to install a package locally. I just talked with three different people and its failing for them as well on app veyor using defaults... It would be awesome if you guys created a free appveyor account and trying doing a package restore...
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 4:43 PM, Yishai Galatzer <[email blocked]<mailto:[email blocked]>> wrote:
Blake,
I understand you have a problem. But you need to help us help you.
Please start your own local build, tell us if it is working or not. Share your configuration for feeds and whatever other information you got.
We can’t do anything without it
Yishai
From: Blake Niemyjski [mailto:[email blocked]<mailto:[email blocked]>]
Sent: Monday, April 13, 2015 2:39 PM
To: Ranjini Mathrubootham
Cc: Yishai Galatzer
Subject: Re: Nuget install issues - Possible deployment issue?
I'm not sure what's going on locally, I'll get those steps documented but it's failing again on appveyor... ALL Packages: Please help...
https://ci.appveyor.com/project/Exceptionless/exceptionless/build/2.0.1415
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 2:08 PM, Ranjini Mathrubootham <[email blocked]<mailto:[email blocked]>> wrote:
Swashbuckle.core installs fine for us. I believe there may be a bug here with package restore will multiple feeds. Can you please enter a bug in out NuGet home repo explaining the issue with the feeds you have and your nuget.config settings to show which feeds are active? Please also give more details about the appveyor builds and we will look into it.
From: Blake Niemyjski [mailto:[email blocked]<mailto:[email blocked]>]
Sent: Monday, April 13, 2015 11:37 AM
To: Yishai Galatzer
Cc: Ranjini Mathrubootham
Subject: Re: Nuget install issues - Possible deployment issue?
I went into my nuget package manager settings inside of vs and removed the one feed that was already unchecked for our myget feed and it worked. It appears there is a bug trying to resolve packages (that feed I had wasn't even related to this package). And it still doesn't explain what was happening on our appveyor builds
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 1:32 PM, Blake Niemyjski <[email blocked]<mailto:[email blocked]>> wrote:
That package has been out for weeks...
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 1:32 PM, Blake Niemyjski <[email blocked]<mailto:[email blocked]>> wrote:
Just tried installing https://www.nuget.org/packages/Swashbuckle.Core/5.0.4 from the command line:
Package Manager Console Host Version 2.8.60318.734
Type 'get-help NuGet' to see all available NuGet commands.
PM> Install-Package Swashbuckle.Core -Version 5.0.4
Install-Package : Unable to find version '5.0.4' of package 'Swashbuckle.Core'.
At line:1 char:1
+ Install-Package Swashbuckle.Core -Version 5.0.4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
PM> Install-Package Swashbuckle.Core -Version 5.0.4
Install-Package : Unable to find version '5.0.4' of package 'Swashbuckle.Core'.
At line:1 char:1
+ Install-Package Swashbuckle.Core -Version 5.0.4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
PM>
Thanks
-Blake Niemyjski
On Mon, Apr 13, 2015 at 11:33 AM, Yishai Galatzer <[email blocked]<mailto:[email blocked]>> wrote:
Makes sense. We are going to get that gap fixed. Unfortunately it's not a one day type fix. Appreciate you using NuGet and taking time to letting us know how we are doing.
Keep it up!
Yishai
________________________________
From: Blake Niemyjski<mailto:[email blocked]>
Sent: 4/13/2015 9:16 AM
To: Yishai Galatzer<mailto:[email blocked]>
Cc: Ranjini Mathrubootham<mailto:[email blocked]>
Subject: Re: Nuget install issues - Possible deployment issue?
That was it.. The only odd thing is, we pushed that package to nuget
(Foundatio packages). And then I updated my packages locally right
away in the Exceptionless project and it all worked. I then pushed
those changes and then the build server failed. I have a couple of
friends and it seemed like we were all having issues most of last week
regarding package restore.