Getting this error

Describe the problem/error/question

Error from queue:
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:962:11)
at Socket._write (node:net:974:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Socket.Writable.write (node:internal/streams/writable:337:10)
at EventEmitter.sendCommand (/n8n/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/Redis.js:390:29)
at /n8n/node_modules/.pnpm/[email protected]/node_modules/dd-trace/packages/datadog-instrumentations/src/ioredis.js:35:28
at AsyncResource.runInAsyncScope (node:async_hooks:203:9)

What is the error message (if any)?

Error from queue:
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:160:15)
at writeGeneric (node:internal/stream_base_commons:151:3)
at Socket._writeGeneric (node:net:962:11)
at Socket._write (node:net:974:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Socket.Writable.write (node:internal/streams/writable:337:10)
at EventEmitter.sendCommand (/n8n/node_modules/.pnpm/[email protected]/node_modules/ioredis/built/Redis.js:390:29)
at /n8n/node_modules/.pnpm/[email protected]/node_modules/dd-trace/packages/datadog-instrumentations/src/ioredis.js:35:28
at AsyncResource.runInAsyncScope (node:async_hooks:203:9)

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:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hi @Gouravdev :wave:

Taking a peek at past forum issues, it looks like this might be a TCP error. Can you check out this post and see if it might help you out here? :slight_smile:

@n8n I think it was not loaded by the while posting the question

  • n8n version: 0.234.1
  • Database (default: SQLite): PostGRESS
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker with Redis Queue cluster system
  • Operating system: MAC

Hi @EmeraldHerald,

It appears that Redis is unable to connect to the n8n instance. To resolve this, do we need to enable queue mode on the n8n instance side?

Thanks in advance!!

Hey @Gouravdev,

What are you doing when you see that error? Normally n8n would connect to Redis but you can use Redis without n8n being in queue mode it just means n8n shouldn’t try and connect to it.

If you can share more information we can take a look, You do seem to be having a lot of issues with setting up queue mode if you want we can put you in touch with one of our experts who may be able to help you get up and running.

1 Like