I am having the same problem with files over 3 MB. It doesn’t seem to be related to a timeout. I tried connections of varying speeds. (slow connection 3MB, fast connection 4MB)
"Bad Gateway
The proxy server received an invalid response from an upstream server."
Replies (11)
Hi Ketan,
thanks for your question.
This error should definitely not occur.
Could you check in the admin settings what is the maximum allowed attachment size? (in Modules -> Administration -> Settings -> tab “General”)
Best,
Robin
i already gain Attachment max. size = 25600 kb, & also change in apache2.conf file as below
Timeout 9600
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 300
but still i am getting the error.
is there any solutions for this, i am still struggling.
Still i am facing this issue, is there anyone who can help me then i will be very thankful.
Ketan,
This was resolved when we used the Bitnami 4.04 Installation.
I am having the same problem with files over 3 MB. It doesn’t seem to be related to a timeout. I tried connections of varying speeds. (slow connection 3MB, fast connection 4MB)
"Bad Gateway
The proxy server received an invalid response from an upstream server."
Thanks for any help,
Tad
ProxyPass / http://127.0.0.1:6000/ retry=0 connectiontimeout=300 timeout=300 in the site conf file did not help.
I also tried keep alive timeout 500 seconds in apache2.conf, which did not work.
SSLProxyEngine off did not fix the issue either.
Nor did
SetEnv proxy-sendcl
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
SetEnv proxy-initial-not-pooled
unicorn.rb timeout increase
timeout Integer(ENV[“WEB_TIMEOUT”] || 115)
did not work either.
Anyone know where to find the unicorn config timeout value?
Thanks,
Tad
Problem solved.
nano /etc/openproject/conf.d/other
export WEB_TIMEOUT=1500
service openproject stop
service openproject start
Hopefully this helps others.
Thanks for Reply.
but now i am moved to bitnami & it working like a cham :)