n8n Deployment crashing each night
omnibassa
PROOP

3 months ago

Hi, each night the deployment is crashing.

This is the point the deployment keeps crashing on:

https://railway.com/project/67a1c1fb-c9a1-4f8e-a73c-082811cd1295/logs?environmentId=152c9e8c-88e2-484a-a774-b38154ca922d&timeFrame=7d&context=2025-09-08T06%3A46%3A44.182108701Z

I have other deployments configured in exactly the same way, but this one stops working each day. I have to manually restart or redeploy

Solved$10 Bounty

6 Replies

Railway
BOT

3 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


ray-chen
EMPLOYEE

3 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open ray-chen 3 months ago


omnibassa
PROOP

3 months ago

Great, we are still having the problem though.


noahd
EMPLOYEE

3 months ago

Hey!
Are there any logs for the crash? Something that might give a reason?


omnibassa
PROOP

3 months ago

Well, we discovered the main problem was with Redis. So for n8n we managed to fix it by adding the env variable for the main instance and worker:

QUEUE_BULL_REDIS_DUALSTACK = true

After this change the services were no longer crashing (at least since yesterday), I suspect this is the solution, but we will keep monitoring.

Attachments


omnibassa
PROOP

3 months ago

To add to that, we also spun up a fresh Redis instance.


ray-chen
EMPLOYEE

3 months ago

Going to consider this resolved, thank you for the update!

I've also shared some notes on n8n here - station.railway.com/questions/n8n-crashing-redis-connection-issue-6751fe10#89y6


Status changed to Awaiting User Response Railway 3 months ago


Status changed to Solved ray-chen 3 months ago


Loading...