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

Hello
my main process container gives below error:
[Redis client] connect ETIMEDOUT
569363[Redis client] connect ETIMEDOUT
569364Queue errored
569365connect ETIMEDOUT
569366Unable to connect to Redis after trying to connect for 10s
569367Exiting process due to Redis connection error

My redis master logs:
Asynchronous AOF fsync is taking too long (disk is busy?). Writing the AOF buffer without waiting for fsync to complete, this may slow down Redis

So I wonder that can i disable appendonly file in my redis cluster? does this cause a problem for n8n ?

Best Regards

  • **n8n version: 1.84.1
  • **Database (default: SQLite): postgresql
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): kubernetes
  • **Operating system: redhat

that redis error might be leading you on a wrong track.
I suspect that your n8n can’t see the redis container. I’m not a kubernetes person, just plain docker compose.
But did you check the settings for redis host name in n8n and can it reach the redis container? Are they on the same docker network?

Redis is accessible but i think when redis trying to append queries to a file it takes too much time because of storage performance. As a result of that n8n main process shutdown itself. These all pods are running on same namespace in kubernetes. So i though if persistence on redis is not required then i may configure redis to disable append queries to a file by settings appendonly no parameter

sorry, kubernetes is not quite my thing so I can’t really help here :frowning: