-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebSocket returns 403 with nonmatching BASE_URL #205
Comments
Logs tell me the same:
|
Maybe providing a variable allowing us to extend the check_origin domain array would be a solution? Or disable this check completely like the domain restriction was removed on the cookie? There were also different discussions opened by people using proxies, facing the same issue: plausible/analytics#4561 plausible/analytics#4163 |
👋 @mpas97 Thank you for the report! Please share more information about your configuration and why you have
This might allow cross-origin WebSocket hijacking. |
Previously, we have got 403 errors on the login page if the BASE_URL was not matching. This was reverted in plausible/analytics#4126, thank you. But the websocket that provides data eg. on the startpage still remains empty when using a different url.
ws://<domain>/live/websocket
returns a 403 here, but accessing it with a matching base url works perfectly.The text was updated successfully, but these errors were encountered: