https://issues.apache.org/bugzilla/show_bug.cgi?id=56541
Bug ID: 56541
Summary: Proxy 502's on large file post requests
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy
Assignee: [email protected]
Reporter: [email protected]
I'm sending post requests via the Python requests library with file attachments
to our server which is using Apache mod_proxy. Originally, all posts with files
over maybe 300-400kb would return a 502. I found this post:
http://stackoverflow.com/questions/18854041/proxy-error-502-when-uploading-larger-files-with-ie8
and commenting out the suggested line helped, but only by seeming to raise the
file size that makes it through, as now I'm seeing this with 5mb files as well.
I'm making these requests from fairly slow internet (in Zambia), so I wonder if
that is contributing to the timeout?
Apache config at this point:
SSLEngine On
SSLCertificateFile /etc/pki/tls/certs/commcarehq.org.crt
SSLCertificateKeyFile /etc/pki/tls/private/commcarehq.org.key
SSLCACertificateFile /etc/pki/tls/certs/hq_thawtecabundle.crt
SSLProxyEngine On
SetEnv proxy-sendcl 1
RequestHeader set X-FORWARDED-PROTOCOL ssl
RequestHeader set X-FORWARDED-SSL on
RequestHeader set X-FORWADED-PROTO https
The post request is pretty straightforward, in case there is any potential
concern from that side https://gist.github.com/twymer/69959c468f091a5471b9
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]