You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an API and after updating my project, where when I publish a message to a RabbitMQ server the following error is returned:
Error: channel closed
at ConfirmChannel.<anonymous> (/home/daniel/labs/projetos/ned-flanders-api/node_modules/@golevelup/nestjs-rabbitmq/node_modules/amqplib/lib/channel.js:39:18)
at ConfirmChannel.emit (node:events:525:35)
at ConfirmChannel.C.toClosed (/home/daniel/labs/projetos/ned-flanders-api/node_modules/@golevelup/nestjs-rabbitmq/node_modules/amqplib/lib/channel.js:175:8)
at Connection.C._closeChannels (/home/daniel/labs/projetos/ned-flanders-api/node_modules/@golevelup/nestjs-rabbitmq/node_modules/amqplib/lib/connection.js:394:18)
at Connection.C.toClosed (/home/daniel/labs/projetos/ned-flanders-api/node_modules/@golevelup/nestjs-rabbitmq/node_modules/amqplib/lib/connection.js:401:8)
at Connection.C.onSocketError (/home/daniel/labs/projetos/ned-flanders-api/node_modules/@golevelup/nestjs-rabbitmq/node_modules/amqplib/lib/connection.js:355:10)
at Connection.emit (node:events:513:28)
at Socket.go (/home/daniel/labs/projetos/ned-flanders-api/node_modules/@golevelup/nestjs-rabbitmq/node_modules/amqplib/lib/connection.js:481:12)
at Socket.emit (node:events:513:28)
at emitReadable_ (node:internal/streams/readable:578:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
Before updating the project I was using the following versions:
I looked in several places and in the documentation but I didn't find anything similar, does anyone have any tips on what it could be?
The text was updated successfully, but these errors were encountered:
dansantoss
changed the title
Error when publish message: Channel closed
@golevelup/nestjs-rabbitmq- error when publish message: Channel closed
Feb 23, 2024
I have an API and after updating my project, where when I publish a message to a RabbitMQ server the following error is returned:
Before updating the project I was using the following versions:
Now:
I also needed to install the packages:
Without them, when uploading the application the error was returned
My code:
Module
src/infrastructure/data-providers/rabbitmq/rabbitmq.module.ts
Service
src/infrastructure/data-providers/rabbitmq/rabbitmq.service.ts
I looked in several places and in the documentation but I didn't find anything similar, does anyone have any tips on what it could be?
The text was updated successfully, but these errors were encountered: