Hi, when using hiredis with redis.rb sentinel connections I get the following error:
/Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/connection/hiredis.rb:16:in connect': nodename nor servname provided, or not known (RuntimeError) from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/connection/hiredis.rb:16:inconnect'
from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:285:in establish_connection' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:79:inblock in connect'
from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:257:in with_reconnect' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:78:inconnect'
from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:304:in ensure_connected' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:191:inblock in process'
from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:270:in logging' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:190:inprocess'
from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:96:in call' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis.rb:426:inblock in exists'
from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis.rb:37:in block in synchronize' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb:211:inmon_synchronize'
from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis.rb:37:in synchronize' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis.rb:425:inexists'
from /Library/Ruby/Gems/2.0.0/gems/redis-namespace-1.5.1/lib/redis/namespace.rb:392:in call_with_namespace' from /Library/Ruby/Gems/2.0.0/gems/redis-namespace-1.5.1/lib/redis/namespace.rb:289:inmethod_missing'
from /Users/ll/.gem/ruby/2.0.0/gems/resque-scheduler-4.0.0/lib/resque/scheduler/scheduling_extensions.rb:55:in schedule=' from /Users/ll/riff-rails/config/initializers/resque.rb:7:in<top (required)>'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:223:in load' from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:223:inblock in load'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:in load_dependency' from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:223:inload'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:609:in block (2 levels) in <class:Engine>' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:608:ineach'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:608:in block in <class:Engine>' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:ininstance_exec'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:in run' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:55:inblock in run_initializers'
Hi, when using hiredis with redis.rb sentinel connections I get the following error:
/Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/connection/hiredis.rb:16:in
connect': nodename nor servname provided, or not known (RuntimeError) from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/connection/hiredis.rb:16:in
connect' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:285:inestablish_connection' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:79:in
block in connect' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:257:inwith_reconnect' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:78:in
connect' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:304:inensure_connected' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:191:in
block in process' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:270:inlogging' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:190:in
process' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis/client.rb:96:incall' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis.rb:426:in
block in exists' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis.rb:37:inblock in synchronize' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb:211:in
mon_synchronize' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis.rb:37:insynchronize' from /Library/Ruby/Gems/2.0.0/gems/redis-3.0.7/lib/redis.rb:425:in
exists' from /Library/Ruby/Gems/2.0.0/gems/redis-namespace-1.5.1/lib/redis/namespace.rb:392:incall_with_namespace' from /Library/Ruby/Gems/2.0.0/gems/redis-namespace-1.5.1/lib/redis/namespace.rb:289:in
method_missing' from /Users/ll/.gem/ruby/2.0.0/gems/resque-scheduler-4.0.0/lib/resque/scheduler/scheduling_extensions.rb:55:inschedule=' from /Users/ll/riff-rails/config/initializers/resque.rb:7:in
<top (required)>' from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:223:inload' from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:223:in
block in load' from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:214:inload_dependency' from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.5/lib/active_support/dependencies.rb:223:in
load' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:609:inblock (2 levels) in <class:Engine>' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:608:in
each' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:608:inblock in <class:Engine>' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:in
instance_exec' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:inrun' from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:55:in
block in run_initializers'Does hiredis support sentinels?