Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Viewing all articles
Browse latest Browse all 873

Sidekiq throws Redis::CommandError

$
0
0

I have this redis container I use for Sidekiq/Rails and also set up rabbitmq a few days ago on the same docker host. Ever since I keep getting these errors:

UNBLOCKED force unblock from blocking operation, instance state changed (master -> slave?)redis/client.rb in call at line 126    def call(command)      reply = process([command]) { read }      raise reply if reply.is_a?(CommandError)      if block_given?        yield replyredis/client.rb in block in call_with_timeout at line 219redis/client.rb in with_socket_timeout at line 292redis/client.rb in call_with_timeout at line 218redis.rb in block in _bpop at line 1186redis.rb in block in synchronize at line 52monitor.rb in mon_synchronize at line 226redis.rb in synchronize at line 52redis.rb in _bpop at line 1183redis.rb in brpop at line 1228redis/namespace.rb in call_with_namespace at line 469redis/namespace.rb in block (2 levels) in <class:Namespace> at line 349sidekiq/fetch.rb in block in retrieve_work at line 37sidekiq.rb in block in redis at line 97connection_pool.rb in block (2 levels) in with at line 65connection_pool.rb in handle_interrupt at line 64connection_pool.rb in block in with at line 64connection_pool.rb in handle_interrupt at line 61connection_pool.rb in with at line 61sidekiq.rb in redis at line 94sidekiq/fetch.rb in retrieve_work at line 37sidekiq/processor.rb in get_one at line 83sidekiq/processor.rb in fetch at line 95sidekiq/processor.rb in process_one at line 77sidekiq/processor.rb in run at line 68sidekiq/util.rb in watchdog at line 15sidekiq/util.rb in block in safe_thread at line 24 

The redis logs show nothing relevant, just the "save database" stuff.

Have I done something evil getting them both set up within the same host?


Viewing all articles
Browse latest Browse all 873

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>