Stream links expire on a timer, and nothing renews them before they do #73
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cmoriarty/sports-breaker#73
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens
A stream link is a CDN URL with a built-in expiry. The app keeps a verified link until it fails, so every link a game is using fails at its expiry time.
The stamps on production's ready links, 2026-10-31 21:35 UTC:
edgestream*.pro/hls/<id>.m3u8?st=…&e=…):eis 180 min after the link was read. givemestreams.cfd, buff-streams.buzz, s2watch.cyou, ihdstreams.top and the rest of that network serve these.hls.lshls.st/secure_hls.php?path=…&e=…&sig=…):eis about 30 min after the read.edgestream3.pro/sh/access/<token>/…json): no stamp in the URL. The token is in the path, and the page renews it with&grant=1(#66). Its lifetime is to be measured. One such link still answered 200 at 87 min.The re-checks in the event log fail right on those marks (2026-10-30 to 2026-10-31):
What it costs
Channel._recover, step 1). This hasn't been traced on a watched channel yet.The idea
Renew a link before its expiry: re-read the same link in the background, verify the fresh URL, and swap it in for the old one. It's the same stream, so a watched channel's next playlist fetch simply uses the new URL, with no swap, filler or re-encode.
Defaults:
estamp. That covers playing channels, their standbys and ready games.Deployed 2026-11-01 07:49 UTC at develop
2eb6d74(PR #75); archived inc53ad34. Open until production shows it: a re-check event reading "renewed the link on …, N min before it expired", ideally on a watched channel that plays on with no swap. The JSON playlists have no stamp and aren't renewed yet.Closed on the tests at the operator's word (2026-11-01): reopen, or file a new ticket, if production shows a problem.