-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Latest rack (>= 2.0.8) upgrade when used alongside latest devise + mongoid + mongo_session_store + sidekiq UI throws error #1510
Comments
mongoid/mongo_session_store#43 - this is the PR in the mongo_session_store repo for reference |
Does mongo_session_store work with Rack 2-0-stable branch? There was a fix to this issue that has already been backported to 2-0-stable. If so we may want to consider a 2.0.9 release. |
I just tried updating the example project (https://jira.mongodb.org/secure/attachment/243898/243898_RUBY-2095-sidekiq-issue-monkey-patched.zip) to use:
And without the monkey patch (aka: the |
The session id is now a |
I put this in an initializer in my local repo and it worked:
|
OK. I think that means this can be closed as it isn't a bug in Rack. |
I originally filed this bug with the mongoid team (https://jira.mongodb.org/browse/RUBY-2095), but after doing some digging and back and forth with them, we're realizing that the issue may be coming from rack. Here's a quick snippet from the ticket:
[44, 53] in /home/w/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/mongo_session_store-3.2.0/lib/mongo_session_store/mongo_store_base.rb
The text was updated successfully, but these errors were encountered: