Skip to content

[Bug] Unable to create SABR video source #2625

Closed

Description

@Andmyaxe90

Checklist

  • I make sure that the issue is NOT a duplicate of pinned issues
  • I make sure I am using the LATEST version - check here
  • I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • I have attached the error report in the issue

Describe the bug

Opening any video fails with the following error

Exception

  • User Action: play stream
  • Request: Loading failed for [Gigguk Joins Us On The RV Trip Across Japan! (ft. Daidus & Premier Two) | Day 3]: https://www.youtube.com/watch?v=g6keJqE8NJs
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: YouTube (Anonymous)
  • Endpoint: mweb
  • Version: 5.2.1
  • OS: Linux Android 7.0 - 24
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=g6keJqE8NJs
	at org.schabi.newpipe.player.playqueue.PlayQueueItem$$ExternalSyntheticLambda0.apply(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:34)
	at org.brotli.dec.IntReader.onError(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:23)
	at org.brotli.dec.IntReader.onError(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:73)
	at org.brotli.dec.IntReader.onSuccess(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:39)
	at org.brotli.dec.IntReader.onSuccess(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:110)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.onSuccess(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:3)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle$ToSingleMaybeSubscriber.onSuccess(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:9)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onNext(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:67)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:55)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:12)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:44)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableDefer.subscribeActual(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:26)
	at io.reactivex.rxjava3.core.Flowable.subscribe(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:6)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:9)
	at io.reactivex.rxjava3.core.Maybe.subscribe(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:1)
	at io.reactivex.rxjava3.internal.operators.single.SingleJust.subscribeActual(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:87)
	at io.reactivex.rxjava3.core.Single.subscribe(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:6)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:5)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:10)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:22)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:1)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
	at java.lang.Thread.run(Thread.java:762)
Caused by: java.lang.IllegalStateException: Unable to create SABR video source for https://www.youtube.com/watch?v=g6keJqE8NJs
	at org.schabi.newpipe.player.resolver.VideoPlaybackResolver.resolve(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:340)
	at org.schabi.newpipe.player.playback.MediaSourceManager$$ExternalSyntheticLambda3.apply(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:74)
	at org.brotli.dec.IntReader.onSuccess(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:18)
	... 22 more
Caused by: java.io.IOException: Could not start SABR session for g6keJqE8NJs
	at org.slf4j.Logger$-CC.buildMediaSource(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:449)
	at org.schabi.newpipe.player.resolver.VideoPlaybackResolver.resolve(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:303)
	... 24 more
Caused by: org.schabi.newpipe.extractor.exceptions.ParsingException: Could not initialize WebView V8
	at org.schabi.newpipe.WebViewJavaScriptDecoder.ensureReady(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:59)
	at org.schabi.newpipe.WebViewJavaScriptDecoder.decodeBatch(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:8)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptPlayerManager.deobfuscateBatch(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:24)
	at kotlin.time.DurationKt.maybeDeobfuscateNParameter(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:47)
	at kotlin.time.DurationKt.fromPlayerResponse(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:16)
	at kotlin.time.DurationKt.fetchSabrInfo(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:544)
	at org.schabi.newpipe.player.datasource.SabrSessionStore.getOrCreate(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:185)
	at org.slf4j.Logger$-CC.buildMediaSource(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:130)
	... 25 more
Caused by: java.lang.IllegalStateException: EJS initialization returned false
	at org.schabi.newpipe.WebViewJavaScriptDecoder$$ExternalSyntheticLambda5.onReceiveValue(r8-map-id-0aca2ea857a97be7091319ccc2b495336ae4dde2ac1068f09df4175a97c4edbf:28)
	at uE.onResult(Unknown Source)
	at org.chromium.android_webview.AwContents.a(PG:995)
	at aBg.run(Unknown Source)
	at android.os.Handler.handleCallback(Handler.java:751)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6776)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)


This does not happen with PipePipe 5.20.

Version

5.2.1

Frequency

Always (100% of the time)

Device

Samsung Galaxy J7

Steps to reproduce the bug

No response

Additional context

No response

Activity

  1. InfinityLoop1308 commented on Jul 4, 2026

    @InfinityLoop1308
    Owner

    please update your Android System WebView

  2. Andmyaxe90 commented on Jul 4, 2026

    @Andmyaxe90
    Author

    I don't see any updates available in the Play Store, and I prefer to not update from Android 7. Is there anything else that can be done?

  3. InfinityLoop1308 commented on Jul 4, 2026

    @InfinityLoop1308
    Owner

    maybe update chrome and then go System Settings > Developer Options > webview implementation , select the one with highest version

  4. Andmyaxe90 commented on Jul 4, 2026

    @Andmyaxe90
    Author

    The latest version of Chrome that's compatible is 119.0.6045.194 Would that include the version of Android System WebView needed for PipePie 5.2.1?

  5. InfinityLoop1308 commented on Jul 4, 2026

    @InfinityLoop1308
    Owner

    any webview 80+ is enough

  6. Andmyaxe90 commented on Jul 4, 2026

    @Andmyaxe90
    Author

    Updated Chrome to 119 and videos now play again. Loading is a lot slower now, though.

  7. InfinityLoop1308 commented on Jul 4, 2026

    @InfinityLoop1308
    Owner

    we'll check the perf in the next version.

  8. Andmyaxe90 commented on Jul 4, 2026

    @Andmyaxe90
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions