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