Kue在AWS EC2上连接Redis失败,显示“捕获异常:AbortError”

时间:2017-05-08 03:15:37

标签: node.js amazon-ec2 redis kue

我使用docker在AWS EC2上运行redis,并使用kue在我的节点服务器上连接它。 但它显示如下错误。 我怎么能解决这个问题?我使用redis-cli ping IP和GUI工具连接redis很好。

Caught exception:  AbortError
11:05:00 0|server   |     at RedisClient.flush_and_error (/Users/Project/node_modules/kue/node_modules/redis/index.js:357:23)
11:05:00 0|server   |     at RedisClient.connection_gone (/Users/Project/node_modules/kue/node_modules/redis/index.js:659:14)
11:05:00 0|server   |     at Socket.<anonymous> (/Users/Project/node_modules/kue/node_modules/redis/index.js:293:14)
11:05:00 0|server   |     at Object.onceWrapper (events.js:293:19)
11:05:00 0|server   |     at emitNone (events.js:91:20)
11:05:00 0|server   |     at Socket.emit (events.js:188:7)
11:05:00 0|server   |     at endReadableNT (_stream_readable.js:974:12)
11:05:00 0|server   |     at _combinedTickCallback (internal/process/next_tick.js:80:11)
11:05:00 0|server   |     at process._tickDomainCallback (internal/process/next_tick.js:128:9)
11:05:00 0|server   |   code: 'UNCERTAIN_STATE',
11:05:00 0|server   |   command: 'BLPOP',
11:05:00 0|server   |   args: [ 'q:processSendEMail:jobs', 0 ] }

0 个答案:

没有答案