Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant upload file greater than 100kb #109

westonganger opened this issue Dec 1, 2014 · 3 comments


None yet
4 participants
Copy link

commented Dec 1, 2014

I get routing errors when trying to upload a file greater than 100kb.

The problem doesnt exist when running webrick using "rails server"


This comment has been minimized.

Copy link

commented Dec 2, 2014

I had some problems too with file uploads. Some files will always fail, while others are fine.

It may have something to do with Racker. I don't recall having problems with port-forwarding to a vagrant box.

@ysbaddaden ysbaddaden added the bug label Dec 2, 2014


This comment has been minimized.

Copy link

commented Apr 29, 2015

I had the same experience. On some files upload fails using prax, but succeeds using unicorn.

I get a Rack error, which looks like this bug: rack/rack#676, but I'm currently stuck at rack ~> 1.4.5 and have not tested with 1.6.0 yet.

I have not noticed a pattern for which files will fail to upload with prax.

Top of stacktrace:

EOFError (bad content body):
  rack (1.4.5) lib/rack/multipart/parser.rb:74:in `block in fast_forward_to_first_boundary'
  rack (1.4.5) lib/rack/multipart/parser.rb:72:in `loop'
  rack (1.4.5) lib/rack/multipart/parser.rb:72:in `fast_forward_to_first_boundary'
  rack (1.4.5) lib/rack/multipart/parser.rb:15:in `parse'
  rack (1.4.5) lib/rack/multipart.rb:25:in `parse_multipart'
  rack (1.4.5) lib/rack/request.rb:336:in `parse_multipart'
  rack (1.4.5) lib/rack/request.rb:201:in `POST'

This comment has been minimized.

Copy link

commented Nov 24, 2015

Look at this:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.