Boyle Owen wrote: >> -----Original Message----- >> From: Scott Chapman [mailto:schapman@xxxxxxxxxxx] >> Sent: Wednesday, November 25, 2009 12:28 AM >> To: users@xxxxxxxxxxxxxxxx >> Subject: 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:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx