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
Fix: Add to_hash
to wrap Hash and Session classes on stringify_keys
#1428
Fix: Add to_hash
to wrap Hash and Session classes on stringify_keys
#1428
Conversation
to_hash
to wrap Hash and Session classes on stringify_keys
to_hash
to wrap Hash and Session classes on stringify_keys
I am also facing this issue
|
What is the value of Do we prefer |
@ahorek I don't disagree with you. I can merge this, and then can you make a follow up PR to improve both performance and spec coverage on the downstream requirements? We can get it out in 2.2.0 |
yes, I think it's ok to merge. after this PR, the change in #1401 should be reverted anyway, because |
Can you make a PR to revert #1401. |
This still seems to be an issue for me with Rack |
Hello, I have the same issue with Rack v2.1.1, could anyone please give me a hint what need I do to solve it? |
In your |
If you need to deploy this to heroku, use this format in the gemfile instead or your build will fail with private key errors.
|
@garside that worked great. Hopefully this is merged soon.... |
can we have v2.1.1.1 version to release this? |
…ile we wait for a gem release. rack/rack#1428
* Update Rack gem to reference a specific Github commit to fix a bug while we wait for a gem release. rack/rack#1428
I encountered this error after adding Could not find gem 'browserify-:q!ils' in any of the gem sources listed in your Gemfile or in gems cached in vendor/cache. |
@tenderlove should we backport this and cut a v2.1.2 release or wait until a v2.2.0 release? |
I’d love a release. My Sidekiq admin page is busted and it took my a while to figure out what the problem was. |
This approach works on development:
But in Production, I get:
Which seems to be the expected behavior based on bundler doc
Any clue? A new release would be appreciated otherwise. |
ETA til 2.1.2? |
If you are waiting for the 2.1.2 you can temporarily monkey patch Fo Rails projects you can create e.g. # Monkey patch `stringify_keys` to make rack 2.1.1 compatible with Sidekiq UI Admin panel.
# Should be removed when 2.1.2 is released.
# https://github.com/rack/rack/pull/1428
module Rack
module Session
module Abstract
class SessionHash
private
def stringify_keys(other)
other.to_hash.transform_keys(&:to_s)
end
end
end
end
end |
@garside I got some problems with deploy on AWS. is there an appropriate ref hash for that? |
v2.1.2 has been released. Now you can
and make sure you use v2.1.2 or higher to avoid this issue. |
If you updated your app to rack 2.1.2 and you see a blank page for Sidekiq Web UI then there is an issue in Sidekiq repo for it sidekiq/sidekiq#4440 |
rack/rack#1428 has now been merged and released, so we no longer need to pin to a specific commit.
rack/rack#1428 has now been merged and released, so we no longer need to pin to a specific commit.
… makes it into the next release
Downgrades rack on account of rack/rack#1428
Downgrades rack on account of rack/rack#1428
When using Rails application and go to Sidekiq Web management page I've got the following error:
With code :
Application Trace:
Gems Versions:
ruby -
2.3.7
rails -
5.0.7.2
sidekiq -
5.2.7
rack -
master
branchThis PR solved issue.