Upgraded n8n 1.84.3 -> 1.97.1 - Now issues, n8n hangs after a minute or two

Describe the problem/error/question

  1. Upgraded from n8n 1.84.3 to 1.97.1 (running onprem container)
  2. The container starts up but after some minutes throws error.
  3. While up and running GUI can be accesses but workflows can’t be loaded, credentials view can be seen but quickly everything stopps working.
  4. Added NODES_EXCLUDE (syntax may be wrong) while troubleshooting.
  5. Running nginx proxy to reach the instance but no changes done here.

What is the error message (if any)?

From systemctl status n8n

CGroup: /system.slice/n8n.service
├─4185 /usr/bin/podman run -it -e N8N_LOG_LEVEL=info -e N8N_LOG_OUTPUT=file -e N8N_LOG_OUTPUT=/home/node/.n8n/logs/n8n.log -e N8N_LOG_FILE_SIZE_MAX=50 -e N8N_LOG_FILE_COUNT_MAX=10 -e NODES_EXCLUDE=["postho>
└─4284 /usr/bin/conmon --api-version 1 -c 0691cde56771233d42c208a1fe0f8442dd35921ecaa0ff1b02096bc456597d3c -u 0691cde56771233d42c208a1fe0f8442dd35921ecaa0ff1b02096bc456597d3c -r /usr/bin/runc -b /var/lib/c>

Jun 16 11:14:09 server_name docker[4185]: at new PostHogFetchNetworkError (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/posthog-core/src/index.ts:41:5)
Jun 16 11:14:09 server_name docker[4185]: at PostHog. (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/posthog-core/src/index.ts:546:17)
Jun 16 11:14:09 server_name docker[4185]: at step (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/node_modules/tslib/tslib.es6.js:102:23)
Jun 16 11:14:09 server_name docker[4185]: at Object.throw (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/node_modules/tslib/tslib.es6.js:83:53)
Jun 16 11:14:09 server_name docker[4185]: at rejected (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/node_modules/tslib/tslib.es6.js:74:65) {
Jun 16 11:14:09 server_name docker[4185]: error: DOMException [TimeoutError]: The operation was aborted due to timeout
Jun 16 11:14:09 server_name docker[4185]: at node:internal/deps/undici/undici:13510:13,
Jun 16 11:14:09 server_name docker[4185]: [cause]: DOMException [TimeoutError]: The operation was aborted due to timeout
Jun 16 11:14:09 server_name docker[4185]: at node:internal/deps/undici/undici:13510:13
Jun 16 11:14:09 server_name docker[4185]: }

Please share your workflow

A generic n8n problem

Share the output returned by the last node

Information on your n8n setup

  • **n8n version: latest tried but also tried 1.98.1

  • Database (default: SQLite): SQLite

  • n8n EXECUTIONS_PROCESS setting (default: own, main):
    ExecStart=/usr/bin/docker run -it -e N8N_LOG_LEVEL=“info” -e N8N_LOG_OUTPUT=“file” -e N8N_LOG_OUTPUT=“/home/node/.n8n/logs/n8n.log” -e N8N_LOG_FILE_SIZE_MAX=“50” -e N8N_LOG_FILE_COUNT_MAX=“10” -e NODES_EXCLUDE=‘[“post
    hog-node”,“posthog-core”]’ --rm --name n8n -p 5678:5678 -v /root/.n8n:/home/node/.n8n n8nio/n8n:1.98.1

  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker

  • Operating system: Redhat 8.10

Downgraded from later versions 1.97.1/1.98.1 to 1.84.3 - Everything now works.

Another use had similar experiences (websocket timeouts over proxy and it seems latest version that works is 1.86.1

Looking at 1.87 - it seem to be API updates (and core etc..) so something potentially broke in 1.87.

I will close this case but file a bug report.

1 Like

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