[Bug] Could not get stream
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
Version
4.7
Describe the bug
Exception
- User Action: requested stream
- Request: https://www.youtube.com/watch?v=dEQIqK1k5mg
- Content Country: US
- Content Language: en-US
- App Language: en_US
- Service: YouTube (Logged in)
- Version: 4.7.5
- OS: Linux motorola/bangkk_g/bangkk:15/V1TC35H.88-16/c3b1cd-0e8d4:user/release-keys 15 - 35
Crash log
org.schabi.newpipe.extractor.stream.StreamInfo$StreamExtractException: Could not get any stream. See error variable to get further details.
at org.schabi.newpipe.extractor.stream.StreamInfo.extractStreams(StreamInfo.java:226)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:109)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:88)
at org.schabi.newpipe.util.ExtractorHelper.getNewStreamInfo(ExtractorHelper.java:132)
at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:127)
at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$YTHJjScxCJNO1LTCqs3IKy35iyY(Unknown Source:0)
at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda5.call(Unknown Source:4)
at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(MaybeConcatArray.java:153)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(MaybeConcatArray.java:78)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(FlowableElementAtMaybe.java:66)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray.subscribeActual(MaybeConcatArray.java:42)
at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15868)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
at java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:348)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)
Frequency
Always (100% of the time)
Device
Motorola G84, Android 15
Steps to reproduce the bug
Play any video
Additional context
No response
All youtube videos are completely broken for me as well.
Same on grayjay
Can confirm everything works fine here, with logged in.
Have you tried log out and log in again? It is possible that the auth token is expired.
Logging out and back in fixed it...
Yeah that's the issue. Maybe we need to add a hint to prompt user doing that.
Now it's back: ## Exception
- User Action: requested stream
- Request: https://www.youtube.com/watch?v=TGm32GFxjWE
- Content Country: RO
- Content Language: en-US
- App Language: en_US
- Service: YouTube (Logged in)
- Version: 4.7.5
- OS: Linux samsung/pa3qxeea/pa3q:15/AP3A.240905.015.A2/S938BXXU3AYE7_OXM3AYE7:user/release-keys 15 - 35
Crash log
org.schabi.newpipe.extractor.stream.StreamInfo$StreamExtractException: Could not get any stream. See error variable to get further details.
at org.schabi.newpipe.extractor.stream.StreamInfo.extractStreams(StreamInfo.java:226)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:109)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:88)
at org.schabi.newpipe.util.ExtractorHelper.getNewStreamInfo(ExtractorHelper.java:132)
at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:127)
at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$YTHJjScxCJNO1LTCqs3IKy35iyY(Unknown Source:0)
at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda5.call(Unknown Source:4)
at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
signing out and in again doesn't help - pressing retry as many times as possible does get a chance to load stream..
Some videos have this issue:
Exception
- User Action: requested stream
- Request: https://www.youtube.com/watch?v=8c9f0BzlpP4
- Content Country: RO
- Content Language: en-US
- App Language: en_US
- Service: YouTube (Logged in)
- Version: 4.7.5
- OS: Linux samsung/pa3qxeea/pa3q:15/AP3A.240905.015.A2/S938BXXU3AYE7_OXM3AYE7:user/release-keys 15 - 35
Crash log
org.schabi.newpipe.extractor.exceptions.ExtractionException: Couldn't get audio streams
at org.schabi.newpipe.extractor.stream.StreamInfo.extractStreams(StreamInfo.java:195)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:109)
at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:88)
at org.schabi.newpipe.util.ExtractorHelper.getNewStreamInfo(ExtractorHelper.java:132)
at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:127)
at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$YTHJjScxCJNO1LTCqs3IKy35iyY(Unknown Source:0)
at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda5.call(Unknown Source:4)
at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(MaybeConcatArray.java:153)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(MaybeConcatArray.java:78)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(FlowableElementAtMaybe.java:66)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray.subscribeActual(MaybeConcatArray.java:42)
at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15868)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Caused by: org.schabi.newpipe.extractor.exceptions.ParsingException: Could not get streams
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.ensureStreamsAreCached(YoutubeStreamExtractor.java:711)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getAudioStreams(YoutubeStreamExtractor.java:717)
at org.schabi.newpipe.extractor.stream.StreamInfo.extractStreams(StreamInfo.java:191)
... 30 more
Caused by: org.schabi.newpipe.extractor.exceptions.ParsingException: Failed to parse batch API response
at org.schabi.newpipe.extractor.services.youtube.YoutubeApiDecoder.decodeBatch(YoutubeApiDecoder.java:297)
at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptPlayerManager.deobfuscateBatch(YoutubeJavaScriptPlayerManager.java:205)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.batchDeobfuscateItagUrls(YoutubeStreamExtractor.java:1724)
at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.ensureStreamsAreCached(YoutubeStreamExtractor.java:680)
... 32 more
Caused by: com.grack.nanojson.JsonParserException: Unexpected token 'error' on line 1, char 1
at com.grack.nanojson.JsonTokener.createParseException(Unknown Source:44)
at com.grack.nanojson.JsonTokener.createHelpfulException(Unknown Source:119)
at com.grack.nanojson.JsonTokener.advanceToToken(Unknown Source:95)
at com.grack.nanojson.JsonParser.advanceToken(Unknown Source:12)
at com.grack.nanojson.JsonParser.parse(Unknown Source:1)
at com.grack.nanojson.JsonParser$JsonParserContext.from(Unknown Source:19)
at org.schabi.newpipe.extractor.services.youtube.YoutubeApiDecoder.decodeBatch(YoutubeApiDecoder.java:245)
... 35 more
I have signed out and cleared all webview cookies until a new issue will come soon in the Issues tab