Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Receving Error while attaching a file more then 2 MB.

Receving Error while attaching a file more then 2 MB.

Added by ketan panchal over 10 years ago

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.


Replies (11)

RE: Receving Error while attaching a file more then 2 MB. - Added by Robin Wagner over 10 years ago

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

RE: Receving Error while attaching a file more then 2 MB. - Added by ketan panchal over 10 years ago

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.

RE: Receving Error while attaching a file more then 2 MB. - Added by ketan panchal over 10 years ago

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

RE: Receving Error while attaching a file more then 2 MB. - Added by ketan panchal over 10 years ago

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

RE: Receving Error while attaching a file more then 2 MB. - Added by Ali Imran Najmi over 10 years ago

Ketan,

This was resolved when we used the Bitnami 4.04 Installation.

RE: Receving Error while attaching a file more then 2 MB. - Added by Tad Delude over 10 years ago

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

RE: Receving Error while attaching a file more then 2 MB. - Added by Tad Delude over 10 years ago

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

RE: Receving Error while attaching a file more then 2 MB. - Added by Tad Delude over 10 years ago

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

RE: Receving Error while attaching a file more then 2 MB. - Added by Tad Delude over 10 years ago

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

RE: Receving Error while attaching a file more then 2 MB. - Added by Tad Delude over 10 years ago

Problem solved.

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

Hopefully this helps others.

RE: Receving Error while attaching a file more then 2 MB. - Added by ketan panchal over 10 years ago

Thanks for Reply.

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

  • (1 - 11/11)
Loading...