Error Imap Trigger

Hi All,

I hAve error trigger with imap

Error: Connection ended unexpectedly
    at Connection.imapOnEnd (/usr/lib/node_modules/n8n/node_modules/imap-simple/lib/imapSimple.js:557:20)
    at Object.onceWrapper (node:events:627:28)
    at Connection.emit (node:events:513:28)
    at Connection.emit (node:domain:489:12)
    at Socket.<anonymous> (/usr/lib/node_modules/n8n/node_modules/imap/lib/Connection.js:185:10)
    at Object.onceWrapper (node:events:627:28)
    at Socket.emit (node:events:525:35)
    at Socket.emit (node:domain:489:12)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
  • **N8n Version : 0.227.1
  • Database you’re using (default: SQLite): sqlite
  • Running n8n with the execution process [own(default), main]: queue
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: npm

regards
Iwan

Hi @Iwan_Yudhistira, I am very sorry you are having trouble.

Seeing n8n has received many updates since version 0.227.1 which you’re currently using: Could you try upgrading to the latest version of n8n as a first step, then remove your current IMAP trigger node and add a new from scratch in your workflow (this is to ensure the node is also on the very latest version)?

Please do let me know if you’re still seeing the problem afterwards (if so, it’d be great if you could confirm which email provider and which IMAP settings you’re using).

Hi,

I have the same error. I think it might be problem with number of messages in the mailbox (over 5500). What I can do with this?

n8n version is 1.20.0 running in docker container.

BR,
Szymon

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