n8n Services Crash with Worker

My n8n's editor and worker services have been displaying the message: Lost Redis connection. Trying to reconnect in 1s... (0s/10s)

This issue has been causing these services to crash a few times a day.

I haven't identified any errors in the Redis logs, which suggests an unstable connection to this service.

$20 Bounty

10 Replies

Railway
BOT

6 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!


6 months ago

Please swap in the public URL for the private URL for db postgres host on the 2 hosts


Status changed to Awaiting User Response Railway 6 months ago


HOST values ​​changed to:

${{Postgres.RAILWAY_PRIVATE_DOMAIN}}

${{Redis.RAILWAY_PRIVATE_DOMAIN}}

Crashed services:

Worker logs:

{"message":"Starting Container","attributes":{"level":"info"},"timestamp":"2025-09-10T01:03:01.000000000Z"}

Editor logs:

{"message":"Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/750b54b3-43dd-4290-8a71-8e796ba11d57/vol_ry1d lom1dtpf6k46","attributes":{"level":"info"},"timestamp":"2025-09-10T01:05:58.000000000Z"}

{"message":"Initializing n8n process","attributes":{"level":"info"},"timestamp":"2025-09-10T01:06:03.560407717Z"}

{"message":"Last session crashed","attributes":{"level":"info"},"timestamp":"2025-09-10T01:06:03.560416992Z"}


Status changed to Awaiting Railway Response Railway 6 months ago


Railway
BOT

6 months ago

Hello!

We're acknowledging your issue and attaching a ticket to this thread.

We don't have an ETA for it, but, our engineering team will take a look and you will be updated as we update the ticket.

Please reply to this thread if you have any questions!


Railway
BOT

6 months ago

🛠️ The ticket Service Interruptions Causing Delays has been marked as backlog.


I applied a rollback... services are running and have retained the changed HOST values:

${{Postgres.RAILWAY_PRIVATE_DOMAIN}}

${{Redis.RAILWAY_PRIVATE_DOMAIN}}


6 months ago

Is it still crashing after you swapped to the private hosts?


Status changed to Awaiting User Response Railway 6 months ago


Yes, after applying this change the worker has already crashed once


Status changed to Awaiting Railway Response Railway 6 months ago


After changing the values ​​of the Postgres and Redis private host variables, the executions stopped working, I had to return the host values ​​to public

Attachments


6 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 brody 6 months ago


jakaratongskul
HOBBY

6 months ago

I am also facing this problem :(


Loading...