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 got a case when my RabbitMq was unavailable and after a few retries, NestJs was through an unhandled rejection error.
I think that was caused because @nestjs/microservices doesn't handle this type of error from the amqplib.
I will attach the logs, that I have. Thanks in advance for helping
Minimum reproduction code
Currently I haven't reproduced this issue on local machine
Steps to reproduce
No response
Expected behavior
NestJS handles this error and tries to retry to connect to RabbitMq
Package
I don't know. Or some 3rd-party package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other (see below)
Other package
No response
NestJS version
10.3.4
Packages versions
[Nest Platform Information]
platform-express version : 10.3.4
cache-manager version : 2.2.1
event-emitter version : 2.0.4
microservices version : 10.3.4
sequelize version : 10.0.1
schedule version : 4.0.1
testing version : 10.3.4
common version : 10.3.4
config version : 3.2.0
axios version : 3.0.2
core version : 10.3.4
cli version : 10.3.2
Is there an existing issue for this?
Current behavior
I got a case when my RabbitMq was unavailable and after a few retries, NestJs was through an unhandled rejection error.
I think that was caused because @nestjs/microservices doesn't handle this type of error from the amqplib.
I will attach the logs, that I have. Thanks in advance for helping
Minimum reproduction code
Currently I haven't reproduced this issue on local machine
Steps to reproduce
No response
Expected behavior
NestJS handles this error and tries to retry to connect to RabbitMq
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
No response
NestJS version
10.3.4
Packages versions
Node.js version
20.11.0
In which operating systems have you tested?
Other
The text was updated successfully, but these errors were encountered: