This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The request or reply is too large

On the odd occasion we need to use the likes of yousendit.com to send large files to clients that can't grapple with using FTP.

When I attempt to post a file to the site (tried with a 50MB file and a 75MB), I get an error saying:

The following error was encountered:  The request or reply is too large.
This means that:  If you are making a POST or PUT request, then your request body (the thing you are trying to upload) is too large. If you are making a GET request, then the reply body (what you are trying to download) is too large. These limits have been established by the Internet Service Provider who operates this cache. Please contact them directly if you feel this is an error.

The Proxy log shows:

/var/log/http/2007/10/http-2007-10-31.log.gz:2007:10:31-16:23:14 (none) httpproxy[24696]: id="0002" severity="info" sys="SecureWeb" sub="http" name="web request could not be delivered due to an error" action="block" reason="error" server_error="ERR_TOO_BIG 0" action="block" reason="squiderror" srcip="128.24.31.173" user="" url="ftf-204.yousendit.com/.../2376902548" method="POST" size="3290"

By adding the client machine into the proxy exceptions it works fine, but I'd rather not be doing that. How do I overcome this size limit, and what is the size limit? I'm using ASG 7.011.

Thanks,
Matt


This thread was automatically locked due to age.
  • After reading the Squid doco, changing the request_body_max_size in the /var/chroot-squid/etc/squid-conf-default file fixes the problem.

    It was set to only 40MB. Seems rather low as a default. Accord to the Squid doc, it normally defaults to 0 (ie unlimited). It would be nice if this option was in the Webadmin, as I'd rather not be changing config files from the console.

    Anyway, changing this value allows me to upload larger files, but the yousendit.com now gives an internal error when I try and upload. If I add myself to the skip proxy list again it uploads fine. No error in the proxy logs either, the site just doesn't like the proxy for some reason.

    Edit: Nevermind, internal error on their site went away and all is good. 

    Matt