[Bug] Source error
Checklist
- [x] I make sure that the issue is NOT a duplicate of pinned issues
- [x] I make sure I am using the LATEST version - check here
- [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
- [x] I have attached the error report in the issue
Describe the bug
Exception
- User Action: play stream
- Request: Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=MCivbXqfqfs
- Content Country: US
- Content Language: en-US
- App Language: en_US
- Service: YouTube (Anonymous)
- Endpoint: mweb
- Version: 5.2.5-beta
- OS: Linux Android 13 - 33
Crash log
androidx.media3.exoplayer.ExoPlaybackException: Source error
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:17)
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:456)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: androidx.media3.database.DatabaseIOException: SABR logic failure
at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:1528)
at org.acra.builder.ReportExecutor$$ExternalSyntheticLambda0.run(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:203)
at java.lang.Thread.run(Thread.java:1572)
Caused by: org.schabi.newpipe.extractor.services.youtube.sabr.SabrProtocolException: SABR attestation remained pending without media for 3 consecutive responses: parts=5, status=2, maxRetries=-1, backoffMs=-1, policy=true, reload=false, redirect=false, error=null
at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.applyControlPolicy(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:96)
at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.pumpOnceInternal(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:130)
at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.pumpOnceStreamingForDemand(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:52)
at org.schabi.newpipe.player.datasource.SabrStreamPump.pumpOnceStreamingUntilCached(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:9)
at org.schabi.newpipe.player.datasource.SabrStreamPump.loop(r8-map-id-e483615cbc05d0e304c16402bbeafdd046c2c7ec9b004af36f76a49484e487c8:844)
... 2 more
Version
5.2.5-beta
Frequency
Often (80-90% of the time)
Device
Redmi Note 12 Pro 4G, Android 13.
Steps to reproduce the bug
No response
Additional context
So this is likely related to the "YouTube is forcing us to wait 2 seconds" thing, and here's a situation in 5.2.5-beta. Now the 2 seconds error is fixed, or rather has been moved around. Instead, now I consistently at the start of every video get "YouTube is forcing us to wait 5 seconds" error, but it doesn't loop anymore and the video starts as normal after the 5 seconds passed. However, about a minute into the video I'm getting a source error as described in the report. To be honest, the app has become pretty much unusable at this point, even after the latest beta update.
yeah I reported the same error, calm down dude, as @Priveetee said pipepipe is the first yt client to implement SABR protocol, newpipe still hasn't, so it's normal for app to work flawlessly for weeks just to break after google tweaks something. hold on to your hats ( T_T)\(^-^ )
Just to say I was able to watch that video fine in the 5.2.4 release.
Settings (should they help):
YouTube.VideoID=MCivbXqfqfs
YouTube.VideoHost=Techmoan,@Techmoan
PipePipe.PlaybackVideoRes=240p
PipePipe.PlaybackVideoEnc=VP9
PipePipe.PlaybackVideoLang=Original
PipePipe.PlaybackVideoSubs=0
PipePipe.PlaybackVideoSpeed=2.0
PipePipe.EnableFormatTypes:VP9=1,AV1=1,H265=1,EC3=0
PipePipe.IsUserSignedIntoYouTube=0
PipePipe.SponsorBlockEnabled=1
PipePipe.YouTubeObtainMethod=SABR
PipePipe.YouTubeShowSiteVisits=0
PipePipe.NetworkUseCloudflare=0
PipePipe.AppVer=5.2.4
PipePipe.AppUpdateUserOnPRChannel=0
When using 5.2.5-beta, this issue happen and unable to play. When using 5.2.4, issue #2761 keep loops and also unable to play.
5.2.5 beta version bug video download problem please fix
Fixed in 5.2.5-beta4.