Redis :: TimeoutError排队Resque作业

在排队Resque作业时从Redis获取超时错误。

正在抛出的异常 -

连接超时

/home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/connection/ruby.rb:90:in rescue in _read_from_socket' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/connection/ruby.rb:83:in _read_from_socket'/home/ rescue in _read_from_socket' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/connection/ruby.rb:83:in .rvm/ rescue in _read_from_socket' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/connection/ruby.rb:83:in ruby-2.3.0/gems/redis- 3.3.3 / lib / redis / connection / ruby​​.rb:75:in gets' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/connection/ruby.rb:380:in /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/connection/ gets' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/connection/ruby.rb:380:in阅读'/home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:262 gets' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/connection/ruby.rb:380:in block in read' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:250:in io中/home/ubuntu/.rvm/gems/ruby-2.3.0/ gems / redis-3.3.3 / lib / redis / client.rb:261:在read' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:193:in在call_pipelined read' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:193:in块(2级)'/home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb read' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:193:in times' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:192:in call_pipelined'/home/ubuntu/.rvm/gems/红宝石2.3.0 / gems / redis-3.3.3 / lib / redis / client.rb:231: block (2 levels) in process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:367:in中的block (2 levels) in process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:367:in /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3 block (2 levels) in process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:367:in ensure_connected'/home/ block (2 levels) in process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:367:in .rvm/ block (2 levels) in process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:367:in ruby-2.3.0/ block (2 levels) in process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:367:in redis-3.3.3/ block (2 levels) in process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:367:in redis/ block (2 levels) in process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:367:in 221:in block in process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:306:in logging'/home/ubuntu/.rvm/gems/ ruby-2.3.0 / gems / redis-3.3.3 / lib / redis / client.rb:220: process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:187:in call_pipelined'/home/ process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:187:in .rvm/ process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:187:in ruby-2.3.0/ process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:187:in redis-3.3.3/ process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:187:in redis/ process' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:187:in 157:in block in call_pipeline' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:293:in ubuntu/.rvm/ block in call_pipeline' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:293:in ruby-2.3.0/ block in call_pipeline' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:293:in redis-3.3.3/lib/ block in call_pipeline' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:293:in client.rb:293: block in call_pipeline' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis/client.rb:293:in ubuntu/.rvm/gems/ ruby-2.3.0 / gems / redis-3.3.3 / lib / redis / client.rb:155:在call_pipeline' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/newrelic_rpm-4.3.0.335/lib/new_relic/agent/instrumentation/redis.rb:89:in /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/ call_pipeline' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/newrelic_rpm-4.3.0.335/lib/new_relic/agent/instrumentation/redis.rb:89:in call_pipeline'/home/ call_pipeline' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/newrelic_rpm-4.3.0.335/lib/new_relic/agent/instrumentation/redis.rb:89:in .rvm/ call_pipeline' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/newrelic_rpm-4.3.0.335/lib/new_relic/agent/instrumentation/redis.rb:89:in ruby-2.3.0/ call_pipeline' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/newrelic_rpm-4.3.0.335/lib/new_relic/agent/instrumentation/redis.rb:89:in redis-3.3.3 /lib/redis.rb:2258: block in pipelined' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis.rb:58:in块中block in pipelined' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis.rb:58:in块同步'/home/ubuntu/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis.rb:58:in ubuntu/ mon_synchronize' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis.rb:58:in gems/ mon_synchronize' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis.rb:58:in同步'/home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-3.3.3/lib/redis.rb:2254 :在pipelined' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/redis-namespace-1.5.3/lib/redis/namespace.rb:471:in namespaced_block'/home/ubuntu/.rvm /gems/ruby-2.3.0/gems/redis-namespace-1.5.3/lib/redis/namespace.rb:284:in pipelined' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/resque-1.27.4/lib/resque/data_store.rb:119:in push_to_queue' pipelined' /home/ubuntu/.rvm/gems/ruby-2.3.0/gems/resque-1.27.4/lib/resque/data_store.rb:119:in 271 :在'推'

链接地址: http://www.djcxy.com/p/41919.html

上一篇: Redis::TimeoutError while queuing a Resque Job

下一篇: Got TypeError while delete AWS/S3 buckets