I’ve added 2 wf for test this (other wf use only v1), and enable debug logs
first v1:
and second v2:
then i wait for activation, and got this logs:
nocode-n8n-1 | 2023-03-12T14:32:26.233Z | verbose | IMAP connection was reset (ECONNRESET) - reconnecting. "{\n error: Error: read ECONNRESET\n at TCP.onStreamRead (node:internal/stream_base_commons:217:20)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {\n errno: -104,\n code: 'ECONNRESET',\n syscall: 'read',\n source: 'socket'\n },\n file: 'EmailReadImapV1.node.js'\n}"
nocode-n8n-1 | 2023-03-12T14:32:26.700Z | verbose | IMAP connection was reset (ECONNRESET) - reconnecting. "{\n error: Error: read ECONNRESET\n at TCP.onStreamRead (node:internal/stream_base_commons:217:20)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {\n errno: -104,\n code: 'ECONNRESET',\n syscall: 'read',\n source: 'socket'\n },\n file: 'EmailReadImapV1.node.js'\n}"
nocode-n8n-1 | 2023-03-12T14:32:27.059Z | debug | Querying for new messages on node "EmailReadImap" "{\n searchCriteria: [ 'UNSEEN', [ 'UID', '1386:*' ] ],\n file: 'EmailReadImapV1.node.js',\n function: 'onmail'\n}"
nocode-n8n-1 | 2023-03-12T14:32:27.335Z | verbose | IMAP connection was reset (ECONNRESET) - reconnecting. "{\n error: Error: read ECONNRESET\n at TCP.onStreamRead (node:internal/stream_base_commons:217:20)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {\n errno: -104,\n code: 'ECONNRESET',\n syscall: 'read',\n source: 'socket'\n },\n file: 'EmailReadImapV1.node.js'\n}"
nocode-n8n-1 | 2023-03-12T14:32:27.498Z | debug | Querying for new messages on node "EmailReadImap" "{\n searchCriteria: [ 'UNSEEN', [ 'UID', '1846:*' ] ],\n file: 'EmailReadImapV1.node.js',\n function: 'onmail'\n}"
nocode-n8n-1 | 2023-03-12T14:32:28.184Z | verbose | IMAP connection was reset (ECONNRESET) - reconnecting. "{\n error: Error: read ECONNRESET\n at TCP.onStreamRead (node:internal/stream_base_commons:217:20)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {\n errno: -104,\n code: 'ECONNRESET',\n syscall: 'read',\n source: 'socket'\n },\n file: 'EmailReadImapV1.node.js'\n}"
nocode-n8n-1 | 2023-03-12T14:32:28.983Z | debug | Querying for new messages on node "EmailReadImap" "{\n searchCriteria: [ 'UNSEEN', [ 'UID', '2675:*' ] ],\n file: 'EmailReadImapV1.node.js',\n function: 'onmail'\n}"
nocode-n8n-1 | 2023-03-12T14:32:29.398Z | verbose | IMAP connection was reset (ECONNRESET) - reconnecting. "{\n error: Error: read ECONNRESET\n at TCP.onStreamRead (node:internal/stream_base_commons:217:20)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {\n errno: -104,\n code: 'ECONNRESET',\n syscall: 'read',\n source: 'socket'\n },\n file: 'EmailReadImapV1.node.js'\n}"
nocode-n8n-1 | 2023-03-12T14:32:30.252Z | debug | Querying for new messages on node "EmailReadImap" "{\n searchCriteria: [ 'UNSEEN', [ 'UID', '6703:*' ] ],\n file: 'EmailReadImapV1.node.js',\n function: 'onmail'\n}"
nocode-n8n-1 | 2023-03-12T14:32:30.991Z | verbose | IMAP connection was reset (ECONNRESET) - reconnecting. "{\n error: Error: read ECONNRESET\n at TCP.onStreamRead (node:internal/stream_base_commons:217:20)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {\n errno: -104,\n code: 'ECONNRESET',\n syscall: 'read',\n source: 'socket'\n },\n file: 'EmailReadImapV1.node.js'\n}"
nocode-n8n-1 | 2023-03-12T14:32:31.873Z | debug | Querying for new messages on node "EmailReadImap" "{\n searchCriteria: [ 'UNSEEN', [ 'UID', '9:*' ] ],\n file: 'EmailReadImapV1.node.js',\n function: 'onmail'\n}"
nocode-n8n-1 | 2023-03-12T14:32:35.301Z | debug | Wait tracker querying database for waiting executions "{ file: 'WaitTracker.js', function: 'getWaitingExecutions' }"
nocode-n8n-1 | 2023-03-12T14:33:35.304Z | debug | Wait tracker querying database for waiting executions "{ file: 'WaitTracker.js', function: 'getWaitingExecutions' }"
nocode-n8n-1 | 2023-03-12T14:34:35.306Z | debug | Wait tracker querying database for waiting executions "{ file: 'WaitTracker.js', function: 'getWaitingExecutions' }"
nocode-n8n-1 | 2023-03-12T14:34:52.533Z | verbose | IMAP connection experienced an error: (ECONNRESET) "{\n error: Error: read ECONNRESET\n at TCP.onStreamRead (node:internal/stream_base_commons:217:20)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {\n errno: -104,\n code: 'ECONNRESET',\n syscall: 'read',\n source: 'socket'\n },\n file: 'EmailReadImapV2.node.js'\n}"
nocode-n8n-1 | 2023-03-12T14:34:52.549Z | info | The trigger node "Email Trigger (IMAP)" of workflow "Imap v2" failed with the error: "read ECONNRESET". Will try to reactivate. "{\n nodeName: 'Email Trigger (IMAP)',\n workflowId: '112',\n workflowName: 'Imap v2',\n file: 'ActiveWorkflowRunner.js',\n function: 'returnFunctions.emitError'\n}"
nocode-n8n-1 | 2023-03-12T14:34:52.555Z | verbose | Start external error workflow "{\n executionId: undefined,\n errorWorkflowId: '41',\n workflowId: '112',\n file: 'WorkflowExecuteAdditionalData.js',\n function: 'executeErrorWorkflow'\n}"
nocode-n8n-1 | 2023-03-12T14:34:52.578Z | verbose | IMAP connection experienced an error: (EPIPE) "{\n error: Error: write EPIPE\n at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)\n at WriteWrap.callbackTrampoline (node:internal/async_hooks:130:17)\n at JSStreamSocket.finishWrite (node:internal/js_stream_socket:211:12)\n at Immediate._onImmediate (node:internal/js_stream_socket:196:14)\n at processImmediate (node:internal/timers:466:21)\n at process.topLevelDomainCallback (node:domain:161:15)\n at process.callbackTrampoline (node:internal/async_hooks:128:24) {\n errno: -32,\n code: 'EPIPE',\n syscall: 'write',\n source: 'socket'\n },\n file: 'EmailReadImapV2.node.js'\n}"
nocode-n8n-1 | 2023-03-12T14:34:52.580Z | info | The trigger node "Email Trigger (IMAP)" of workflow "Imap v2" failed with the error: "write EPIPE". Will try to reactivate. "{\n nodeName: 'Email Trigger (IMAP)',\n workflowId: '112',\n workflowName: 'Imap v2',\n file: 'ActiveWorkflowRunner.js',\n function: 'returnFunctions.emitError'\n}"
nocode-n8n-1 |
nocode-n8n-1 | /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/ActiveWorkflows.js:91
nocode-n8n-1 | throw new Error(`The workflow with the id "${id}" is currently not active and can so not be removed`);
nocode-n8n-1 | ^
nocode-n8n-1 | Error: The workflow with the id "112" is currently not active and can so not be removed
nocode-n8n-1 | at ActiveWorkflows.remove (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/ActiveWorkflows.js:91:19)
nocode-n8n-1 | at Object.returnFunctions.emitError (/usr/local/lib/node_modules/n8n/dist/ActiveWorkflowRunner.js:416:44)
nocode-n8n-1 | at ImapSimple.<anonymous> (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js:468:26)
nocode-n8n-1 | at processTicksAndRejections (node:internal/process/task_queues:96:5)
nocode-n8n-1 | at runNextTicks (node:internal/process/task_queues:65:3)
nocode-n8n-1 | at processImmediate (node:internal/timers:437:9)
nocode-n8n-1 | at process.topLevelDomainCallback (node:domain:161:15)
nocode-n8n-1 | at process.callbackTrampoline (node:internal/async_hooks:128:24)
nocode-n8n-1 | 2023-03-12T14:35:09.538Z | error | Last session crashed "{ file: 'CrashJournal.js', function: 'init' }"
nocode-n8n-1 | 2023-03-12T14:35:20.141Z | debug | Lazy Loading credentials and nodes from n8n-nodes-base "{\n credentials: 311,\n nodes: 395,\n file: 'DirectoryLoader.js',\n function: 'loadAll'\n}"
nocode-n8n-1 | 2023-03-12T14:35:20.342Z | info | Initializing n8n process "{ file: 'start.js', function: 'init' }"
nocode-n8n-1 | 2023-03-12T14:35:26.130Z | debug | Wait tracker querying database for waiting executions "{ file: 'WaitTracker.js', function: 'getWaitingExecutions' }"
nocode-n8n-1 | 2023-03-12T14:35:27.131Z | debug | [license] initializing for deviceFingerprint 213d94af8dd9c32ee78831eb385271bab728c8b973b45b32c251b01a746670bf "{ file: 'LicenseManager.js', function: 'log' }"
nocode-n8n-1 | 2023-03-12T14:35:28.217Z | debug | Initializing SAML service "{ file: 'saml.service.ee.js' }"
nocode-n8n-1 | 2023-03-12T14:35:28.837Z | debug | Initializing event bus... "{ file: 'MessageEventBus.js', function: 'initialize' }"
nocode-n8n-1 | 2023-03-12T14:35:28.839Z | debug | Initializing event writer "{ file: 'MessageEventBus.js', function: 'initialize' }"
nocode-n8n-1 | 2023-03-12T14:35:28.845Z | debug | Checking for unsent event messages "{ file: 'MessageEventBus.js', function: 'initialize' }"
nocode-n8n-1 | 2023-03-12T14:35:28.982Z | debug | Start logging into /home/node/.n8n/n8nEventLog.log "{ file: 'MessageEventBus.js', function: 'initialize' }"
nocode-n8n-1 | 2023-03-12T14:35:28.984Z | debug | MessageEventBus initialized "{ file: 'MessageEventBus.js', function: 'initialize' }"
nocode-n8n-1 | n8n ready on 0.0.0.0, port 8080
nocode-n8n-1 | Version: 0.218.0
nocode-n8n-1 | 2023-03-12T14:35:29.203Z | info | ================================ "{ file: 'ActiveWorkflowRunner.js', function: 'init' }"
nocode-n8n-1 | 2023-03-12T14:35:29.205Z | info | Start Active Workflows: "{ file: 'ActiveWorkflowRunner.js', function: 'init' }"
nocode-n8n-1 | 2023-03-12T14:35:29.205Z | info | ================================ "{ file: 'ActiveWorkflowRunner.js', function: 'init' }"