Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Cannot view packages



  • Hi, We are getting the error when trying to view default packages in ProGet Free Edition Version 5.3.36 (Build 4 )
    System.OverflowException: Value was either too large or too small for an Int32.
    at System.Convert.ToInt32(Int64 value)
    at Newtonsoft.Json.Linq.JToken.op_Explicit(JToken value)
    at Inedo.ProGet.Feeds.NuGet.V3.NuGetPackageV3..ctor(JObject obj, NuGetConnector connector, String contentUrl, Byte[] sha512Hash, String registrationUrl)
    at Inedo.ProGet.Feeds.NuGet.V3.NuGetPackageV3SearchResult..ctor(JObject obj, NuGetConnector connector, String contentUrl)
    at Inedo.ProGet.Feeds.NuGet.V3.NuGetV3Client.<SearchAsync>b__8_0(JObject o)
    at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
    at System.Linq.Enumerable.<UnionIterator>d__671.MoveNext() at System.Linq.Enumerable.<UnionIterator>d__671.MoveNext()
    at Inedo.ProGet.Feeds.NuGet.NuGetFeed.RemoveDuplicatesAndApplyFilters(IEnumerable`1 source)
    at Inedo.ProGet.Feeds.NuGet.NuGetFeed.<SearchV3Async>d__56.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.ProGet.Feeds.NuGet.NuGetFeed.<Inedo-ProGet-Feeds-IBrowsablePackageFeed-SearchPackagesAsync>d__95.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.<InitializeAsyncInternal>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.<InitializeAsync>d__2.MoveNext()

    Does anyone know how to resolve this?

    Thanks


  • inedo-engineer

    Hello,

    This is related to a known issue that's been addressed in ProGet 6.0.19 and ProGet 2022.5. So, your best bet is to upgrade and the issue will become resolved :)

    This is related to an few packages that have exceeded 2.2b downloads:

    • Microsoft.NETCore.Platforms
    • Microsoft.Extensions.Primitives
    • Microsoft.Extensions.DependencyInjection.Abstractions

    If upgrade is impossible/difficult right way, then as a work-around, you can disable the connector. Alternatively, you could block those packages with a connector filter then upload them to your feed so that the counts won't come through the connector.

    Cheers,
    Alana


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation