httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Chapman <>
Subject Re: [users@httpd] proxy 502 problem uploading a large file
Date Wed, 25 Nov 2009 14:28:09 GMT
Boyle Owen wrote:
>> -----Original Message-----
>> From: Scott Chapman [] 
>> Sent: Wednesday, November 25, 2009 12:28 AM
>> To:
>> Subject: [users@httpd] proxy 502 problem uploading a large file
>> I have Apache 2.2.11 and a web server behind it (CherryPy).
>> When I upload a large file to the CherryPy server, I see the file in
>> /tmp/modrproxy.tmp.FOO
>> It uploads completely.
>> Then Apache returns a 502 error without ever hitting the backend (the
>> first line of code in the handler is to spit out a log line saying it
>> was reached).
> 502 is Bad Gateway, which means that apache and back-end had a protocol
> problem. Probably the back-end didn't handle the upload correctly. What
> do the back-end logs say?
> You mention a "large" file without saying what that means 1 Mb? 1 Gb? 1
> Tb? what happens with a "small" file (10 b, 1 kb, 10 kb...)?
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored. 
Large is 70mb. Small is 20mb. Small files work great.  It's some kind of
timeout I think. The backend never got hit by Apache at all.
The backend handles the uploads fine when I hit it directly, out from
behind Apache.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message