We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I've got Redis::ConnectionError on Redis.new() connecting to redis DB #0.
Redis::ConnectionError
Redis.new()
I have 2 kubernetes clusters with mostly same configuration. One cluster fails to connect redis DB #0, while the other has no problem.
Rails.new("rds", 6379, 0)
Rails.new("rds-dev", 6379, 0)
I've watched requests with monitor on redis-cli, and got no log line on failure. I've tested containers restart, and no luck.
monitor
redis-cli
Redis DB no.1 (or others) can be connected, and then switching to #0 works well. So, I implemented a workaround to my mruby script as bellows:
redis = Rails.new("rds", 6379, 1) redis.select 0
This works well.
md5sum
ngx_http_mruby_module.so
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I've got
Redis::ConnectionError
onRedis.new()
connecting to redis DB #0.issue
I have 2 kubernetes clusters with mostly same configuration.
One cluster fails to connect redis DB #0, while the other has no problem.
Rails.new("rds", 6379, 0)
getsRedis::ConnectionError
Rails.new("rds-dev", 6379, 0)
and following commands work well.I've watched requests with
monitor
onredis-cli
, and got no log line on failure.I've tested containers restart, and no luck.
workaround
Redis DB no.1 (or others) can be connected, and then switching to #0 works well.
So, I implemented a workaround to my mruby script as bellows:
This works well.
configuration
md5sum
ofngx_http_mruby_module.so
on 2 clusters are identical. Actually, 2 docker images between clusters are the same.The text was updated successfully, but these errors were encountered: