Hello,
I am experiencing a persistent “Connection lost” error on my n8n instance. My workflows are unable to run properly because of this.
I have checked the Chrome Developer Tools and it appears that the WebSocket connection is failing to establish—no WebSocket traffic is visible in the network logs.
This strongly indicates that the necessary headers are not being passed through the reverse proxy (like Nginx) on the server side.
Could you please check and fix the server’s reverse proxy configuration to ensure the “Upgrade” and “Connection” headers are correctly configured to allow WebSocket traffic?
Thank you
Describe the problem/error/question
What is the error message (if any)?
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):
- Operating system: