You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BinaryClient request is http GET, results in header errors on Chrome #111
I'm using webpack to build a simple app which sets up a BinaryClient. As soon as the client is created I get this error, when running on a localhost test server:
Refused to set unsafe header "sec-websocket-version":
I think it's because the connection gets started as an http. I ran the hello world example and everything is fine, and i see ws:// request in the network logs. I set up my client like so
this.client = new BinaryClient('ws://localhost:9000/audio');
I don't understand why this is not working, and why the connection is http. In FF the connection still fails as an http GET request, but the header errors are not there.
Activity