Crash uploading file on HTTPS/SSL rails project

Hi all,
I’ve a rails project which successfully uploads images on the
development server but fails to do it on production. The only difference
is that the production server is on https/ssl.
On the browser the error message is the followin:
‘Application error
Rails application failed to start properly’
Whereas in the log/fastcgi.crash.log i found the followin error message:

[07/Apr/2008:10:12:39 :: 7218] Dispatcher failed to catch: bad content
body (EOFError)
/usr/lib/ruby/1.8/cgi.rb:982:in read_multipart' /var/www/project/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_ext/raw_post_data_fix.rb:38:ininitialize_query’
/usr/lib/ruby/1.8/cgi.rb:2271:in initialize' (eval):16:ininitialize’
/usr/lib/ruby/1.8/fcgi.rb:600:in each_cgi' /usr/lib/ruby/1.8/fcgi.rb:597:ineach_cgi’
/var/www/project/public/…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:141:in
process_each_request!' /var/www/project/public/../config/../vendor/rails/railties/lib/fcgi_handler.rb:55:inprocess!’
/var/www/project/public/…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:25:in
`process!’
/var/www/project/public/dispatch.fcgi:24
almost killed by this error

The server is an Ubuntu linux with an apache2 + fcgi

Thanks in advance!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs