Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YouTube] "Sign in to confirm..."/"Watch on the latest version..." #11139

Open
6 tasks done
zestygrass opened this issue Jun 7, 2024 · 136 comments
Open
6 tasks done

[YouTube] "Sign in to confirm..."/"Watch on the latest version..." #11139

zestygrass opened this issue Jun 7, 2024 · 136 comments
Labels
bug Issue is related to a bug help wanted Help is wanted in fixing this issue requires extractor change This issue requires a change to the extractor youtube Service, https://www.youtube.com/

Comments

@zestygrass
Copy link

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.27.0

Steps to reproduce the bug

  1. Attempt to play any video
  2. Video does not play
  3. Page shows "Content unavailable" page

Expected behavior

Video should play.

Actual behavior

Video does not play.

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=RXQOpChgksI
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB_#u-fw-mon-mu-celsius
  • Service: YouTube
  • Version: 0.27.0
  • OS: Linux Android 14 - 34
Crash log

org.schabi.newpipe.extractor.exceptions.ContentNotAvailableException: Got error: "Sign in to confirm that you're not a bot"
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.checkPlayabilityStatus(YoutubeStreamExtractor.java:948)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:844)
	at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:77)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:118)
	at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$YTHJjScxCJNO1LTCqs3IKy35iyY(ExtractorHelper.java:0)
	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda3.call(R8$$SyntheticClass:0)
	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	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:16144)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	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)


Affected Android/Custom ROM version

Android 14

Affected device model

Google Pixel 6

Additional information

I could replicate this issue on LibreTube and Grayjay.

@zestygrass zestygrass added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Jun 7, 2024
@AudricV AudricV added youtube Service, https://www.youtube.com/ requires extractor change This issue requires a change to the extractor and removed needs triage Issue is not yet ready for PR authors to take up labels Jun 7, 2024
@AudricV
Copy link
Member

AudricV commented Jun 7, 2024

Can you reproduce this issue if you try to watch on youtube.com logged out with the same IP as the one you got this on NewPipe?

@AudricV AudricV added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Jun 7, 2024
@zestygrass
Copy link
Author

zestygrass commented Jun 7, 2024

Yup, tried to play the same video on youtube.com, asks for login.

screenshot-2024-06-07-121917

I am using a vpn, which has not been an issue before today, I will try without the vpn and report back

Edit: Video's play without any issue in newpipe when vpn is off. No longer asks for login

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Jun 7, 2024
@zestygrass
Copy link
Author

Bit of an update, I tried a different vpn server in the same region, newpipe works without asking for login for now on these servers.

@AudricV AudricV changed the title Can't play any video - "Sign in to confirm that you're not a bot" [YouTube] Can't play any video - "Sign in to confirm that you're not a bot" Jun 7, 2024
@AudricV AudricV removed the requires extractor change This issue requires a change to the extractor label Jun 7, 2024
@davidasunmo
Copy link

@AudricV So, is this still a bug or not? If google doesn't like the IP from a VPN for some reason, is it NewPipe's responsibility to try and circumvent that, or is that the responsibility of the user?

@Japhys
Copy link

Japhys commented Jun 9, 2024

I have been experiencing the same since two days or so. Never happened before. But when I open the video in my browser it does not ask me to login.

IMG_20240609_171129 Screenshot_20240609-171141

@opusforlife2
Copy link
Collaborator

This is a network-wide problem. Invidious and Piped (and several others) are also facing the same issue.

@chayleaf
Copy link

chayleaf commented Jun 10, 2024

embeds still work without logging in, but not with a 100% chance

@ladfrombrad
Copy link

https://lemdro.id/post/9678087

Same for me, is very odd.

@NoahJelen
Copy link

I had an issue similar to this many years when tinkering with a Wireguard VPN on Linode. If you're using a commercial VPN or running a VPN system with a VPS (ex: Linode, Digital Ocean), YouTube thinks you're a robot (and forces a login) because the of the data center between YouTube and your device.

@anoraktrend
Copy link

anoraktrend commented Jun 16, 2024

