Failed RabbitMQ connection error read ECONNRESET Error: read ECONNRESET

I have cloned new runtipi github repo and run following command ➜ cp .env.example .env ➜ npm run start:prod Issue on queue failed ERROR Health Check has failed! {"queue":{"status":"down"}}
15 Replies
Nicolas
Nicolas5d ago
Can you try to remove the content of .env? Keep an empty file and restart the command
swaroopsuthar04
swaroopsuthar04OP5d ago
i have tried but getting same issue Any help i have found online but didn't get any solution. @Nicolas I have tried new setup and new machine but getting same issue.
Nicolas
Nicolas4d ago
Can you add a console.log in queue.health.ts and see if host, password, username are correctly set?
swaroopsuthar04
swaroopsuthar04OP4d ago
Connecting to RabbitMQ [Log]...
runtipi | { host: 'runtipi-queue', password: 'rabbitmq', username: 'tipi' }
Connecting to RabbitMQ [Log]...
runtipi | { host: 'runtipi-queue', password: 'rabbitmq', username: 'tipi' }
No description
Nicolas
Nicolas4d ago
Honestly I don’t know what’s going on, all seems correct I just tried to pull fresh and run it, it worked
swaroopsuthar04
swaroopsuthar04OP4d ago
@Nicolas I have delete all container and docker system purne -a and latest fresh pull try but getting same issue
Nicolas
Nicolas4d ago
And with start:dev does it work? Maybe the rabbitmq container does not run well on your OS? Do you see any errors when running docker logs runtipi-queue (after the crash)
Nicolas
Nicolas4d ago
I think I'm able to reproduce
No description
Nicolas
Nicolas4d ago
I'll try to dig the issue, I'll keep you updated
swaroopsuthar04
swaroopsuthar04OP4d ago
is it impact through Docker image because of docker image rabbitmq:4-alpine was updated in last 1 day. https://hub.docker.com/layers/library/rabbitmq/4-alpine/images/sha256-86b7cbbc4da917de4b971084a969498d02f4676dc7fb0ebf9fa8cda91e9bc7ec
swaroopsuthar04
swaroopsuthar04OP4d ago
start:dev anyother issue faced
No description
Nicolas
Nicolas4d ago
You are correct
Stavros
Stavros4d ago
@swaroopsuthar04 there was an issue in the node lib if you pull the latest changes from github it should work
swaroopsuthar04
swaroopsuthar04OP4d ago
Thank you @Stavros and @Nicolas. Now it works perfectly.
Stavros
Stavros4d ago
cool

Did you find this page helpful?