Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. daniel.pardo_5658
    D
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    daniel.pardo_5658

    @daniel.pardo_5658

    0
    Reputation
    6
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Galicia, Spain Age 25

    daniel.pardo_5658 Follow

    Best posts made by daniel.pardo_5658

    This user hasn't posted anything yet.

    Latest posts made by daniel.pardo_5658

    • RE: Stream was too long when editing Universal Package description.

      @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!

      posted in Support
      D
      daniel.pardo_5658
    • RE: Stream was too long when editing Universal Package description.

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

      posted in Support
      D
      daniel.pardo_5658
    • Stream was too long when editing Universal Package description.

      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 :)

      posted in Support
      D
      daniel.pardo_5658
    • RE: (500) Server Error When editing description of a Universal Package

      Thank you so much!

      posted in Support
      D
      daniel.pardo_5658
    • RE: (500) Server Error When editing description of a Universal Package

      It happens when trying to edit any package in any Universal Package feed, but for example this particular case's upack.json is:

      {
        "name": "VHF_FW",
        "version": "2.1.0",
        "description": "",
        "createdDate": "2025-03-12 10:13:49Z",
        "createdUsing": "upack/3.1.4",
        "createdBy": "daniel"
      }
      
      posted in Support
      D
      daniel.pardo_5658
    • (500) Server Error When editing description of a Universal Package

      Hello,

      I am quite new to ProGet so it may be an error on my side, but I would apreciate any help regarding this topic. For context, i am running ProGet 24.0.29 in a docker container in a Ubuntu 24.04 server. No reverse proxy since it is running in my private network.

      So the problem is pretty self explanatory, when I try to edit the description of a universal package from the web UI I get the following error:

      (500) Server Error
      The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
      

      The description box is obviously not empty and every field in the "Edit package" windows is filled. The error log shows the following:

      An error occurred in the web application: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
      
      URL: http://10.1.0.186/universal-packages/edit-package?feedId=38&pUrl=pkg%3Aupack%2FTOTEM_SDK%401.3.1
      Referrer: http://10.1.0.186/universal-packages/edit-package?feedId=38&pUrl=pkg%3Aupack%2FTOTEM_SDK%401.3.1
      User: (unknown)
      User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
      Stack trace:    at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
         at System.Text.Json.Utf8JsonReader.Read()
         at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
         at System.Text.Json.JsonDocument.ParseUnrented(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, JsonTokenType tokenType)
         at System.Text.Json.JsonDocument.ParseValue(ReadOnlyMemory`1 json, JsonDocumentOptions options)
         at System.Text.Json.Nodes.JsonNode.Parse(String json, Nullable`1 nodeOptions, JsonDocumentOptions documentOptions)
         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\_E536092\Src\ProGet.WebApplication\Pages\Universal\Packages\EditUniversalPackagePage.cs:line 163
      --- 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 03/21/2025 10:00:37::
      

      Does anyone have any theories of what may be happening?

      Thanks in advance guys!

      posted in Support
      D
      daniel.pardo_5658