I commented on the Oauth for Subscriptions feature request, but allowing users to sign in via oauth might be the only permanent solution for this issue.

@indomara
Copy link

I have this issue as well, without a vpn. Videos will not play, feed will not load. If I open the video on youtube it plays without being logged in. Thank you to everyone who spends their time on this project, I very much appreciate you.

@NoahJelen
Copy link

I commented on the Oauth for Subscriptions feature request, but allowing users to sign in via oauth might be the only permanent solution for this issue.

Is there a way we could have spoof accounts, similar to how the Aurora Store scrapes Google Play?

@opusforlife2
Copy link
Collaborator

Is there a way we could have spoof accounts, similar to how the Aurora Store scrapes Google Play?

Piped, via Libretube.

@Mennaruuk

This comment was marked as duplicate.

@opusforlife2 opusforlife2 pinned this issue Jun 23, 2024
@opusforlife2 opusforlife2 changed the title [YouTube] Can't play any video - "Sign in to confirm that you're not a bot" [YouTube] "Sign in to confirm..."/"Watch on the latest version..." Jun 27, 2024
@ShareASmile ShareASmile marked this as a duplicate of #11977 Jan 31, 2025
@AudricV
Copy link
Member

AudricV commented Feb 1, 2025

If you are affected by this issue, the support of poTokens which will be added in #11955 may help to fix it.

This used to be the case a long time ago even for datacenter IP adresses, as Invidious instances were able to get streams with them in August 2024 (see iv-org/invidious#4734 (comment)) but that's the case anymore (see iv-org/invidious#4734 (comment)).

So using poTokens shouldn't change anything for such IPs, but for residential IP adresses (and maybe VPNs or proxies), this needs to be tested. As a result, it would be great to let us know if the latest debug APK of #11955 changes anything for you. Thank you in advance for your answers.

@Stef54321

This comment has been minimized.

@BurmeseCracker

This comment has been minimized.

@TeamNewPipe TeamNewPipe temporarily blocked Figim Feb 5, 2025
@MrCatEsq
Copy link

MrCatEsq commented Mar 2, 2025

The problem still occurs with VPN address in 0.27.6 and in debug 0.27.5 po tokens apk:

Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=DxFetGzPPIw
  • Content Country: RU
  • Content Language: ru-RU
  • App Language: ru_RU
  • Service: YouTube
  • Timestamp: 2025-03-02T20:54:00.328+03:00
  • Package: org.schabi.newpipe.debug.potoken
  • Service: YouTube
  • Version: 0.27.5
  • OS: Linux Xiaomi/pyxis/pyxis:10/QKQ1.190828.002/V12.0.3.0.QFCMIXM:user/release-keys 10 - 29
Crash log

org.schabi.newpipe.extractor.exceptions.ContentNotAvailableException: Got error: "Sign in to confirm that you're not a bot"
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.checkPlayabilityStatus(YoutubeStreamExtractor.java:901)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.throwExceptionIfPlayerResponseNotValid(YoutubeStreamExtractor.java:995)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.fetchHtml5Client(YoutubeStreamExtractor.java:960)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:819)
	at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:77)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:118)
	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda8.call(D8$$SyntheticClass:0)
	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	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:16144)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	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:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:919)


Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=iKdYlJ4qpxc
  • Content Country: RU
  • Content Language: ru-RU
  • App Language: ru_RU
  • Service: YouTube
  • Timestamp: 2025-03-02T20:35:15.312+03:00
  • Package: org.schabi.newpipe
  • Service: YouTube
  • Version: 0.27.6
  • OS: Linux Xiaomi/pyxis/pyxis:10/QKQ1.190828.002/V12.0.3.0.QFCMIXM:user/release-keys 10 - 29
Crash log

org.schabi.newpipe.extractor.exceptions.ContentNotAvailableException: Got error: "Sign in to confirm that you're not a bot"
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.checkPlayabilityStatus(YoutubeStreamExtractor.java:901)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.throwExceptionIfPlayerResponseNotValid(YoutubeStreamExtractor.java:995)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.fetchHtml5Client(YoutubeStreamExtractor.java:960)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:819)
	at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:77)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:118)
	at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$bVfA-5gb6gDc8jcAgcGWG5oH0FE(ExtractorHelper.java:0)
	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda3.call(R8$$SyntheticClass:0)
	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	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:16144)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	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:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:919)


