We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I have a test with example/register via ws, opensips failed log:
proto_ws:ws_parse_req_handshake: Origin header not present! Jan 16 16:47:06 [115] ERROR:proto_ws:ws_read_req: cannot complete WebSocket handshake
register log:
ERR TransactionRequest error="transport<WS> dial err=unexpected HTTP response status: 400"
the header should add Origin param like this: header := http.Header{} header.Add("Origin", "http://172.16.4.113:8443") conn, _, err := dialer.Dial(url.String(), header)
The text was updated successfully, but these errors were encountered:
Thanks for reporting. Seems like this is not currently easy to fix unless header are fixed.
Sorry, something went wrong.
No branches or pull requests
Hi, I have a test with example/register via ws, opensips failed log:
register log:
the header should add Origin param like this:
header := http.Header{}
header.Add("Origin", "http://172.16.4.113:8443")
conn, _, err := dialer.Dial(url.String(), header)
The text was updated successfully, but these errors were encountered: