Connection Lost: Lost connection to the server

Describe the problem/error/question

I am trying to deploy n8n with docker and locally witn npm and in both situation I get always the error of “Connection lost” Lost connection with the server.

Running in Version 1.86.1

What is the error message (if any)?

Connection Lost. Lost connection to the server. There is no any error in the logs of the docker neither on the n8n.

Please share your workflow

(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.)

Share the output returned by the last node

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):
  • dokker and npm.
  • Operating system:
  • npm running in Windows and docker in Ubuntu.

Hi,

Is this a connection lost in the upper right corner of the user interface (once your are logged in)?

You can reach the login page without any problems?

reg,
J.

Yes to both questions.

Hi,

Do you have any special security software installed or something like this? if it’s a local websocket connection it should not be a problem. Are you running recent versions?

Reg,
J.

No, no special software. Finally it has worked with N8N_PUSH_BACKEND=see. Something very strange.

1 Like

hi. same situation, always get “CONNECTION LOST” after installing upgrade version 1.86.2. Any indication? do you know why [quote=“Claudi, post:5, topic:99309”]
N8N_PUSH_BACKEND=see works?

[/quote]

If i recall, you need to enable websocket support in npm explicitly. Is that enabled?