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!

    Large (>4GiB) package uploads fail with 413 Request Entity Too Large

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 16 Views 1 Watching
    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.
    • R Offline
      rob.leadbeater_2457
      last edited by

      Hi,

      I'm trying to upload a large (bigger than 4GiB) Universal Package to a feed using curl, which is failing with the following error.

      > PUT /upack/test-feed HTTP/1.1
      > Host: proget.internal:8624
      > Authorization: Basic xxxxx
      > User-Agent: curl/7.74.0
      > Accept: */*
      > Content-Length: 4404364110
      > Expect: 100-continue
      >
      * Mark bundle as not supporting multiuse
      < HTTP/1.1 413 Request Entity Too Large
      < Content-Type: text/html
      < Server: Microsoft-IIS/10.0
      < X-Powered-By: ASP.NET
      < Date: Tue, 22 Nov 2022 10:48:04 GMT
      < Connection: close
      < Content-Length: 67
      <
      * Closing connection 0
      The page was not displayed because the request entity is too large.
      

      From previous forum posts, this looks like it could be down to an IIS configuration setting, but nothing I've changed seems to have had any effect. I'm assuming a value of 0 should remove the limit.

      system.web/httpRuntime/maxRequestLength = 0
      system.webServer/serverRuntime/maxRequestEntityAllowed = 0
      
      • ProGet version 2022.14
      • IIS v10

      I can see that the asset directory API has a multipart upload feature. Is there an equivalent for uploading to feeds?

      Cheers,
      Rob

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

        Hi @rob-leadbeater_2457 ,

        This is a "hard-coded" limit that's built into IIS I'm afraid; if you use the built-in Web Server or Docker, this is not an issue. Another option is to use a drop-path for the packages.

        Otherwise, we have not implemented multi-part / chunked upload for Universal Packages yet; it's on our list, but there's not a huge demand for it.

        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