Can anyone help with this?

@tizbac
Copy link

tizbac commented Mar 2, 2025 via email

@spvkgn

This comment has been minimized.

@ShareASmile ShareASmile marked this as a duplicate of #12102 Mar 15, 2025
@Figim

This comment has been minimized.

@BurmeseCracker

This comment has been minimized.

@Viktor466780
Copy link

It will be fixed after a while. You may have seen the error for days. If it happens frequently, you should also change your IP address. Your IP address may have been blocked from the start. Make sure the problem does not occur without an account on YT with the "Open in browser" option It happens to me sometimes too. It disappeared after a while. It hasn't been there for 1 week.

Full solution: "potoken+cookies" option like ytdlp. The PoToken generated when logging in is different. However, newpipe does not support logging in and sometimes it fails. But it is not a problem

Yes, the problem persists on youtube.com. The problem stops only when I use VPN or when I log in on the web or use the app.

I hope it will be as you say, lasting a week at most. Otherwise every time I use NewPipe I will have to connect the VPN (in my case I use Proton). Any other suggestions? Maybe configure my router in a certain way?

Thanks for everything.

@Figim
Copy link

Figim commented Mar 16, 2025

It will be fixed after a while. You may have seen the error for days. If it happens frequently, you should also change your IP address. Your IP address may have been blocked from the start. Make sure the problem does not occur without an account on YT with the "Open in browser" option It happens to me sometimes too. It disappeared after a while. It hasn't been there for 1 week.
Full solution: "potoken+cookies" option like ytdlp. The PoToken generated when logging in is different. However, newpipe does not support logging in and sometimes it fails. But it is not a problem

Yes, the problem persists on youtube.com. The problem stops only when I use VPN or when I log in on the web or use the app.

I hope it will be as you say, lasting a week at most. Otherwise every time I use NewPipe I will have to connect the VPN (in my case I use Proton). Any other suggestions? Maybe configure my router in a certain way?

Thanks for everything.

Your IP is blocked heavily. Did you change your IP address? Did you update to the latest version?
0.27.6

@Viktor466780
Copy link

It will be fixed after a while. You may have seen the error for days. If it happens frequently, you should also change your IP address. Your IP address may have been blocked from the start. Make sure the problem does not occur without an account on YT with the "Open in browser" option It happens to me sometimes too. It disappeared after a while. It hasn't been there for 1 week.
Full solution: "potoken+cookies" option like ytdlp. The PoToken generated when logging in is different. However, newpipe does not support logging in and sometimes it fails. But it is not a problem

Yes, the problem persists on youtube.com. The problem stops only when I use VPN or when I log in on the web or use the app.
I hope it will be as you say, lasting a week at most. Otherwise every time I use NewPipe I will have to connect the VPN (in my case I use Proton). Any other suggestions? Maybe configure my router in a certain way?
Thanks for everything.

Your IP is blocked heavily. Did you change your IP address? Did you update to the latest version? 0.27.6

My IP is the same as always. And yes, I have the latest version of NewPipe.

@Figim

This comment has been minimized.

@Viktor466780

This comment has been minimized.

@Figim

This comment has been minimized.

@eternal-sorrow

This comment has been minimized.

@thanhminhmr

This comment has been minimized.

@Figim

This comment has been minimized.

@Viktor466780

This comment has been minimized.

@Figim

This comment has been minimized.

@Viktor466780

This comment has been minimized.

@Figim

This comment has been minimized.

@Viktor466780

This comment has been minimized.

@Viktor466780

This comment has been minimized.

@TeamNewPipe TeamNewPipe locked as too heated and limited conversation to collaborators Mar 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue is related to a bug help wanted Help is wanted in fixing this issue requires extractor change This issue requires a change to the extractor youtube Service, https://www.youtube.com/
Projects
None yet
Development

No branches or pull requests