Project

General

Profile

Error occurred when file upload over 20mb(just)

Added by wonsik Hahm over 6 years ago

hi, everyone. :-)

I try to file upload over 20mb. but, occurred error.

message:
Ser/Server.h:931 ]: [Client 12-14] Disconnecting client with error: error reading request body: Unexpected end-of-stream (errno=-1004)
apa/Hooks.cpp:651 ]: Unexpected error in mod_passenger: An error occurred while receiving HTTP upload data: The timeout specified has expired(70007)

Environment:
Redmine version 3.0.2.stable
Ruby version 2.2.2-p95 (2015-04-13) [x86_64-linux]
Rails version 4.2.1
Environment production
Database adapter Mysql2

and used Apache version 2.2.15

  1. I used over 100mb file upload last day as well.
  2. now, 19MB file upload test is success...

anyone help me.

best regards.
Hahm.


Replies (1)

RE: Error occurred when file upload over 20mb(just) - Added by Martin Denizet (redmine.org team member) over 6 years ago

Hello,
After a little Googling, I've 3 suggestions:
  1. Update/recompile Passenger
  2. Increase timeout in your VirtualHost
  3. Disable KeepAlive in your VirtualHost

Cheers,

    (1-1/1)