n8n - 💡(How to fix) Fix N8N Connection Keeps Breaking [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#29224Fetched 2026-04-28 06:49:24
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
closed ×1commented ×1labeled ×1

Error Message

Describe the problem/error/question

What is the error message (if any)?

  • error: all

Code Example

(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.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.
RAW_BUFFERClick to expand / collapse
<!-- Please follow the template below. Skip the questions that are not relevant to you. -->

Describe the problem/error/question

My N8N server is disconnecting and connecting every second. It toggles from: Offline to Connected, non stop.

What is the error message (if any)?

Please share your workflow/screenshots/recording

(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.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.

Share the output returned by the last node

<!-- If you need help with data transformations, please also share your expected output. -->

Debug info

core

  • n8nVersion: 2.17.5
  • platform: docker (cloud)
  • nodeJsVersion: 24.14.1
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: 20
  • license: enterprise (sandbox)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 720 hours
  • maxCount: 25000 executions

client

  • userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/147.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2026-04-27T08:29:34.219Z

extent analysis

TL;DR

The N8N server's repeated disconnection and reconnection may be related to its configuration or environment, and checking the server's resources and adjusting the concurrency setting could help stabilize the connection.

Guidance

  • Review the server's resource utilization (e.g., CPU, memory, and network bandwidth) to ensure it can handle the current workload and concurrency setting of 20.
  • Consider reducing the concurrency setting to a lower value (e.g., 5-10) to alleviate potential resource contention and observe if the disconnection issue persists.
  • Verify the Docker container's configuration and ensure it is properly optimized for the N8N server's requirements.
  • Check the N8N server's logs for any error messages or warnings that may indicate the root cause of the disconnection issue.

Example

No code snippet is provided as the issue is related to server configuration and environment.

Notes

The provided information suggests that the issue may be related to the server's environment or configuration, but further investigation is needed to determine the root cause. The N8N version (2.17.5) and Node.js version (24.14.1) may also be relevant factors.

Recommendation

Apply workaround: Reduce the concurrency setting to a lower value and monitor the server's behavior to determine if it stabilizes the connection. This is a safe and non-intrusive change that can help identify if resource contention is contributing to the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

n8n - 💡(How to fix) Fix N8N Connection Keeps Breaking [1 comments, 2 participants]