[Bug]: SABR constantly reloads the video without buffering behind a SOCKS5 Proxy
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.
- [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
When I attempt to load a video while behind a SOCKS5 Proxy SABR countsdown then reloads the video without end.
Expected Behavior
The video buffers and I can play the video.
Issue Labels
content not loading
FreeTube Version
v0.24.0 Beta
Operating System Version
NixOS Unstable
Installation Method
Flathub
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
v0.23.15 Beta
Upload screenshots or videos
No response
Additional Information
No response
Nightly Build
- [ ] I have encountered this bug in the latest nightly build.
Hi @thyTwilightGoth Please follow same steps as https://github.com/FreeTubeApp/FreeTube/discussions/8917#discussioncomment-16409327 and report back
My Default Quality is 1080p
https://github.com/user-attachments/assets/ccfcd538-4be0-49ca-9df1-f8a44484eb02
This issue is also occuring for me in 0.24.0. I've downgraded back to 0.23.15 and videos play like they did previously.
I tried a video without ads in 0.24.0, and it doesn't show the SABR countdown message but still refuses to play, with the buffering icon rapidly flashing in a glitchy manner. I think there may well be some bugs in 0.24.0 (which looks to be a pretty major rewrite) that need ironing out.
Same behaviour for me, with a VPN connected. Videos play as soon as I disconnect the VPN.
Console says:
renderer.js:2 Player Error (category and code explainations here: https://shaka-player-demo.appspot.com/docs/api/shaka.util.Error.html) Video ID: "6QauzLXjFdY" 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 Zf (renderer.js:2:400527) at Object.get [as isAudioOnly] (renderer.js:2:398691) at renderer.js:2:2284392 at renderer.js:2:78021 at renderer.js:2:75828 at renderer.js:2:76012 VZ @ renderer.js:2 Ge @ renderer.js:2 nt @ renderer.js:2
Was able to reproduce this too! We'll keep investigating
I'm also having this issue. I did not have this issue in the previous version. Does anyone know how to downgrade?
I'm also having this issue. I did not have this issue in the previous version. Does anyone know how to downgrade?
Here's the github URL for the previous version.
https://github.com/FreeTubeApp/FreeTube/releases/tag/v0.23.15-beta
I also had this "SABR infinite reload" error when trying 0.24. A few videos played fine, but several others did not play at all. Going back to 0.23.15 fixed that.
These are my default settings. Issue occurs when I'm on GlobalProtect VPN on my company laptop, without that, works fine.
I experience the same thing when my router (OpenWRT) using PBR redirects the connection through a VPN (it could be Cloudflare, but it also happens with my own VPN). If the PC connects directly to the VPN, the loop doesn't occur; it's something strange."
As I mentioned here I enabled LogXMLHttpRequests in the console log and watched what happened at those timestamps when the stalling occurs. And I see a message that says "renderer.js:2 Fetch finished loading: POST "https://
Something is wrong with the http requests or the data that is coming back from the Google servers.
No VPN here btw. Maybe it's the ISP but why would they break FreeTube while youtube.com works fine?
I experience the same thing when my router (OpenWRT) using PBR redirects the connection through a VPN (it could be Cloudflare, but it also happens with my own VPN). If the PC connects directly to the VPN, the loop doesn't occur; it's something strange."
In my case, I was able to solve it... I had a routing issue on my router. Some IPs corresponding to Google services were going through the VPN (cloudflare warp), but the *.googlevideo.com domains were being directed through my WAN, which caused a conflict.
For me, this SABR reloading stuff has turned FreeTube into an atrocious experience for me that's close to unbearable!
FreeTube gets stuck in a reloading loop for multiple minutes on my end with no VPN and using a VPN doesn't change anything in my case.
Just look at this video:
https://github.com/user-attachments/assets/77a91ca0-1088-45a2-a92f-488e18e02c8f
For me FreeTube is completely unusable until this issue gets fixed somehow.
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 dont know if true) Youtube is attempting for force-preview BUNCH OF ADS prior to the start of the video.
FWIW I also use PiHole, so that may have something to do with it.
Regardless, using the above tunnel exemptions will let ye run WARP and use the Holy Freetube at the same time.
Hi all, is this specific issue still happening in the latest update, v0.25.2?
Hi everyone, I'm currently working on this issue, and a pull request will be submitted soon.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
I'm not certain to which issue this belongs, but yes, in 25.2 it still happens that videos get interupted by a SABR reload. And potentially keep reloading every brief moment of video afterwards. I have no idea whether this has anything to do with SOCKS5. I also have no log about it. Let me know exactly how I should prove it is the same issue if you need me to, and I'll try.
@Jack-McKalling this is about infinite reload issue, like seen in https://github.com/FreeTubeApp/FreeTube/issues/8932#issuecomment-4172422301. Do you have this exact issue?
With the situation I experienced, the reloading/backoff timers were separated by some seconds/minute of video playback. So not looping without any playback as in that comment, no. And after a couple of reloading I got the "ytcfg" error persistently.
@Jack-McKalling there is hopefully an update coming out pretty soon so ill get back to you then