Closed julienchabanon closed 2 years ago
If you think this is a due to a bug in rack, can you please post a self contained example showing the problem? Showing a bundler lock file with no code doesn't enable us to determine if the your problem is due to a bug in rack. Looking at the backtrace, you have a broken rack application or middleware that is returning nil
instead of enumerable as headers. Since you say the problem isn't in your application, I would check all middleware between Rack::Deflater and the application in the middleware chain.
Thank you @jeremyevans. I found the culprit! It was omniauth. Downgrading omniauth from 2.0.4 to 1.9.1 did solve the problem.
having the same issue, but I don't think downgrading is a good solution 😆
This error occurs since a bundle update. I have no way to track down which gem could be the error just with this log. It also happens on both ruby 2.7.X and 3.0.X. It seems to happens on every http call received and I cant troubleshoot in application level as the error reach the middleware first.
My Gemfile.lock