-
Notifications
You must be signed in to change notification settings - Fork 147
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
RTCMultiConnection Server post request returns bad handshake error #29
Comments
Duplicate of #28 |
above solution not workingt in http://localhost:9001
i had Tried to connect like this: connection.socketURL = 'http://localhost:9001/'; |
@arunkumartdr did you get any solution at your problem? I got a same error. can't run as localhost. @muaz-khan @nurassyl @gbrian @mirza Brunjadze |
Done. I solve the problem with install socket.io version 2. run cmd npm install [email protected] can visit https://medium.com/@aideedprogrammer/video-broadcast-webrtc-using-ionic-apps-14affc0a8369 |
I have a docker nginx symfony vue stack under exampledomain.com
I implemented RTCMulticonnection with
and in my Vue File
everything was working. Now i wanted to use my own signaling server. I started one with the following Dockerfile
I modified config.json with the ssl configuration of my nginx server.
and in the server.js i make this changes:
Now the server is up and running under
https://exampledomain.com:9001/
and used it in vue with:
this.rtcmConnection.socketURL = 'https://exampledomain.com:9001/';
the browser tries to connect with signaling server with get and post
the get request seems to be okay
but the post request is a 400 bad request and returns a json bad handshake error.
How can I fix the error and connect?
The text was updated successfully, but these errors were encountered: