-
Notifications
You must be signed in to change notification settings - Fork 6
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
Helix incorrectly shows streaming channel as down #250
Comments
|
Hi @aeturnum - are you seeing the stream as offline after the webhook, or is it still marked as live in the Helix API? |
|
Hey @lleadbet, It seems like, after a brief initial period where both APIs see my account as streaming, they separate. Here's a sample timeline from just now: I don't think it's always 30s, but pretty quickly the helix and kraken APIs start having different opinions. Helix thinks I'm not streaming and Kraken thinks I am. Here's another set of httpie requests: Logs from ~9:38ddrexler@Drexbook-Pro:conmon|$ http -v 'https://api.twitch.tv/helix/streams?user_id=503254' Client-Id:****************************** Authorization:"Bearer ******************************" HTTP/1.1 200 OK { ddrexler@Drexbook-Pro:conmon|$ http -v 'https://api.twitch.tv/kraken/streams/503254?stream_type=live' Client-Id:****************************** Authorization:"Bearer ******************************" Accept:application/vnd.twitchtv.v5+json HTTP/1.1 200 OK { |
|
Thanks, and apologies for the delay in responses. Are you still seeing this, and if so, what webhook are you using- Eventsub or Webhooks? |
|
No problem @lleadbet, this is an odd bug and I'm sure y'all have more important ones. I am using webhooks to get notified of streams - I don't think I've seen eventsub in the docs. Is that better maintained? In any case, I just repeated starting my usual stream of the Microsoft™️ Edge™️ home screen. Once again, the Helix API shows nothing and the Kraken API shows the stream. However, this time I never got a notification even though I believe I have an active webhook subscription for my channel. To be honest I have no idea how consistent this bug is - it always works when I'm testing, but I'm more of a developer than a streamer so I don't notice unless I'm working on some new feature. Logs from just now |

Brief description
I noticed this bug testing Twitch Streaming Webhooks. I will get a stream up notification, then very quickly after a stream down notification, though I have not stopped streaming.
I can easily confirm that this is a Helix bug because the V5 API shows the stream as up. My user_id is 503254 (as can be seen in the logs below)
Posting here based on advice from API forums: https://discuss.dev.twitch.tv/t/v5-api-correctly-shows-stream-is-up-but-helix-says-it-is-down/28877/2
How to reproduce
Httpie requests to V5 and Helix APIs showing difference
Expected behavior
Both APIs would show the stream as up.
Additional context or questions
It's entirely possible that I'm using the Helix API incorrectly, but I don't see how. I will leave my stream of the home page of Microsoft Edge live so others can test.
The text was updated successfully, but these errors were encountered: