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!

System.Web.HttpException (0x80004005): Maximum request length exceeded.



  • Hi,

    I'm trying to push very large docker image to self hosted proget (15g+). I'm getting: System.Web.HttpException (0x80004005): Maximum request length exceeded. What can I do about it?

    Best regards,
    MK


  • inedo-engineer

    Hi @marcin-kawalerowicz_5163 ,

    Do you have a proxy set up in front of ProGet? If so, please check the request lengths in your proxy.

    Also, what version of ProGet and what version of Docker are you using?

    Thanks,
    Rich



  • If you are using IIS for hosting your application, then the default upload file size is 4MB. To increase it, please use this below section in your asp.net web.config -

    <configuration>
    <system.web>
    <httpRuntime maxRequestLength="1048576" />
    </system.web>
    </configuration>
    For IIS7 and above, you also need to add the lines below:

    <system.webServer>
    <security>
    <requestFiltering>
    <requestLimits maxAllowedContentLength="1073741824" />
    </requestFiltering>
    </security>
    </system.webServer>
    Note:

    maxRequestLength is measured in kilobytes
    maxAllowedContentLength is measured in bytes


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation