Large uploads fails with Firefox
This is a defect describing the behaviour observed in this thread
There seems to be a problem with uploaded files in a very special corner case.
It arises with Firefox as client, at least on MacOSX 10.6.
It works with Safari.
Where it fails it comes up with a redMine 500 error page, but nothing is traced in
the log files.
We are running nginx 0.7.67 on an OpenBSD 4.7 (MP) box serving as a proxy for Redmine 1.0.0 running in a
mongrel_cluster on an Ubuntu 10.04 up to date system:
- database: mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (x86_64) using readline 6.1
- ruby: ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
- rails: 2.3.5
- redmine: Redmine 1.0.0.stable.3892
The failure appears only for files which are larger then the in-memory cache of nginx for the upload.
Updated by Harald Klimach almost 13 years ago
The problem is the same with Firefox on a Linux box.
I found this thread: http://www.webmasterworld.com/forum88/13149.htm where a connection
enctype="multipart/form-data"is suggested, which is also used in the
Redmine upload HTML code.
Updated by Bedřich Lacina almost 12 years ago
I encountered the same problem - when uploading larger files (even though the Redmine - Administration - Settings - General - Attachment max. size was correctly set) the Redmine failed with no entry in production.log. After some investigation I encountered following message in apache log:
[warn] [client X.X.X.X] mod_fcgid: HTTP request length 136384 (so far) exceeds MaxRequestLen (131072), referer: http://X.X.X/projects/XXX/files/new
FcgidMaxRequestLen 51200000 in /etc/apache2/mods-available/fcgid.conf and reloading apache everything worked as it should.
Note that if you use mod_ruby to run Redmine instead of fcgi you will have to add
LimitRequestBody 51200000 to your httpd.conf.
Updated by Ebrahim Mohammadi almost 9 years ago
This is a severe issue for Firefox users. Isn't any fix or workaround known?
Everything works on Chromium, but it fails on Firefox.
Updated by Toshi MARUYAMA over 8 years ago
- Related to Defect #14953: Intermittent AJAX Atttachement Upload Failure in Firefox added