PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] Unable to load YouTube videos due to expired login session

Open jzzunl opened this issue 2 years ago • 37 comments

Edit: for anyone having the same issue, post the error log and mention if you have logged in. Edit2: solution: Log out -> force close(If you not familiar with that, restart the phone) -> restart, make sure you are not logging in when you open the app

Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=vVIgwyMlHSw
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube
  • Version: 4.0.0
  • OS: Linux Android 14 - 34
Crash log

org.schabi.newpipe.extractor.exceptions.ExtractionException: org.schabi.newpipe.extractor.exceptions.ExtractionException: IOS player response is not valid
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:946)
	at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:84)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:79)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:131)
	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.ExtractionException: IOS player response is not valid
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor$4.onSuccess(YoutubeStreamExtractor.java:1084)
	at org.schabi.newpipe.DownloaderImpl$1.onResponse(DownloaderImpl.java:342)
	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
	... 3 more


jzzunl avatar Nov 19 '24 02:11 jzzunl

does that happen on every video?

InfinityLoop1308 avatar Nov 19 '24 07:11 InfinityLoop1308

does that happen on every video?

Yes

jzzunl avatar Nov 19 '24 15:11 jzzunl

Appears to be a remnant of a setting from when i moved from bravenewpipe Exporting everything then reimporting without settings fixed it Not sure if i should close this thread though

jzzunl avatar Nov 19 '24 19:11 jzzunl

same thing happened to me, the youtube account causes the bug

AlexRulesVGCP avatar Nov 19 '24 19:11 AlexRulesVGCP

@AlexRulesVGCP You also imported setting from bravenewpipe?

InfinityLoop1308 avatar Nov 19 '24 21:11 InfinityLoop1308

Appears to be a remnant of a setting from when i moved from bravenewpipe Exporting everything then reimporting without settings fixed it Not sure if i should close this thread though

Yeah I think it's expected as we are not fully compatible with NewPipe.

InfinityLoop1308 avatar Nov 19 '24 21:11 InfinityLoop1308

You also imported setting from bravenewpipe?

no

AlexRulesVGCP avatar Nov 19 '24 22:11 AlexRulesVGCP

You also imported setting from bravenewpipe?

no

So you meet the problem, and after log out the problem solved? That's strange.

InfinityLoop1308 avatar Nov 19 '24 22:11 InfinityLoop1308

Can you share your error report?

InfinityLoop1308 avatar Nov 19 '24 22:11 InfinityLoop1308

You also imported setting from bravenewpipe?

no

So you meet the problem, and after log out the problem solved? That's strange.

I logged back in and it just fine on mobile data (Forgot to log back in and got 429'd on wifi)

jzzunl avatar Nov 19 '24 22:11 jzzunl

Can you share your error report?

ye ok sure

AlexRulesVGCP avatar Nov 19 '24 22:11 AlexRulesVGCP

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Version: 4.0.0
  • OS: Linux samsung/m11qnseea/m11q:12/SP1A.210812.016/M115FXXU5CWE3:user/release-keys 12 - 31
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Object.equals(java.lang.Object)' on a null object reference
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment.handleResult(VideoDetailFragment.java:1672)
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment.lambda$runWorker$9(VideoDetailFragment.java:980)
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment.$r8$lambda$U48iIKXy1FeNEKzrs0mKI60q5_s(Unknown Source:0)
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment$$ExternalSyntheticLambda14.accept(Unknown Source:8)
	at io.reactivex.rxjava3.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:62)
	at io.reactivex.rxjava3.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:81)
	at io.reactivex.rxjava3.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:123)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8751)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)


AlexRulesVGCP avatar Nov 19 '24 22:11 AlexRulesVGCP

Exception

* **User Action:** ui error

* **Request:** ACRA report

* **Content Country:** US

* **Content Language:** en-US

* **App Language:** en_US

* **Service:** none

* **Version:** 4.0.0

* **OS:** Linux samsung/m11qnseea/m11q:12/SP1A.210812.016/M115FXXU5CWE3:user/release-keys 12 - 31

Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Object.equals(java.lang.Object)' on a null object reference
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment.handleResult(VideoDetailFragment.java:1672)
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment.lambda$runWorker$9(VideoDetailFragment.java:980)
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment.$r8$lambda$U48iIKXy1FeNEKzrs0mKI60q5_s(Unknown Source:0)
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment$$ExternalSyntheticLambda14.accept(Unknown Source:8)
	at io.reactivex.rxjava3.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:62)
	at io.reactivex.rxjava3.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:81)
	at io.reactivex.rxjava3.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:123)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8751)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

No your problem is unlikely related to the account. What does you do? Sign in and everything suddenly doesn't work?

InfinityLoop1308 avatar Nov 19 '24 22:11 InfinityLoop1308

I meet completely same problem.It just work fine 3 days ago and suddenly get failed.

ns920 avatar Nov 22 '24 01:11 ns920

I meet completely same problem.It just work fine 3 days ago and suddenly get failed.

Please share your error report.

InfinityLoop1308 avatar Nov 22 '24 01:11 InfinityLoop1308

Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=NSRaq6u4AwM
  • Content Country: JP
  • Content Language: ja-JP
  • App Language: ja_JP
  • Service: YouTube
  • Version: 4.0.0
  • OS: Linux Android 14 - 34
Crash log

org.schabi.newpipe.extractor.exceptions.ExtractionException: org.schabi.newpipe.extractor.exceptions.ExtractionException: IOS player response is not valid
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:946)
	at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:84)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:79)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:131)
	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:290)
	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.ExtractionException: IOS player response is not valid
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor$4.onSuccess(YoutubeStreamExtractor.java:1084)
	at org.schabi.newpipe.DownloaderImpl$1.onResponse(DownloaderImpl.java:342)
	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
	... 3 more


ns920 avatar Nov 22 '24 03:11 ns920

@ns920 have you login?

InfinityLoop1308 avatar Nov 22 '24 03:11 InfinityLoop1308

@ns920 have you login?

yes.I tried to logged out but problem still same.Then when I restart app at logged out status the problem disappeared.

ns920 avatar Nov 22 '24 03:11 ns920

Seems the problem is related to expired tokens. I will improve the guidance in the next version.

InfinityLoop1308 avatar Nov 22 '24 06:11 InfinityLoop1308

Seems the problem is related to expired tokens. I will improve the guidance in the next version.

oh thx!

SGR21gtb avatar Nov 22 '24 07:11 SGR21gtb