Currently, I am attempting to establish a connection to a Rabbit MQ docker container through NestJS microservice. The setup involves running it using vagrant. Unfortunately, I keep encountering the following error:
[1601171008162] ERROR (32761 on local): Disconnected from RMQ. Attempting to reconnect.
context: "Server"
trace: ""
[1601171008163] ERROR (32761 on local):
context: "Server"
trace: ""
msg: {
"err": {
"cause": {},
"isOperational": true
}
}
Below is the server configuration details.
{
transport: Transport.RMQ,
options: {
urls: ['amp://username:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="eb9b8a98989c84998fabdad9dcc5dbc5dbc5da">[email protected]</a>:5672'],
queue: 'test_queue',
queueOptions: {
durable: true
},
noAck: true,
prefetchCount: 1
}
}
I have been struggling with this issue for over a week now. Any assistance would be greatly appreciated.