Describe the problem/error/question
Hi n8n community,
I’m experimenting with n8n in queue mode. In both my homelab and on DigitalOcean I run n8n through a slim docker‑compose stack that only includes the n8n services, Postgres and Redis live on separate hosts, and the compose stack simply points to those external databases.
In my homelab this setup is ok, but on DigitalOcean every n8n service starts logging the following messages at seemingly random intervals, roughly every 1–5 minutes:
Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
Recovered Redis connection
Workflows still execute fine, yet the constant disconnect/reconnect logs worry me. I found a closed thread describing the same behaviour here: [N8N]- Self Hosted Instance -> Worker logs -> Lost/Recovered Redis connection, but it never received a definitive answer.
Has anyone encountered this on DigitalOcean? Is it harmless log noise, or is there a network/configuration tweak I’m missing?
Thanks in advance for any insights!
What is the error message (if any)?
n8n-main | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-webhook-3 | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-webhook-4 | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-webhook-1 | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-webhook-2 | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-worker-1 | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-main | Recovered Redis connection
n8n-webhook-3 | Recovered Redis connection
n8n-webhook-4 | Recovered Redis connection
n8n-webhook-1 | Recovered Redis connection
n8n-webhook-2 | Recovered Redis connection
n8n-worker-1 | Recovered Redis connection
n8n-main | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-worker-1 | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-main | Recovered Redis connection
n8n-worker-1 | Recovered Redis connection
n8n-main | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-main | Recovered Redis connection
n8n-webhook-1 | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-webhook-3 | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
n8n-main | Lost Redis connection. Trying to reconnect in 1s… (0s/10s)
…
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.103.2
- Database (default: SQLite): postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): main
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu 24.04