I stopped and restarted the VM already but still prompts me with the same error. I had this before a while back on another account which I couldnt solve either. Does anyone know what I can do to fix that - like narrow down the problem?
What’s going on?
Starting with v1.87/1.88, n8n changed the way it validates the Origin of the WebSocket used by the interface.
If the proxy (NGINX / Cloud Run LB / Cloudflare Tunnel, etc.) doesn’t forward the Host and Origin headers as is or fills them with the $host variable, n8n returns Invalid origin! and the browser displays the “Connection lost” message.
GitHub
For some users, the update also changed the default value of the push channel to SSE, which in many configurations loses the connection as soon as there are intermediate proxies.
So the temporary solution is to revert to version 1.86.1.
You can do this without losing your flows with these simple steps: