n8n errors / Config
Connection Lost (workflow editor, behind nginx reverse proxy)
Cause
The nginx location block is missing the WebSocket upgrade headers, so the push/SSE channel n8n uses for editor live-updates is dropped by the proxy.
Fix
Add to the n8n location block: proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; Also set proxy_set_header Host $host; and X-Forwarded-Proto $scheme;. Reload nginx and hard-refresh the browser.
Part of the Automation Error Index — n8n errors: browse all.
Hitting an automation error we have not covered?
AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.
Describe the problem