Nuget restore issues

byron's Avatar

byron

06 Aug, 2015 04:39 PM

We're using the cache, but some new packages are failing. I just checked nuget.org's status and everything is green (http://status.nuget.org/). Any ideas?

  1. 1 Posted by byron on 06 Aug, 2015 04:44 PM

    byron's Avatar

    If it helps the conversation, the nuget restore seems to fail consistently on AWSSDK.

    Unable to find version '2.3.50.1' of package 'AWSSDK'.

  2. Support Staff 2 Posted by Feodor Fitsner on 06 Aug, 2015 05:03 PM

    Feodor Fitsner's Avatar

    Looks like it's being restored without any issues: https://ci.appveyor.com/project/FeodorFitsner/simple-web/build/1.0....

  3. 3 Posted by byron on 06 Aug, 2015 05:13 PM

    byron's Avatar

    Yes, for yours it is. But for some reason it was not with ours. :) I downgraded to 2.3.50 and it worked. Still not sure why it couldn't find 2.3.50.1 for my build.

  4. Support Staff 4 Posted by Feodor Fitsner on 06 Aug, 2015 05:15 PM

    Feodor Fitsner's Avatar

    Try enabling verbose logging for nuget restore to see why it's happening.

  5. Support Staff 5 Posted by Feodor Fitsner on 06 Aug, 2015 07:25 PM

    Feodor Fitsner's Avatar

    I've just caught 

    "Unable to find version '2.3.50.1' of package 'AWSSDK'" on that test build, but it's been running on OSS environment which is in a different data center, not the same as Pro one.

    That could mean there is a problem with index on nuget.org side, again.

    - Feodor

  6. Support Staff 6 Posted by Feodor Fitsner on 06 Aug, 2015 07:34 PM

    Feodor Fitsner's Avatar

    I see 2.30.50.1 has been just published today. Most probably it's not yet indexed across entire cluster. Nuget team is usually getting mad with such reports by saying "do not pull latest versions all the time" :)

    - Feodor

  7. 7 Posted by byron on 06 Aug, 2015 07:52 PM

    byron's Avatar

    It happened again with another package (not so recent):

    Successfully installed 'AWSSDK 2.3.42.0'.
    Installing 'Common.Logging 3.2.0'.
    Installing 'Topshelf.Log4Net 3.2.0'.
    Installing 'Rewardle.Bootstrapping 1.0.2.15'.
    Successfully installed 'Microsoft.Owin.Security.Jwt 3.0.1'.
    Successfully installed 'Rewardle.Bootstrapping 1.0.2.15'.
    Successfully installed 'Common.Logging 3.2.0'.
    Successfully installed 'Topshelf.Log4Net 3.2.0'.
    Successfully installed 'AcklenAvenue.Queueing.Serializers.JsonNet 1.0.1.23'.
    Installing 'Rewardle.Identity.Helpers 1.0.404.0'.
    Successfully installed 'Rewardle.Identity.Helpers 1.0.404.0'.
    Successfully installed 'AcklenAvenue.Testing 1.1.0.5'.
    Unable to find version '1.3.0.0' of package 'Autofac.Extras.Quartz'.
    [19:47:38] 'restore-nuget-packages' errored after 43 s```
    
  8. Support Staff 8 Posted by Feodor Fitsner on 06 Aug, 2015 07:55 PM

    Feodor Fitsner's Avatar

    Enable verbose logging on nuget restore to see requests.

    - Feodor

  9. Support Staff 9 Posted by Feodor Fitsner on 06 Aug, 2015 08:01 PM

    Feodor Fitsner's Avatar
  10. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:58 AM.

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