Rails 3 failing on a multipart request

Hi guys.

At https://gist.github.com/741144 I have posted a stack trace outlining an issue occurring while receiving a multipart request using Rails 3.0.3.

Basically, all seems well but due to this specific request the server returns the failsafe error page because something is failing deep down. I’m not sure what’s going on, but using other platforms (or even Rails 2.3.5) the request is parsed just fine.

The HTTP body returned consists of the text “if you are the administrator of this website, then please read this web application’s log file and/or the web server’s log file to find out what went wrong”, and nothing more.

Parsing/intercepting the request with Charles Proxy shows a valid request from what I can see. Please check out the Gist at https://gist.github.com/741157 to observe it in detail.

Not sure where to go from here so I really would appreciate any guidance available.



What is in your log file for the relevant environment. From the host I'm guessing this must be development, but you might have a different setup than me.


That’s the funny part. The logs only reveal what’s in the aforementioned Gist (https://gist.github.com/741144). I was expecting a lot more output – but there seems to be no mention of the underlying error as far as I can see.

Please note that other multipart requests work just fine. This particular one fails every time. I’m also down to a bare controller doing nothing at all other than rendering a string.