-
Notifications
You must be signed in to change notification settings - Fork 336
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
redis gem only expects one argument in the get
method
#190
Comments
I'm also seeing this issue with the |
I'm also seeing a similar error with the My rack-attack Redis store configuration in
|
|
@ktheory How are these proxies supposed to work anyway? They seem to swallow all the errors that might come from the proxied store without bothering to log them. |
I thought this was using the redis gem directly, but it is actually using the redis-store gem which has the appropriate interface. |
While a cache-store proxy exists for the redis-store gem, no such proxy existed for using the redis gem itself. This fills that gap by adding such a proxy. Resolves rack#190
Hi @monfresh, thank you for the issue report. Can you please share your rack-attack store config if you still facing this issue? |
For the record, plain |
Hi. I've noticed other similar issues, but I couldn't get a definitive answer. When I implement a
Fail2Ban
filter, I get this error:The README implies that I should be able to use the
redis
gem (v3.0.0+), but it looks like it's not supported becauseRedisStoreProxy#read
passes in 2 arguments. From reading the other issues, it seems like I would need to add another dependency to my app for this work, namely theredis-store
gem.What is the purpose of the
raw: true
option, and is it essential? Could it be made optional? Is this a bug in theredis
gem, or is it not required of it to accept a second argument? If the second argument is optional, then could rack-attack please update theread
method such that it's compatible with theredis
gem?Thanks!
The text was updated successfully, but these errors were encountered: