n8n Crashed
melaguiar09
HOBBYOP

a year ago

Hello, Railway.

I tried updating my n8n workflow version, but there seem to be some issues. I haven't been able to fix it. Is there any guidance on how I can fix this or any support you can provide? I would really appreciate it.

I've attached an image of the CRITICAL ERROR.

I've tried correcting the variables, but I haven't been able to.

$10 Bounty

14 Replies

a year 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 12 months ago


a year ago

You have not attached the image of the CRITICAL ERROR


melaguiar09
HOBBYOP

a year ago

I was trying to update the version. But I got an error in Primary. I tried configuring some variables and couldn't get the deployment back to normal.

Please help me.


melaguiar09

![](https://station-server.railway.com/attachments/att_01jx42na27fer881kt1tj6sqfk)I was trying to update the version. But I got an error in Primary. I tried configuring some variables and couldn't get the deployment back to normal. Please help me.

a year ago

Click into one of those and show us a real error, please.


melaguiar09
HOBBYOP

a year ago

This is the log in Primary:

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:39

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:39

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:39

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:39

Lost Redis connection. Trying to reconnect in 1s... (7s/10s)

Jun 06 19:01:39

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:39

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:39

Lost Redis connection. Trying to reconnect in 1s... (8.1s/10s)

Jun 06 19:01:39

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:39

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:40

Lost Redis connection. Trying to reconnect in 1s... (9.1s/10s)

Jun 06 19:01:40

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:40

Unable to connect to Redis after trying to connect for 10s

Jun 06 19:01:40

Exiting process due to Redis connection error

This is the log in Worker:

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

Queue errored

Jun 06 19:01:42

getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

Queue errored

Jun 06 19:01:42

getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

Queue errored

Jun 06 19:01:42

getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:42

Unable to connect to Redis after trying to connect for 10s

Jun 06 19:01:42

Exiting process due to Redis connection error


a year ago

Seems like a misconfiguration. What do you have the Redis URL set to in your variables?


melaguiar09
HOBBYOP

a year ago

redis://default:[clave]@redis-7890.internal:6379

And these are the variables that were created when I performed the update...

Attachments


a year ago

Change the Redis URI in your other services to ${{Redis.REDIS_PRIVATE_URL}}.

Do not modify the Redis service itself. Let me know if you have already.


swiftdev12
HOBBY

a year ago

I noticed you had this error

This is the log in Primary:

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:39

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:39

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 06 19:01:39

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

The solution that I did to getting it working was

I added the Redis service to my Railway project.

then I copied the Redis hostname/connection URL from Redis Service's Variable Tab to my project Service Tab then to add it I did

REDIS_URL then copied the redis password to my project password. and redployed the app and worked

So for example within Redis go to Variables

then find REDIS_URL, remember the name copy the **** part

and inside of your project part.. put in the variable section in the projects "REDIS_URL" and for the password input the one you copied, if this makes sense

All I did to get it working.

Starting Container

Jun 07 15:20:52

redis 14:20:51.88 INFO ==>

Jun 07 15:20:52

redis 14:20:51.88 INFO ==> Welcome to the Bitnami redis container

Jun 07 15:20:52

redis 14:20:51.88 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers

Jun 07 15:20:52

redis 14:20:51.88 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues

Jun 07 15:20:52

redis 14:20:51.88 INFO ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise

Jun 07 15:20:52

redis 14:20:51.89 INFO ==>

Jun 07 15:20:52

redis 14:20:51.89 INFO ==> Starting Redis setup

Jun 07 15:20:52

redis 14:20:51.95 INFO ==> Initializing Redis

Jun 07 15:20:52

redis 14:20:51.97 INFO ==> Setting Redis config file

Jun 07 15:20:52

Jun 07 15:20:52

redis 14:20:51.98 INFO ==> Redis setup finished!

Jun 07 15:20:52

redis 14:20:51.99 INFO ==> Starting Redis

Jun 07 15:20:52

1:C 07 Jun 2025 14:20:52.011 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

Jun 07 15:20:52

1:C 07 Jun 2025 14:20:52.011 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo

Jun 07 15:20:52

1:C 07 Jun 2025 14:20:52.011 * Redis version=7.2.5, bits=64, commit=00000000, modified=0, pid=1, just started

Jun 07 15:20:52

1:C 07 Jun 2025 14:20:52.011 * Configuration loaded

Jun 07 15:20:52

1:M 07 Jun 2025 14:20:52.011 * monotonic clock: POSIX clock_gettime

Jun 07 15:20:52

1:M 07 Jun 2025 14:20:52.012 * Running mode=standalone, port=6379.

Jun 07 15:20:52

1:M 07 Jun 2025 14:20:52.012 * Server initialized

Jun 07 15:20:52

1:M 07 Jun 2025 14:20:52.012 * Ready to accept connections tcp


swiftdev12

I noticed you had this error This is the log in Primary: \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal [Jun 06 19:01:39](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2f5f1b29-587d-4f18-93d5-9aa930db3e6b+-%40replica%3A58047f7e-cabc-4f8e-a3fa-4a0e7cb15128&context=2025-06-07T01%3A01%3A39.106255022Z) \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal [Jun 06 19:01:39](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2f5f1b29-587d-4f18-93d5-9aa930db3e6b+-%40replica%3A58047f7e-cabc-4f8e-a3fa-4a0e7cb15128&context=2025-06-07T01%3A01%3A39.106264941Z) \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal [Jun 06 19:01:39](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2f5f1b29-587d-4f18-93d5-9aa930db3e6b+-%40replica%3A58047f7e-cabc-4f8e-a3fa-4a0e7cb15128&context=2025-06-07T01%3A01%3A39.106275031Z) \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal The solution that I did to getting it working was I added the Redis service to my Railway project. then I copied the Redis hostname/connection URL from Redis Service's Variable Tab to my project Service Tab then to add it I did REDIS\_URL then copied the redis password to my project password. and redployed the app and worked So for example within Redis go to Variables then find REDIS\_URL, remember the name copy the \*\*\*\* part and inside of your project part.. put in the variable section in the projects "REDIS\_URL" and for the password input the one you copied, if this makes sense All I did to get it working. Starting Container [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726647873Z) redis 14:20:51.88 INFO ==> [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726662251Z) redis 14:20:51.88 INFO ==> **Welcome to the Bitnami redis container** [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726677310Z) redis 14:20:51.88 INFO ==> Subscribe to project updates by watching <https://github.com/bitnami/containers> [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726693452Z) redis 14:20:51.88 INFO ==> Submit issues and feature requests at <https://github.com/bitnami/containers/issues> [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726721414Z) redis 14:20:51.88 INFO ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit <https://bitnami.com/enterprise> [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726734041Z) redis 14:20:51.89 INFO ==> [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726748125Z) redis 14:20:51.89 INFO ==> **Starting Redis setup** [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726761294Z) redis 14:20:51.95 INFO ==> Initializing Redis [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726775631Z) redis 14:20:51.97 INFO ==> Setting Redis config file [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726785709Z) [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726797678Z) redis 14:20:51.98 INFO ==> **Redis setup finished!** [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726810533Z) redis 14:20:51.99 INFO ==> **Starting Redis** [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726833708Z) 1:C 07 Jun 2025 14:20:52.011 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see <https://github.com/jemalloc/jemalloc/issues/1328>. To fix this issue add 'vm.overcommit\_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit\_memory=1' for this to take effect. [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726847250Z) 1:C 07 Jun 2025 14:20:52.011 \* oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726860286Z) 1:C 07 Jun 2025 14:20:52.011 \* Redis version=7.2.5, bits=64, commit=00000000, modified=0, pid=1, just started [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726871140Z) 1:C 07 Jun 2025 14:20:52.011 \* Configuration loaded [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726883627Z) 1:M 07 Jun 2025 14:20:52.011 \* monotonic clock: POSIX clock\_gettime [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726896021Z) 1:M 07 Jun 2025 14:20:52.012 \* Running mode=standalone, port=6379. [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726908682Z) 1:M 07 Jun 2025 14:20:52.012 \* Server initialized [Jun 07 15:20:52](https://railway.com/project/b9eafb91-0698-4cfb-a273-8a7c5e56e560/logs?environmentId=1b32072b-2eb0-4a24-a832-c1f2c52e9a56&filter=%40deployment%3Abc2761a2-b697-41b2-9eb8-0a710745285f+-%40replica%3A0d21f019-e9ef-48ed-8e6b-a2381cc53a24&context=2025-06-07T14%3A20%3A52.726921104Z) 1:M 07 Jun 2025 14:20:52.012 \* Ready to accept connections tcp

a year ago

That is not best practice when it comes to Railway. You should be referencing variables when possible.


samgordon

Change the Redis URI in your other services to `${{Redis.REDIS_PRIVATE_URL}}`. Do not modify the Redis service itself. Let me know if you have already.

melaguiar09
HOBBYOP

a year ago

I did it but it didn't work...

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 07 08:42:31

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 07 08:42:32

Lost Redis connection. Trying to reconnect in 1s... (7s/10s)

Jun 07 08:42:32

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 07 08:42:32

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 07 08:42:33

Lost Redis connection. Trying to reconnect in 1s... (8.5s/10s)

Jun 07 08:42:33

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 07 08:42:33

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 07 08:42:34

Lost Redis connection. Trying to reconnect in 1s... (9.5s/10s)

Jun 07 08:42:34

[Redis client] getaddrinfo ENOTFOUND redis-7890.internal

Jun 07 08:42:34

Unable to connect to Redis after trying to connect for 10s

Jun 07 08:42:34

Exiting process due to Redis connection error

I need help getting my n8n environment back :(


melaguiar09

I did it but it didn't work... \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal [Jun 07 08:42:31](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A31.108408167Z) \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal [Jun 07 08:42:32](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A32.110019197Z) Lost Redis connection. Trying to reconnect in 1s... (7s/10s) [Jun 07 08:42:32](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A32.395756748Z) \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal [Jun 07 08:42:32](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A32.395776577Z) \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal [Jun 07 08:42:33](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A33.395547458Z) Lost Redis connection. Trying to reconnect in 1s... (8.5s/10s) [Jun 07 08:42:33](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A33.395567270Z) \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal [Jun 07 08:42:33](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A33.395580900Z) \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal [Jun 07 08:42:34](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A34.400988486Z) Lost Redis connection. Trying to reconnect in 1s... (9.5s/10s) [Jun 07 08:42:34](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A34.418268324Z) \[Redis client\] getaddrinfo ENOTFOUND redis-7890.internal [Jun 07 08:42:34](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A34.418288764Z) Unable to connect to Redis after trying to connect for 10s [Jun 07 08:42:34](https://railway.com/project/abeb87ae-f742-42b4-a0fc-fc30721afa70/logs?environmentId=c6f91ff7-7cff-4e03-ab28-cbc0d2f59332&filter=%40deployment%3A2ffe2fc6-d7a8-42a5-8165-8ea2b0486736+-%40replica%3Aaee9fbca-cb98-4b90-a50d-f5feaa0c897c&context=2025-06-07T14%3A42%3A34.418309257Z) Exiting process due to Redis connection error I need help getting my n8n environment back :(

a year ago

Can you screenshot the Variables page for your n8n service please. Just the left side. Don't reveal any of the ***s.


melaguiar09
HOBBYOP

a year ago

Variables Redis:

Variables Worker

Variables Primary


a year ago

Okay great. Is REDIS_URL in both Primary and Worker set to ${{Redis.REDIS_PRIVATE_URL}}?


samgordon

Okay great. Is `REDIS_URL` in both Primary and Worker set to `${{Redis.REDIS_PRIVATE_URL}}`?

melaguiar09
HOBBYOP

a year ago

Yes. On both the primary and working instances, it's set to ${{Redis.REDIS_PRIVATE_URL}}.

I don't know what else I'd need to change to get it working.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...