PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] 1 second SABR loop again

Open shishcraft5 opened this issue 3 weeks ago • 3 comments

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

Playback is giving waiting time in every video recently and I've encountered 1s loop after a long time, is yt messing stuff up again?

Exception

  • User Action: play stream
  • Request: Loading failed for [PEGGLE E BLASFEMIA]: https://www.youtube.com/watch?v=G6KL2QW4Jpg
  • Content Country:
  • Content Language: it-
  • App Language: it
  • Service: YouTube (Logged in)
  • Endpoint: mweb
  • Version: 5.5.0
  • OS: Linux Android 16 - 36
Crash log

org.schabi.newpipe.player.mediasource.FailedMediaSource$StreamInfoLoadException: java.lang.IllegalStateException: Unable to create SABR video source for https://www.youtube.com/watch?v=G6KL2QW4Jpg
	at org.schabi.newpipe.player.playback.MediaSourceManager$$ExternalSyntheticLambda6.apply(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:34)
	at com.grack.nanojson.JsonBuilder.onError(dex-id-d4826c5567b4ecfb5170dfe2874a18e3f410d83a:23)
	at com.grack.nanojson.JsonBuilder.onError(dex-id-d4826c5567b4ecfb5170dfe2874a18e3f410d83a:73)
	at com.grack.nanojson.JsonBuilder.onSuccess(dex-id-d4826c5567b4ecfb5170dfe2874a18e3f410d83a:39)
	at com.grack.nanojson.JsonBuilder.onSuccess(dex-id-d4826c5567b4ecfb5170dfe2874a18e3f410d83a:64)
	at androidx.activity.FullyDrawnReporter.onSuccess(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:10)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.onSuccess(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:3)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle$ToSingleMaybeSubscriber.onSuccess(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:9)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onNext(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:67)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:55)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:12)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:44)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableDefer.subscribeActual(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:26)
	at io.reactivex.rxjava3.core.Flowable.subscribe(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:7)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:9)
	at io.reactivex.rxjava3.core.Maybe.subscribe(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:1)
	at io.reactivex.rxjava3.internal.operators.single.SingleJust.subscribeActual(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:87)
	at io.reactivex.rxjava3.core.Single.subscribe(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:6)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:5)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:10)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:22)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:1)
	at java.util.concurrent.FutureTask.run(FutureTask.java:328)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:323)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:1571)
Caused by: java.lang.IllegalStateException: Unable to create SABR video source for https://www.youtube.com/watch?v=G6KL2QW4Jpg
	at org.schabi.newpipe.player.resolver.VideoPlaybackResolver.resolve(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:646)
	at org.schabi.newpipe.player.playback.MediaSourceManager$$ExternalSyntheticLambda3.apply(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:128)
	at com.grack.nanojson.JsonBuilder.onSuccess(dex-id-d4826c5567b4ecfb5170dfe2874a18e3f410d83a:18)
	... 23 more
Caused by: java.io.IOException: Could not prepare SABR fragments
	at org.schabi.newpipe.player.datasource.SabrDashMediaSource.<init>(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:457)
	at org.slf4j.Logger$-CC.buildMediaSource(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:23)
	at org.schabi.newpipe.player.resolver.VideoPlaybackResolver.resolve(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:607)
	... 25 more
Caused by: org.schabi.newpipe.extractor.services.youtube.sabr.exception.SabrAttestationException: SABR PO token was rejected after 3 attestation recovery retries for video=G6KL2QW4Jpg
	at org.schabi.newpipe.youtube.SabrRequestCoordinator.request(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:304)
	at org.schabi.newpipe.player.datasource.SabrMediaBridge.prepareTimelines(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:55)
	at org.schabi.newpipe.player.datasource.SabrDashMediaSource.<init>(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:84)
	... 27 more
Caused by: org.schabi.newpipe.extractor.services.youtube.sabr.exception.SabrAttestationException: SABR attestation required: parts=3, status=3, maxRetries=20, backoffMs=2000, policy=true, reload=false, redirect=false, error=null
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.fetchAndProcessResponse(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:860)
	at org.schabi.newpipe.extractor.services.youtube.sabr.YoutubeSabrSession.requestOnce(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:31)
	at org.schabi.newpipe.youtube.SabrRequestCoordinator.request(r8-map-id-4dc6836b000cbd09b2da9b275f6f3e476acc7b66e659bc52f6e3849216c1945a:40)
	... 29 more


Version

5.5.0

Frequency

Only once (single occurrence)

Device

Tcl nxtpaper 60 ultra, android 16

Steps to reproduce the bug

No response

Additional context

No response

shishcraft5 avatar Nov 07 '26 00:11 shishcraft5

a fix is ready but not released yet. and as I said before please report in the sabr thread.

InfinityLoop1308 avatar Nov 07 '26 00:11 InfinityLoop1308

a patched version: https://send.cyberjake.xyz/download/4ecab31c546f3e50/#niLZ5HzaE5fBlrHBoilVcQ

InfinityLoop1308 avatar Nov 07 '26 00:11 InfinityLoop1308

@InfinityLoop1308 works fine now 🙋‍♂️ btw plugins r amazing dude ⊙⁠.⁠☉

shishcraft5 avatar Nov 08 '26 22:11 shishcraft5