Skip to content
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

Stream - WebSocket - Handshake Error [Python] #83

Open
mxgordon opened this issue Jan 28, 2021 · 2 comments
Open

Stream - WebSocket - Handshake Error [Python] #83

mxgordon opened this issue Jan 28, 2021 · 2 comments

Comments

@mxgordon
Copy link

I copied the basic code for Python and tried to run it because my own code wasn't working—it isn't able to do the Handshke. I have an Nginx reverse proxy for the SSL, but I know that isn't the issue as it works for everything else (GET, POST, other WebSockets). I have been running into this issue everywhere, with your code, with my own code, and with different code using flask-socketio. Any advice for how to move forward?

Also what version of socket.io does Twilio use?

@sarahcstringer
Copy link
Collaborator

@JohnnyWobble can you paste the error you're getting? Also, to confirm, did you go through all the app setup steps in the Basic Demo readme?

@souvikg10
Copy link

just looking at the docs for media streams

https://www.twilio.com/docs/voice/media-streams/websocket-messages#connected-message

It seems to be using Websocket 1.0.0 which isn't supported in python-socketio packages, probably what flask-socketio is using though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants