forked from gsamokovarov/web-console
-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Description
I have a project with:
- ruby (2.6.5)
- rails (6.0.3.2)
- web-console (4.0.3)
- rack (2.2.3)
I start my application with WEBrick:
bundle exec rails server -u webrick
Whenever an exception occurs instead of getting the web-console UI I get the following error:
ERROR NoMethodError: undefined method `split' for 196974:Integer
vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler/webrick.rb:108:in `block in service'
vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/utils.rb:446:in `block in each'
vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/utils.rb:445:in `each'
vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/utils.rb:445:in `each'
vendor/bundle/ruby/2.6.0/gems/rack-2.2.3/lib/rack/handler/webrick.rb:99:in `service'
~/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
~/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
~/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
I was not getting this exception with web-console (4.0.2).
This started appearing with web-console (4.0.3) and it seems related to this change #290.
It looks like following that change "Content-Length" header value is an integer and Rack expects a string.
Metadata
Metadata
Assignees
Labels
No labels