Open link in a new tab

Content

Expand project menu

Receving Error while attaching a file more then 2 MB.

I am getting the error (The proxy server received an invalid response from an upstream server.) when i try to attache 3 MB file in my wiki.

what will be the problem.

Added error snapshot.

Message actions

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

Message actions

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.

Message actions

is there any solutions for this, i am still struggling.

Message actions

Still i am facing this issue, is there anyone who can help me then i will be very thankful.

Message actions

Ketan,

This was resolved when we used the Bitnami 4.04 Installation.

Message actions

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

Message actions

ProxyPass / http://127.0.0.1:6000/ retry=0 connectiontimeout=300 timeout=300 in the site conf file did not help.

Message actions

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

Message actions

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

Message actions

Problem solved.

nano /etc/openproject/conf.d/other
export WEB_TIMEOUT=1500
service openproject stop
service openproject start

Hopefully this helps others.

Message actions

Thanks for Reply.

but now i am moved to bitnami & it working like a cham :)