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

Does not receive messages when connecting to wss://eventsub-beta.wss.twitch.tv/ws #13

Open
DelphiWorlds opened this issue Dec 1, 2022 · 3 comments

Comments

@DelphiWorlds
Copy link

As per title, (using the demo supplied) no messages are received when connecting to wss://eventsub-beta.wss.twitch.tv/ws
Verified with other code that the service does send them

@mateusvicente100
Copy link
Owner

mateusvicente100 commented Dec 1, 2022 via email

@DelphiWorlds
Copy link
Author

DelphiWorlds commented Dec 1, 2022

It doesn't need a password - as per the description in the issue, using a different WebSocket client (Delphi-based) it works. This one does not

@RadstaRs
Copy link

RadstaRs commented Sep 25, 2024

Same problem for me with URL wss://eventsub.wss.twitch.tv/ws
No MESSAGE EventType, only OPEN:

HTTP/1.1 101 Switching Protocols
Connection: upgrade
Date: Wed, 25 Sep 2024 22:11:14 GMT
Upgrade: websocket
Sec-WebSocket-Accept: oodvbFInA50lBw17Wh5iNb6Oqps=
X-Cache: Miss from cloudfront
Via: 1.1 32c8da10203574baccb74b8f771a7ffa.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: FRA50-C1
X-Amz-Cf-Id: MG9lIpNHibU_vY-MHMQCQHLZnXZ2S-au2PaeikH7BOBpSrbEWfzyoQ==

No password needed or special encryption.
Documentation: https://dev.twitch.tv/docs/eventsub/handling-websocket-events/

Edit: Fixed with PING-PONG fix from:
https://github.com/cayque10/bird-socket-client/commits/Fix-ping-pong/

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