-
Notifications
You must be signed in to change notification settings - Fork 409
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: request origin not allowed by Upgrader.CheckOrigin #118
Comments
api > origin should disable this check. Don't know why it doesn't work. This problem could be happened because wrong port forwarding via docker #28 |
Interesting, we are using an nginx proxy with a web socket from :5000 -> :1984 and like I said the origin option hasn't had any affect. Is there a specific value that is needed or any other value than * should disable that? |
Origin setting should work in any way. Are you sure you use quotes as in example? api:
origin: "*" Lines 16 to 20 in fae59c7
|
This happens when the Host and Origin headers are different:
I'll return dummy fix. It seems that strange nginx configuration in Docker is a common situation. |
@AlexxIT This is my bad actually, I had assumed that api:
origin: "*" it is working just fine |
Using CORS * in all cases is not a good idea from a security reason. You will be able to remove this setting in the next version. |
Fixed in v0.1-rc.5 |
unfortunately this issue was resolved for me but the error message as returned in my go2rtc version 1.5 logs: go2rtc.yaml:
any suggestions? |
You has some strange config. Maybe self signed certificate. I don't know what means xxx-dns-entry. |
I'm having this issue as well, but it seems like reports of this have been fairly sparce. Feels like a subtle config issue that users can resolve, if they know what the appropriate course of action is. Kind of a bigger IF there. |
After updating to rc4 I am getting this error regardless of if
api -> origin
is set to"*"
or""
when it was previously working. I am not sure if this is a go2rtc issue or something that needs to be adapted toThe text was updated successfully, but these errors were encountered: