[Bug]: Videos from some channels enter SABR loop
Guidelines
- [x] I have encountered this bug in the latest release of FreeTube.
- [x] I have encountered this bug in the official downloads of FreeTube. The only official downloads are from the https://freetubeapp.io website, the FreeTubeApp/FreeTube GitHub repository and the io.freetubeapp.FreeTube flatpak from Flathub.
- [x] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
- [x] I have searched the documentation for information that matches the description of the bug I want to file, without success.
- [x] This issue contains only one bug.
- [x] I have read and agree to follow the rules.
Describe the bug
I've found for a while now that a couple channels I watch (Donut and their spin off channel RealMechanicStuff) all start videos with 16 or sometimes 24 second SABR backoff times. When the timer runs down it reloads with the same long backoff timer. Once in a while the video will play after some reloads, but often it just keeps reloading without playing even after like 5+ minutes. I didn't use to have these SABR problems with these channels, so something changed. I'm not sure if its something with the channels changing how they have their videos set up.
Expected Behavior
For the videos of these channels to start playing within a couple reloads.
Issue Labels
content not loading
FreeTube Version
v0.24.0-nightly-7365
Operating System Version
Macos 26.5
Installation Method
.dmg
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Upload screenshots or videos
Screenshot 2026-05-24 at 9.25.45 PM.png
Additional Information
The included screenshot is from a video that did eventually start playing after several minutes of reloads.
Nightly Build
- [x] I have encountered this bug in the latest official nightly build, do not check this box if you are using an unofficial or custom build.
I have this issue with the Secret Base channel (UCDRmGMSgrtZkOsh_NQl4_xw). My issue started about three weeks ago, +/- a few days. I'm on the v0.24.0 release version on MacOS 15.7.3.
Try to disconnect CloudFlare if you're using it. In my case it works.
Try to disconnect CloudFlare if you're using it. In my case it works.
I use cloudflared DoH for my Pi-hole. Are you saying we're supposed to use a different DNS provider? Disabling Pi-hole is not an option that I will consider. These two videos are a never-ending SABR loop: https://youtu.be/BC4RZE8a7vM, https://youtu.be/Aoc-s-_84Ig on v0.24.0 Beta.
I have this issue too.
I have this issue with the Secret Base channel (UCDRmGMSgrtZkOsh_NQl4_xw). My issue started about three weeks ago, +/- a few days. I'm on the v0.24.0 release version on MacOS 15.7.3.
I can second this, as I also can't view any videos from Secret Base specifically, though other channels work fine. Tested on Fedora 44, v0.24.0
freetube-0.24.1-beta-win-x64-portable.zip Windows 11 24H2 64-bit
Settings > General:
- Failback to Non-Preferred Backend on Failure [Enabled]
- Preferred API Backend [Local API]
- Current Invidious Instance [https://inv.thepixora.com] Results: Remaining SABR backoff time: 4s Reloading player according to SABR request
Settings > General:
- Failback to Non-Preferred Backend on Failure [Enabled]
- Preferred API Backend [Invidious API]
- Current Invidious Instance [https://inv.thepixora.com] Results: [BAD_HTTP_STATUS: 403] Potential causes: IP block or streaming URL deciphering failed
Yet if I go to the Current Invidious Instance [https://inv.thepixora.com] page in a web browser, videos play without any of those messages...
EDIT: I changed VPN IP and still got those messages trying to watch on FreeTube, but reverting back to previous version FreeTube v0.23.15 Beta, videos play again without those messages. I first tried reverting back the version without changing VPN IP but got the "[BAD_HTTP_STATUS: 403] Potential causes: IP block or streaming URL deciphering failed" message, which didn't make sense to me because I can still go to the Invidious instance page in a web browser and videos would play. So it took an IP change and reverting back to FreeTube v0.23.15 Beta to be able to play videos again on FreeTube, and enabling "Fetch Feeds from RSS" under 'Settings > Subscription' to get the main Subscriptions page to load/populate videos. Nothing I changed stopped the SABR loop I was getting on all videos with FreeTube v0.24.1 Beta.
hoping to provide more data on this problem so it can be fixed!
FreeTube Version v0.24.1 Beta
Operating System Version Windows 11 Pro
Installation Method .exe
Primary API used Local API
Last Known Working FreeTube Version (If Any) No response
Additional Information See .log file attached
freetube-0.24.1-beta-win-x64-portable.zip Windows 11 24H2 64-bit
Settings > General:
- Failback to Non-Preferred Backend on Failure [Enabled]
- Preferred API Backend [Local API]
- Current Invidious Instance [https://inv.thepixora.com] Results: Remaining SABR backoff time: 4s Reloading player according to SABR request
Settings > General:
- Failback to Non-Preferred Backend on Failure [Enabled]
- Preferred API Backend [Invidious API]
- Current Invidious Instance [https://inv.thepixora.com] Results: [BAD_HTTP_STATUS: 403] Potential causes: IP block or streaming URL deciphering failed
Yet if I go to the Current Invidious Instance [https://inv.thepixora.com] page in a web browser, videos play without any of those messages...
EDIT: I changed VPN IP and still got those messages trying to watch on FreeTube, but reverting back to previous version FreeTube v0.23.15 Beta, videos play again without those messages. I first tried reverting back the version without changing VPN IP but got the "[BAD_HTTP_STATUS: 403] Potential causes: IP block or streaming URL deciphering failed" message, which didn't make sense to me because I can still go to the Invidious instance page in a web browser and videos would play. So it took an IP change and reverting back to FreeTube v0.23.15 Beta to be able to play videos again on FreeTube, and enabling "Fetch Feeds from RSS" under 'Settings > Subscription' to get the main Subscriptions page to load/populate videos. Nothing I changed stopped the SABR loop I was getting on all videos with FreeTube v0.24.1 Beta.
Sounds like something changed then between 23.15 to 24.1 beta thats breaking things?
here is a video which keeps refreshing for me https://youtu.be/iig2kC6NHfM this is the freetube console 👍
renderer.js:2 Player Error (category and code explainations here: https://shaka-player-demo.appspot.com/docs/api/shaka.util.Error.html)
Video ID: "iig2kC6NHfM"
FreeTube player context: "loading dash/audio manifest and setting default quality in mounted"
Severity: CRITICAL (2)
Category: undefined (undefined)
Code: undefined (undefined)
Stack trace:
TypeError: Cannot read properties of null (reading 'Ia')
at Vm (renderer.js:2:408285)
at Object.get (renderer.js:2:406787)
at renderer.js:2:2305129
at renderer.js:2:80764
at renderer.js:2:78574
at renderer.js:2:78754
sZ @ renderer.js:2
ze @ renderer.js:2
it @ renderer.js:2
setTimeout
wn @ renderer.js:2
Y @ renderer.js:2
(anonymous) @ renderer.js:2
attempt @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
Promise.then
$a @ renderer.js:2
Aa @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
renderer.js:2 [YOUTUBEJS][Text]: Unable to find matching run for attachment run. Skipping... {attachment_run: {…}, input_data: {…}, parsed_runs: Array(1)}
2 @ renderer.js:2
ET @ renderer.js:2
xT @ renderer.js:2
processAttachmentRuns @ renderer.js:2
fromAttributed @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
pL @ renderer.js:2
VF @ renderer.js:2
mN @ renderer.js:2
VF @ renderer.js:2
gN @ renderer.js:2
VF @ renderer.js:2
jF @ renderer.js:2
dD @ renderer.js:2
VF @ renderer.js:2
jF @ renderer.js:2
TB @ renderer.js:2
VF @ renderer.js:2
qF @ renderer.js:2
FF @ renderer.js:2
QF @ renderer.js:2
vV @ renderer.js:2
getInfo @ renderer.js:2
await in getInfo
bz @ renderer.js:2
await in bz
getVideoInformationLocal @ renderer.js:2
reloadView @ renderer.js:2
await in reloadView
onPlayerReloadRequested @ renderer.js:2
ci @ renderer.js:2
ui @ renderer.js:2
fs @ renderer.js:2
(anonymous) @ renderer.js:2
i @ renderer.js:2
emit @ renderer.js:2
XQ @ renderer.js:2
renderer.js:2 preferredVideoCodecs has been deprecated. Please use preferredVideo instead.
h @ renderer.js:2
t @ renderer.js:2
(anonymous) @ renderer.js:2
configure @ renderer.js:2
(anonymous) @ renderer.js:2
await in (anonymous)
(anonymous) @ renderer.js:2
ci @ renderer.js:2
ui @ renderer.js:2
t.__weh.t.__weh @ renderer.js:2
Si @ renderer.js:2
Ii @ renderer.js:2
Promise.then
_i @ renderer.js:2
wi @ renderer.js:2
O.r.scheduler @ renderer.js:2
trigger @ renderer.js:2
be @ renderer.js:2
qe @ renderer.js:2
set @ renderer.js:2
set @ renderer.js:2
getVideoInformationLocal @ renderer.js:2
await in getVideoInformationLocal
reloadView @ renderer.js:2
await in reloadView
onPlayerReloadRequested @ renderer.js:2
ci @ renderer.js:2
ui @ renderer.js:2
fs @ renderer.js:2
(anonymous) @ renderer.js:2
i @ renderer.js:2
emit @ renderer.js:2
XQ @ renderer.js:2
Figured I should mention that I've found using an external player to work for problematic channels/videos. Sending the Donut and RealMechanicStuff videos to IINA, which itself is set to use my homebrew install of yt-dlp seems to work pretty reliably.
@BitSynKed you may have an idea percolating there.
What if FreeTube were modified so if certain videos were blocked, or some intractable stoppage occurs due to (bastardry)... changes... it runs yt-dlp in the background, caches the whole video, then simply acts as its player?
Make this actions known with a cheeky "one moment please" graphic :-)
Wont work for those on low-bandwidth internet, but those with fat pipes it would work well.
Repeating what I wrote here due to VPN issues. It may be useful to add these style of rules/exclusions if you do use a alternative VPN. ...........
If you are using CloudFlare WARP, add these to the exemption list:
warp-cli tunnel host add youtube.com
warp-cli tunnel host add www.youtube.com
warp-cli tunnel host add youtu.be
warp-cli tunnel host add googlevideo.com
warp-cli tunnel host add ytimg.com
The SABR message will repeat a number of times. I suspect (but don't know if true) Youtube is attempting to force-preview a BUNCH OF ADS prior to the start of the video. Hence the loops.
FWIW I also use PiHole, so that may have something to do with it. PiHole does not require modification, unless your blocklist blocks a needed domain.
Regardless, using the above tunnel exemptions will let ye run WARP and use the Holy Freetube at the same time.
Testing some settings changes again, but nothing ideally resolves this continuous SABR loop I get with every video using v0.24.1 Beta.
Settings > Player >
Proxy Videos Through Invidious: Same SABR loop if enabled or disabled
Default Video Format: DASH Formats
Default Quality: 1080p (Same SABR loop if changed to any other quality)
Settings > Player > Default Video Format: Legacy Formats Go back and play the same video used to get Console output with SABR loop, see the following message countdown "Remaining preroll-ad time: 4.3s", and the video plays (with Resolution restricted to only 360p).
Settings > Player > Default Video Format: Audio Formats Same SABR loop as DASH Formats.
I have this issue with videos from LinusTechTips. If I try to watch anything from that channel, I end up in an endless SABR loop. I can get around this by watching in Haruna, but then I lose captions.
I'm using the freetube-nightly package from the AUR, which is currently on version v0.24.1-nightly-7407 Beta, on EndeavourOS.
The SABR message will repeat a number of times. I suspect (but don't know if true) Youtube is attempting to force-preview a BUNCH OF ADS prior to the start of the video. Hence the loops.
That's also my hunch. It's either..
- an anti-ad-blocking measure from YouTube, I'm sure they target clients like FreeTube specifically and are currently faster than FreeTube devs
- a SABR implementation bug in FreeTube that triggers when there's an ad break
- an API call limit (which does not explain why it can be reproduced by different users with certain videos),
- some network issue with certain users' home and provider setup (also highly unlikely for the same reason)
When is this going to be fixed? I swear if this is Google/Youtube again, I am just so fed up with them messing around like this!
A previous comment here suggested trying an external player to play a video that has the SABR loop, and it worked.
So apparently, for me, the SABR loop is not related to network/IP, since I can play videos within FreeTube using Legacy Formats set under Settings > Player > Default Video Format, can play videos in a web browser using the Invidious instance launched from the FreeTube 'Share Video' button > 'Open Link' under Invidious, and can play videos using one of my external player apps (MPC-BE and mpv both worked) launched from the FreeTube 'Open in player' button.
v0.23.15 Beta
Pros:
- No SABR implementation (No SABR loop)
- DASH Formats work (Play videos with resolution 1080p)
Cons:
- Channel tabs don't load (Videos and Live channel sections are blank)
v0.24.1 Beta
Pros:
- Channel tabs load (Videos and Live channel sections are populated)
Cons:
- SABR implemented (Constant SABR loop causing no video to play)
- DASH Formats don't work (Causes SABR loop)
- Only Legacy Formats work playing videos and is limited to 360p resolution
- External Player required to launch videos for resolution over 360p
Now I am going to switch over from v0.23.15 Beta to v0.24.1 Beta and set to Legacy Formats so videos don't continually reload with the SABR loop while trying to read comments, set an External Player to launch and actually watch the videos, and have working channel tabs again. The downside to this setup is the video watch time/state is not remembered within FreeTube when using an external player and thumbnail slider previews within a video don't work with external players.
SABR is not the only working delivery method for Youtube (yet). External players often use the classic method, like yt-dlp. In that case the SABR stuff would simply not happen.
Legacy formats will not just disable SABR though, it will also disable DASH. Which means you will default to 360p a lot.
SABR is not the only working delivery method for Youtube (yet). External players often use the classic method, like yt-dlp. In that case the SABR stuff would simply not happen.
Legacy formats will not just disable SABR though, it will also disable DASH. Which means you will default to 360p a lot.
This is why I think FreeTube should provide the classic method as an option, instead of only relying on SABR. Sticking with v0.23.15 Beta isn't a long term solution, and as you've mentioned, legacy formats have their issues as well.
Using an external player works around the SABR issue, but the downside of doing that is no subtitles or captions.