Internet is working on my PC but in n8n "connection lost" is written ,so how to solve this issue?

Describe the problem/error/question

Why is this happening? and how will i solve this ?

What is the error message (if any)?

My internet is working but i still have this error…

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

ransformations, please also share your expected output. →

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:
1 Like

Hi @Amina1 Welcome to the community!

Can you share more information regarding your n8n instance?
Although this mostly happens due to not well configured n8n instance or unstable connection, i recommend restarting your n8n instance and things should be working just fine, if they don’t consider setting the webhook URL and then restarting your n8n instance.

I would also recommend updating your n8n instance to the latest version 2.x which have less unstable issues.

1 Like

Hey, that “connection lost” message usually means your browser can’t reach the n8n backend, not that n8n itself can’t reach the internet. Are you running this in Docker or npm? If Docker check that your ports are mapped correctly and that the container is actually running, sometimes it crashes silently. Also what’s your N8N_HOST and WEBHOOK_URL set to? If those are misconfigured the UI loses its websocket connection.

1 Like