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 package upload size limit

    Scheduled Pinned Locked Moved Support
    uploadpackageproget
    8 Posts 2 Posters 62 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.
    • M Offline
      morten.thorsen_4871
      last edited by

      Is there any way to get around the rather limiting 2GB package size for uploads of universal packages in the self-hosted version of Proget?

      I seems kinda stupid to be subject to such a limit in 2019 where we can easily up and download (stream) much more data via HTTP(S).

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

        Hello;

        You can edit the web.config file with the following changes to allow for bigger uploads;

        <httpRuntime requestValidationMode="2.0" requestPathInvalidCharacters="" maxRequestLength="2147483647" executionTimeout="86400" targetFramework="4.5" />
        
        <requestLimits maxAllowedContentLength="4294967295" maxQueryString="1048576" maxUrl="1048576" />
        
        1 Reply Last reply Reply Quote 0
        • M Offline
          morten.thorsen_4871
          last edited by morten.thorsen_4871

          @atripp said in Proget package upload size limit:

          4294967295

          That looks very much like the max value of a an uint. Can we go beyond that?

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

            I'm afraid not; these are the maximum values the platform (.NET for one, IIS for the other) supports. We may add chunking support for universal packages in the future (like we do for asset directories), but until then your best work-around is to use the drop-path import.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              morten.thorsen_4871 @atripp
              last edited by

              @atripp I'm not sure why you are limited by this, when not using IIS.

              I made a small ASP web API test, that can receive any size package (probably 2^64 bytes) streaming without using any memory.
              This is as self-hosted, I guess using Katana.

              Any reason you can't do this?

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

                I'm not really sure either, but the exception (request length exceeded, etc) always been coming from the platform, regardless of how it's hosted (IIS error or .NET error). If we remove the config values then it defaults to a really low value like 2MB or something. Maybe it's .NET452 that we're using? I don't know.

                There may be a way around it, but we haven't invested engineering resources in exploring it because there's virtually no demand for this. Nearly all customers prefer IIS for installations, and those who are OK with our web server don't have large packages.

                It might be trivial and low risk, and you're more than welcome to explore (whether editing configs or looking through source code) -- and if so we'll gladly incorporate the change.

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  morten.thorsen_4871 @atripp
                  last edited by

                  @atripp I have requested source code access, but haven't heard anything yet. Can you accelerate?

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

                    You should have access now! Let me know if not :)

                    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