[Bug] Video in background mode fails after 59 seconds exactly, and in certain media fails to load
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
Recently as I noticed while at the gym when playing songs that they automatically fails and throw out an error code (I have filed a bug report via email) at exactly 59 seconds in. I was on background mode for these and wasnt in the app itself like I usually do.
I thiught it was a fluke because it was on HarmonyOS 4.2.0.121 (Last known android based OS). So I tried on the Google Pixel 6A running android 17. Same issue.
I dont run VPN either, and I have of course fully stable connection.
Pixel 6a's crash log:
{"user_action":"play stream","request":"Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://www.youtube.com/watch?v=uuQ-2BOy0OE","content_language":"en-US","content_country":"US","app_language":"en_US","service":"YouTube (Logged in)","endpoint":"mweb","package":"InfinityLoop1309.NewPipeEnhanced","version":"5.5.0","os":"Linux Android 17 - 37","time":"2026-11-18 02:39","exceptions":["org.schabi.newpipe.player.PlayerError: ERROR_CODE_IO_UNSPECIFIED\n\tat org.schabi.newpipe.player.PlayerErrorHandler.toPlayerError(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:43)\n\tat org.schabi.newpipe.player.ExoPlayerEventAdapter.onPlayerError(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:488)\n\tat com.google.android.exoplayer2.ExoPlayerImpl.lambda$updatePlaybackInfo$16(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:3)\n\tat com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$Bwd_WtKigxBd7JLyjK0ntOJdfNc(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:1)\n\tat com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda7.invoke(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:34)\n\tat com.google.android.exoplayer2.util.ListenerSet$ListenerHolder.invoke(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:18)\n\tat com.google.android.exoplayer2.util.ListenerSet.lambda$queueEvent$0(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:17)\n\tat com.google.android.exoplayer2.util.ListenerSet.$r8$lambda$AHn9s3qXpdWTkpx2n1DyAlVZ5wI(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:1)\n\tat androidx.profileinstaller.DeviceProfileWriter$$ExternalSyntheticLambda0.run(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:16)\n\tat com.google.android.exoplayer2.util.ListenerSet.flushEvents(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:68)\n\tat com.google.android.exoplayer2.ExoPlayerImpl.updatePlaybackInfo(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:431)\n\tat com.google.android.exoplayer2.ExoPlayerImpl.handlePlaybackInfo(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:208)\n\tat com.google.android.exoplayer2.ExoPlayerImpl.lambda$new$1(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:1)\n\tat com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$dCnkoIUYTim5-glExosd_PMTlm0(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:1)\n\tat com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda20.run(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:30)\n\tat android.os.Handler.handleCallback(Handler.java:1082)\n\tat android.os.Handler.dispatchMessageImpl(Handler.java:135)\n\tat android.os.Handler.dispatchMessage(Handler.java:126)\n\tat android.os.Looper.loopOnce(Looper.java:295)\n\tat android.os.Looper.loop(Looper.java:398)\n\tat android.app.ActivityThread.main(ActivityThread.java:9569)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:575)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:918)\nCaused by: com.google.android.exoplayer2.ExoPlaybackException: Source error\n\tat com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:17)\n\tat com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:298)\n\tat android.os.Handler.dispatchMessageImpl(Handler.java:138)\n\tat android.os.Handler.dispatchMessage(Handler.java:126)\n\tat android.os.Looper.loopOnce(Looper.java:295)\n\tat android.os.Looper.loop(Looper.java:398)\n\tat android.os.HandlerThread.run(HandlerThread.java:140)\nCaused by: java.io.IOException: SABR segment extraction failed: SABR PO token was rejected after 3 attestation recovery retries for video=uuQ-2BOy0OE\n\tat com.google.common.collect.CollectSpliterators$FlatMapSpliteratorOfObject$$ExternalSyntheticLambda0.m(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:35)\n\tat org.schabi.newpipe.player.datasource.SabrSegmentDataSource.awaitSegment(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:35)\n\tat org.schabi.newpipe.player.datasource.SabrSegmentDataSource.open(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:131)\n\tat com.google.android.exoplayer2.upstream.DefaultDataSource.open(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:162)\n\tat com.google.android.exoplayer2.upstream.TeeDataSource.open(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:3)\n\tat com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:273)\n\tat com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:132)\n\tat com.google.android.exoplayer2.upstream.StatsDataSource.open(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:11)\n\tat com.google.android.exoplayer2.source.chunk.ContainerMediaChunk.load(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:71)\n\tat com.google.android.exoplayer2.upstream.Loader$LoadTask.run(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:35)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:1571)\nCaused by: org.schabi.newpipe.extractor.services.youtube.sabr.exception.SabrAttestationException: SABR PO token was rejected after 3 attestation recovery retries for video=uuQ-2BOy0OE\n\tat org.schabi.newpipe.youtube.SabrRequestCoordinator.request(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:304)\n\tat org.schabi.newpipe.player.datasource.SabrMediaBridge.requestFor(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:120)\n\tat org.schabi.newpipe.player.datasource.SabrMediaBridge.awaitSegment(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:78)\n\tat org.schabi.newpipe.player.datasource.SabrSegmentDataSource.awaitSegment(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:23)\n\t... 11 more\nCaused by: org.schabi.newpipe.extractor.services.youtube.sabr.exception.SabrAttestationException: 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\n\tat org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.fetchAndProcessResponse(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:207)\n\tat org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.requestOnce(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:31)\n\tat org.schabi.newpipe.youtube.SabrRequestCoordinator.request(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:40)\n\t... 14 more\n"],"user_comment":"This consistently occured on both HarmonyOS 4.2.0.121 (Last known android based OS) as well as Pixel 6A's OS (Android 17). "}
Version
5.5.0
Frequency
Always (100% of the time)
Device
Pixel 6A, P40 Pro+
Steps to reproduce the bug
- Open a song, in this case I was listening to "Ellie Goulding - Hate Me [Lyrics] ft. Juice WRLD" uploaded by Aquila
- Swipe out the app to make it background mode
- listen till 59 seconds
- It suddenly fails and throws out an error (i have reported it twice via email)
Additional context
if you wish to contact me via email please let me know
Hello !
This is a duplicate of : https://github.com/InfinityLoop1308/PipePipe/issues/3007
Can u close this issue please ?
Have a great day !
thank you. Ticket has been closed.