Constant, unexplained "Could not check origin for Phoenix.Socket transport" errors in log #4561
Replies: 4 comments
-
Please share your configuration with real domain names. In short, the error means that Plausible receives WebSocket connection requests from an origin that is different from what you have set in BASE_URL. It's meant to protect from Cross-Site WebSocket Hijacking (CSWSH) attacks.
Something is :) |
Beta Was this translation helpful? Give feedback.
-
@kris-sigur did you figure this out? I am running into this error as well. |
Beta Was this translation helpful? Give feedback.
-
@kris-sigur I encountered the same problem as you, have you solved it? |
Beta Was this translation helpful? Give feedback.
-
Please start new discussions with your |
Beta Was this translation helpful? Give feedback.
-
I've set up plausible to run with the reverse proxy being hosted on a second machine that accepts connections from outside of our firewall using the Apache reverse proxy settings suggestions.
This works fine except I get a constant stream of errors like these:
These errors come consistently at 1 minute intervals even if - as far as I can tell - nothing is accessing the plausible instance. Accessing http://devserver.ourdomain.com:8000 directly in a web browser also does not seem to trigger this warning.
As I stated above, everything seems to be working as intended, I can register and start tracking. But this is making the log very noisy, so any advice on how to resolve this would be most welcome.
Configuration used:
plausible-conf.env:
docker-compose.yml:
Beta Was this translation helpful? Give feedback.
All reactions