1

我使用 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 ] }
4

0 回答 0