Redis Connection Timeout

Describe the problem/error/question

Basically I created a workflow that uses redis. That worflow works perfectly as a workflow but not as a triggered workflow, in fact when triggered I get timeout on redis connection while when I play with mockdata on same workflow goes fine.

What is the error message (if any)?

Error: Connection timeout at Socket.<anonymous> (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/node_modules/@redis/client/dist/lib/client/socket.js:177:124) at Object.onceWrapper (node:events:632:28) at Socket.emit (node:events:518:28) at Socket.emit (node:domain:489:12) at Socket._onTimeout (node:net:595:8) at listOnTimeout (node:internal/timers:581:17) at processTimers (node:internal/timers:519:7)

Please share your workflow

Thats the start of triggered workflow + next node which is a Get Key in redis.

Information on your n8n setup

  • n8n version: 1.73.1 (Self Hosted)
  • Database (default: SQLite): sqlite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own, main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: macos 15.2

sorry I am running it under postgres not sqlite and I am using aws os 2023

Hi @camillo

Do you have queue mode setup?
Seems like you have it setup with workers and the workers cannot access Redis.

1 Like

Thanks a lot and sorry for useless thread.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.