Origin header does NOT match the expected origin.
complete
R
Rafael Barreto
Hi! My n8n instance suddenly started showing this error without any changes from my side: Origin header does NOT match the expected origin.
(Origin: "https://n8n.gestaoias.shop", Expected: "wss://n8n.gestaoias.shop")
It looks like WebSocket is not being routed correctly by the reverse proxy. The n8n editor depends on WebSocket to work properly.
Everything was working fine before. Could this be a proxy or SSL issue?
Can you help me check if WebSocket forwarding is enabled or if something changed in the proxy settings?
Thank you in advance!
G
Gaurav radadiya
I deployed n8nio/n8n:1.97.0 and it worked like charm.
R
Rafael Barreto
tks so much, i did that version and the n8n was back work
M
Muhammad Ahsan Shaikh
complete
M
Muhammad Ahsan Shaikh
Please deploy n8nio/n8n:1.94.1 - That would resolve your issue. Thanks
G
Gaurav radadiya
This happens on latest versions of N8N where they need some nginx update to set header. It works on v1.79.3. but mostly people started reporting for version 1.8x and after. I've recently instead v.1.95.2 and it just started throwing above mentioned websocket error and didn't solve after much try.