Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    proget message:Value was either too large or too small for an Int32.

    Scheduled Pinned Locked Moved Support
    4 Posts 4 Posters 32 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 3 Offline
      363878973_0033
      last edited by 363878973_0033

      ProGet Version 6.0.14 (Build 3) (Docker/ Linux)

      [Critical] proget message:Value was either too large or too small for an Int32.

      I can't find a way to fix it, diagnostics center log :
      System.OverflowException: Value was either too large or too small for an Int32.
      at System.Convert.ThrowInt32OverflowException()
      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) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E219620\Src\ProGetCoreEx\Feeds\NuGet\V3\NuGetPackageV3.cs:line 91
      at Inedo.ProGet.Feeds.NuGet.V3.NuGetPackageV3SearchResult..ctor(JObject obj, NuGetConnector connector, String contentUrl) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E219620\Src\ProGetCoreEx\Feeds\NuGet\V3\NuGetPackageV3SearchResult.cs:line 16
      at Inedo.ProGet.Feeds.NuGet.V3.NuGetV3Client.b__8_0(JObject o) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E219620\Src\ProGetCoreEx\Feeds\NuGet\V3\NuGetV3Client.cs:line 98
      at System.Linq.Enumerable.SelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
      at System.Linq.Enumerable.UnionIterator1.GetNext() at System.Linq.Enumerable.UnionIterator1.MoveNext()
      at Inedo.ProGet.Feeds.NuGet.NuGetFeed.RemoveDuplicatesAndApplyFilters(IEnumerable1 source) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E219620\Src\ProGetCoreEx\Feeds\NuGet\NuGetFeed.cs:line 1099 at Inedo.ProGet.Feeds.NuGet.NuGetFeed.SearchV3Async(String searchTerm, Int32 skip, Nullable1 maxResults, Boolean includePrerelease) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E219620\Src\ProGetCoreEx\Feeds\NuGet\NuGetFeed.cs:line 173
      at Inedo.ProGet.Feeds.NuGet.NuGetFeed.Inedo.ProGet.Feeds.IBrowsablePackageFeed.SearchPackagesAsync(String query, Int32 maxCount, Boolean includePrerelease) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E219620\Src\ProGetCoreEx\Feeds\NuGet\NuGetFeed.cs:line 1122
      at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.InitializeAsyncInternal() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E219620\Src\ProGet.WebApplication\Pages\Packages\ListPackagesPage.PackageList.cs:line 301
      at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.InitializeAsync() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp_E219620\Src\ProGet.WebApplication\Pages\Packages\ListPackagesPage.PackageList.cs:line 38

      ===Additional Contact Info===

      1 Reply Last reply Reply Quote 0
      • F Offline
        fabrizio.mancin_3822
        last edited by

        Same error with Version 6.0.16 (Build 4) (Windows)

        Can anyone help us?

        Thank you!

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdohle_3924
          last edited by

          Same here for Version 2022.3 (Build 7) on windows.

          1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer
            last edited by atripp

            Hi all,

            This is a known issue, and it's addressed in ProGet 2022.6 and
            ProGet 6.0.19.

            It seems to come from these three packages:

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

            As a work-around, you can block those packages with a connector filter, or upload them to your feed so that the counts won't come through the connector.

            Cheers,
            Alana

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation