Closed pboling closed 4 months ago
This indicates that a Rodauth route returned a rack response with no headers, violating the Rack spec, which would be very odd. What Rodauth route was this and what were the request parameters? I see from the stack trace that this happened in integration tests, does it happen in development as well? Can you reproduce it in the official demo app?
I'll see what I can come up with.
I think I have found the issue. Somehow, somewhere, I messed up my middleware stack, and at some point the @status, @headers, @response = @app.call(env)
is returning the wrong stuff.
Thanks for your help!
Error Class:
NoMethodError
Error Message:Dies in
ActionDispath::RequestId
(Middleware) on line 28:The relevant portion of the backtrace is:
rodauth and rodauth-rails are not part of the backtrace, but this issue is only causing me trouble on my rodauth routes, and I'm thinking it is a rodauth-rails issue because rodauth core has nothing to do with rails.
Very possible that I've misidentified the issue. 🗡️ At the moment this is my best guess.
If it ends up being the case that there is an incompatibility, it would be awesome if we can figure out how to make it work, since having the a request id header forwarded through the whole app stack is incredibly powerful for diagnostics.
From the docs: