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 · 110 comments
Open
6 tasks done

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

zestygrass opened this issue Jun 7, 2024 · 110 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
@Unkn0wnN4m3

This comment was marked as duplicate.

@smellymoo

This comment was marked as off-topic.

@TodorovicSrdjan
Copy link

TodorovicSrdjan commented Dec 7, 2024

I was able to fix this with forced stop and clearing cache. This might help with the throubleshooting.

EDIT: by "fix", I meant that it would allow me to continue watching video. It is not as convenient as it was, but at least I'm still able to use youtube throught NewPipe.

@jonascant

This comment was marked as off-topic.

@smellymoo

This comment was marked as off-topic.

@moteb757

This comment was marked as spam.

@moteb757

This comment was marked as spam.

@TodorovicSrdjan
Copy link

TodorovicSrdjan commented Dec 9, 2024

I was able to fix this with forced stop and clearing cache. This might help with the throubleshooting.

EDIT: by "fix", I meant that it would allow me to continue watching video. It is not as convenient as it was, but at least I'm still able to use youtube throught NewPipe.

Can someone explain to me why this works and why we can't take advantage of this behaviour?

Is it some kind of IP rate limiting? Does this has something to do with the cookies? (seems like it since it works when I clear the cache and create new app process).

Sorry if this is unrelated and unnecessary comment. I'm just trying to help if I can so we can resolve the issue as fast as possible 😇

@johnss

This comment was marked as off-topic.

@tag27
Copy link
Contributor

tag27 commented Dec 11, 2024

Can someone explain to me why this works and why we can't take advantage of this behaviour?

I don't know how it worked in your case, since the problem has to do with IP (Even official YouTube instances are affected).

@rchltmedia-codeviewer
Copy link

i had the same issue while using cell data from IM3 Indosat. the issue did not present on wi-fi & telkomsel.

(indosat and telkomsel is the indonesian cell provider)

@TheRedCyclops
Copy link

I was able to fix this with forced stop and clearing cache. This might help with the throubleshooting.

EDIT: by "fix", I meant that it would allow me to continue watching video. It is not as convenient as it was, but at least I'm still able to use youtube throught NewPipe.

Can someone explain to me why this works and why we can't take advantage of this behaviour?

Is it some kind of IP rate limiting? Does this has something to do with the cookies? (seems like it since it works when I clear the cache and create new app process).

Sorry if this is unrelated and unnecessary comment. I'm just trying to help if I can so we can resolve the issue as fast as possible 😇

I think there are two separate issues, one where it's loading in the browser but not in NewPipe and another one where the stream is blocked both in the browser and NewPipe, probably on an IP basis. This seems to be a workaround when it's the first case.

@tizbac
Copy link

tizbac commented Dec 30, 2024 via email

@tangelogh

This comment was marked as duplicate.

@Figim

This comment was marked as resolved.

@TodorovicSrdjan
Copy link

TodorovicSrdjan commented Jan 7, 2025

Update on my end. Few day after I mentioned the trick with cache, I experienced the same issue like everyone else. I thought Newpipe and every other similar attempt to use yt without account is dead. But then I changed location and now I didn't have issue playing videos. None of them were blocked.

I think that my first IP might be flagged because it was pooling for subscribed channel updates, 150+ channels. Could that be an indicator for them to block the address?

Sudden visit of 100+ channels in few seconds, over some period of time (weeks probably) could be an indicator that someone is using Newpipe.

When I get home, I'll have to check how videos on TV could be played when the public IP was the same. YT app on it could play any video, if I recall it correctly. If everything is blocked on NewPipe (and similar apps) and it plays videos on TV just fine then maybe it is not IP related (or at least it is not blocked only by IP).

@TodorovicSrdjan
Copy link

TodorovicSrdjan commented Jan 7, 2025

BTW, it seems to me, that I get this message only when I am 'binge-watching' a playlist. Either when I watch some bits, or even several short videos of +5min each (no Shorts itself!), I get this message. However, when I watch several videos for longer than +10min each, I do not get this error message, even on a local (active?) VPN server. Otherwise I have to hope merely to another country with the official VPN app of my provider, and/or restart the app (no forced restart!), and off I go (again)...

@86ul I think that my issues with NewPipe began like that. First few videos got blocked. I didn't pay much attention to it. Then it would play one video at a time, just like you said. I'd then delete cache after watching that one video and it would work for few videos afterwards.

In the last stage, almost every video was blocked, no matter what you do.

There are some exceptions tho. Those are probably videos which are not age-restricted nor copyrighted. For example, official channel of an artist is blocked, but reuploads and recorded live performances could be played in some cases.

That's what I observed but idk, I'll also have to check that and confirm the theory.

@daboudii
Copy link

daboudii commented Jan 7, 2025

Just got a way to watch a "Sign in to confirm...." by using the wayback machine from Internet Archive, can it be a weird by pass for older video with the age restriction ? Of course this won't work for recent one

@0Karakurt0
Copy link

0Karakurt0 commented Jan 8, 2025

Sudden visit of 100+ channels in few seconds, over some period of time (weeks probably) could be an indicator that someone is using Newpipe.

480 channels here, and it still works fine on mobile connection. But I get blocked on home WiFi :/
Although I think it may be beneficial anyway to implement asynchronous channel updates and some logic to stretch it over time while in background.

@RelotiusFanboy007
Copy link

I am also getting hit with "Sign in to confirm...." since a few days with my home ISP.
There is one thing:
I have a Pi that creates a Wifi AP for some IoT devices. When I am connected to the Pi I dont get the "Sign in to confirm....". How is that possible? Sitting behind a NAT changes things for google?

@smellymoo
Copy link

Use PipePipe instead, a fork of newpipe. Devs are less hostile and actually have this feature.

@mycodedoesnotcompile2
Copy link

mycodedoesnotcompile2 commented Jan 11, 2025

Will this "Sign in to confirm" nasty bug ever be fixed some days ?

@tizbac
Copy link

tizbac commented Jan 11, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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