Railway self hosted n8n connection lost issue

I am facing an issue that when I run my workflow I periodically get the “connection lost” issue. It screws up my entire workflow.

I am self hosting n8n with railway and i am on Version 1.98.2.

Literally yesterday my workflow worked perfectly and today i keep getting this issue

Hey, I might be able to help. I just fixed mine (Connection Lost Issue).

Can you please provide:

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:

  • Screenshot of the error message

I am facing the same exact issue on v1.105.3
Hosted on Railway
Database: PGSQL
Execution Process: default
Running via Docker
Operaing System: Linux

I have tried deploying on render, n8n cloud and even EC2. I am getting the same error.
All the env variables are properly set.

It maybe the long stay in this page without any operations, cause the session timeout.
Please try refresh the page and relogin.

I tried in multiple devices, incognito tabs, etc. Dosent work. Facing this for 2 days now.

I searched the issues at the n8n,
Most likely your instance is running out of memory .
reference: Connection keeps going down · Issue #17309 · n8n-io/n8n · GitHub

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