I’m running 3.1.0-beta6 and getting the following error:
Started GET "/" for 18.104.22.168 at 2023-07-20 13:15:36 +0000
NoMethodError (undefined method `size' for #<Rack::Lint::InputWrapper:0x00007f528702bdf0 @input=#<StringIO:0x00007f529abd17f0>>)
Any ideas what I’m missing or is this a bug?
It’s this a standard install? Do all requests do this? Any plugins?
Nope, this is a development install, running locally. All GET requests do this, POST requests go through fine. No plugins whatsoever, the error comes from within the middleware.
I analyzed the standard install in much more detail and found that the docker image launcher uses
bundle exec config/unicorn_launcher -E production -c config/unicorn.conf.rb to launch unicorn. I used
RAILS_ENV=production bin/unicorn instead. I guess I missed the run configuration. Problem solved.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.