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!

    Stream was too long when editing Universal Package description.

    Scheduled Pinned Locked Moved Support
    error 500progetupack
    4 Posts 2 Posters 14 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.
    • D Offline
      daniel.pardo_5658
      last edited by

      Hello Everyone, first of all thank you for your help.

      I am running a self hosted instance of ProGet on a Docker container over a Ubuntu machine. It works really well since it's a relatively small instance but I ran into a problem.

      I mainly use Universal Package feeds to manage my artifacts but when editing the description of some of them I get the following error:

      An error occurred in the web application: Stream was too long.
      
      URL: http://10.1.0.186/universal-packages/edit-package?feedId=20&pUrl=pkg%3Aupack%2FFeederlink_FW%402.4.0
      Referrer: http://10.1.0.186/universal-packages/edit-package?feedId=20&pUrl=pkg%3Aupack%2FFeederlink_FW%402.4.0
      User: (unknown)
      User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
      Stack trace:    at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
         at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize)
         at Inedo.ProGet.WebApplication.Pages.Universal.Packages.EditUniversalPackagePage.<>c__DisplayClass12_0.<<CreateChildControlsAsync>b__1>d.MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E550814\Src\ProGet.WebApplication\Pages\Universal\Packages\EditUniversalPackagePage.cs:line 189
      --- End of stack trace from previous location ---
         at Inedo.Web.PageFree.SimplePageBase.ExecutePageLifeCycleAsync()
         at Inedo.Web.PageFree.SimplePageBase.ProcessRequestAsync(AhHttpContext context)
         at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
      
      ::Web Error on 04/30/2025 09:36:10::
      

      They are pretty hefty files, this particular package is 2,520 MB. I can edit the description of smaller files without a problem, so I think it has something to do with the size of the file.

      Is there any way I can fix this? Maybe the Host machine isn't powerfull enough? (It has a 4 thread CPU with 8 GB of RAM). Or is it a problem in a config parameter in the aplication itself?

      Thanks in advance guys. Have a nice day :)

      Daniel.

      dean-houstonD 1 Reply Last reply Reply Quote 0
      • dean-houstonD Offline
        dean-houston inedo-engineer @daniel.pardo_5658
        last edited by

        Hi @daniel-pardo_5658 ,

        The UI-based package editor is intended for small packages, up to 50 MB or so. It looks like there is a platform-enforced limit of 2GB. For now, you will need to download, edit, re-upload.

        That said, I switched the stream that we're using to something that can accommodate larger packages, but I did not test it so I really don't know if it will actually work on these packages. It'll be in the upcoming maintenance release via PG-2964

        -- Dean

        D 2 Replies Last reply Reply Quote 0
        • D Offline
          daniel.pardo_5658 @dean-houston
          last edited by

          @dean-houston I see... Ok, thank you very much for your support.

          Daniel.

          1 Reply Last reply Reply Quote 0
          • D Offline
            daniel.pardo_5658 @dean-houston
            last edited by

            @dean-houston I just upgraded to the latest version and it worked perfectly now. I can update packages of more than 2 GBs without any problems.

            Thanks you so much!

            Daniel.

            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