rabbit MQ Error: Channel ended, no reply will be forthcoming

项目启动的时候会报这样的错:
UnhandledPromiseRejectionWarning: Error: Channel ended, no reply will be forthcoming
at rej (/home/node/node_modules/amqplib/lib/channel.js:201:7)
at ConfirmChannel.C._rejectPending (/home/node/node_modules/amqplib/lib/channel.js:207:42)
at ConfirmChannel.C.toClosed (/home/node/node_modules/amqplib/lib/channel.js:171:8)
at Connection.C._closeChannels (/home/node/node_modules/amqplib/lib/connection.js:394:18)
at Connection.C.toClosed (/home/node/node_modules/amqplib/lib/connection.js:401:8)
at Connection.C.onSocketError (/home/node/node_modules/amqplib/lib/connection.js:355:10)
at Connection.emit (events.js:182:13)
at Socket.go (/home/node/node_modules/amqplib/lib/connection.js:481:12)
at Socket.emit (events.js:182:13)
at emitReadable_ (_stream_readable.js:534:12)
at appd_proxy (/home/node/node_modules/appdynamics/lib/core/appDProxy.js:431:22)
at process._tickCallback (internal/process/next_tick.js:63:19)
(node:44) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:44) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

有没有了解这个问题的,请指教一二!

阅读 3.7k
1 个回答

发现还是exchange/queue/virtual的问题

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题