Closed wesleymg closed 5 days ago
Can also confirm the issue, also happens with trending tabs and not just videos. Switching networks (eg. VPN) temporarily solves the issue
My uneducated assumption is that google is doing some A/B testing in specific regions/connection
It also carries over to the regular YouTube app which also refuses to work now.
It also occurs bug #11139 after I restarted the the router.
This is maybe not an actual recaptcha error. When you try to use YT on a browser in the same network you get 429 errors
We're sorry... ... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.
You can play sporadic videos. Updating feeds only adds 2-3 videos every x minutes. So this seems to be some kind of burst limiting. I hope you can find a workaround, looks bad.
As an user you should not update your feed anymore to avoid blocking youtube page in general.
It seems that YouTube started to ban IP of Newpipe users. The ban is not complete, I'm still able to watch videos on YouTube with a browser, but there are are errors message and I can't connect to my account. When using a VPN it works for a while, then I'm banned again
I encountered the same Problem, first time yesterday 29.10. Switching to Browser works (Vanadium). Rebooting the phone helps (for a while). Pixel 7a with GrapheneOS and no Google apps.
Seems like every alt youtube platform gets the issue. newpipe, freetube, invidious. Although the error seems different
Likely something changed in the backend
It seems that YouTube started to ban IP of Newpipe users. The ban is not complete, I'm still able to watch videos on YouTube with a browser, but there are are errors message and I can't connect to my account. When using a VPN it works for a while, then I'm banned again
It sounds to me a little like a rate limiting related error, especially since other clients are getting a 429 (too many requests) error.
Are the IP blocks others are experiencing temporary and going away after a few minutes to hours of requests from the app stopping? Also, how many requests has it taken others here within a certain period for the issue to occur?
I think YouTube has used a form of rate limiting for a while so what has likely changed?
It seems that YouTube started to ban IP of Newpipe users. The ban is not complete, I'm still able to watch videos on YouTube with a browser, but there are are errors message and I can't connect to my account. When using a VPN it works for a while, then I'm banned again
It sounds to me a little like a rate limiting related error, especially since other clients are getting a 429 (too many requests) error.
Are the IP blocks others are experiencing temporary and going away after a few minutes to hours of requests from the app stopping? Also, how many requests has it taken others here within a certain period for the issue to occur?
I think YouTube has used a form of rate limiting for a while so what has likely changed?
Considering accessing through the browser still works, I don't think it's rate limiting. Unless they have different limit for embeds, even the trending tab (not video) could get the error too though
Could this have anything to do with the problem perhaps (YouTube releasing a new layout)?
I'm not sure if any of the users in that thread use third party clients, but if not then it could be a more general glitch with a new YouTube API that is causing it to trigger its rate limit block.
These are some related Reddit threads from the past day:
https://www.reddit.com/r/youtube/comments/1gf4a3y/youtube_says_im_offline_but_im_not_affecting/
https://www.reddit.com/r/youtube/comments/1gffluo/does_anyone_know_how_to_fix_error_429/
https://www.reddit.com/r/youtube/comments/1gfkqgn/what_the_actual_hell_is_going_on/
I fear that this might be another Ban-wave as previously mentioned- aimed at specific IPs. Seems both Newpipe and GrayJay are suffering, though GrayJay is able to play videos through a different stream (fails to retrieve iOS stream data, fallsback to UMP) but still returns a 429 Error when prompting refresh/retry on the Home tab, just as Newpipe fails on both Trending/Subscriptions.
same exact issue, to add on it I checked youtube itself in the web of mobile it says "invalid response" and also if you use the youtube app it says smth error 429
Please only comment if you have something useful to provide, thank you!
This is likely triggered by making too many requests to YouTube's internal API within a certain period of time. Refreshing YouTube subscriptions without fast mode is what probably triggers the limit, so it is probably a good idea to disable auto-refresh of subscriptions and avoid refreshing your feed if you have an important number of subscriptions from YouTube for now.
If you stop connecting to YouTube in any way for an unknown amount of time, you should be able to get your access back.
The response the app gets is described in this comment: https://github.com/TeamNewPipe/NewPipe/issues/11661#issuecomment-2446190153 (the HTML response also can be raised if you set an non Google or YouTube Origin
or Referrer
HTTP header on these requests (and this time you get an 403 HTTP error and not a 429 one)).
The app interprets any HTTP 429 error as a captcha request, which is very bad. This must be changed, as it also affects other services (PeerTube for instance if you reach the limit of requests within a certain amount time for your IP the instance has set).
Help is wanted to determine what amount of requests within a certain period of time triggers the error and how much time you need to wait to get back valid responses.
fails to retrieve iOS stream data, fallsback to UMP
UMP is a streaming media protocol used by YouTube and not a way to get URLs of streams.
Is it likely that subscription refreshes were also what was causing the "sign in to confirm you are not a bot" error that some users were reporting earlier this year? In my case I have never used NewPipe or any similar software for keeping track of subscriptions and never had that problem. I'm currently away from home and don't want to load any videos on my data limited mobile connection, but can confirm that the trending page and search pages within NewPipe load normally.
Is the issue known to be affecting those who do not use NewPipe for channel subscription purposes?
There is a setting called Feed Update Threshold. It's possible this issue is occuring for those who have it set to "always update".
I'm experiencing this issue too, as of about 24 hours before this comment. My home and work networks are both affected, but mobile data is not. Maybe fingerprinting is involved? Maybe because I spend much less time on mobile networks?
Some of my relevant settings: fetch from dedicated feed (fast mode?) - off feed update interval - 1 hour auto refresh - 351 channels, frequency 4 hours
It's also important to note that I'm a heavy user. I'm seeing this issue on every device connected to these networks, even after signing in. Sometimes I can load a video in the browser, sometimes not.
Help is wanted to determine what amount of requests within a certain period of time triggers the error and how much time you need to wait to get back valid responses.
Refreshing ~500 subscriptions (taking ~2min) (fetch from dedicated feed OFF) appears sufficient to trigger the error, though not immediately (after a few min).
Waiting 24hrs initially was sufficient to get back valid responses.
It may be that for those with, say, 500 subscriptions, YouTube is interpreting the auto refresh as though you are loading 500 channel pages in a very short period of time, which I think would trigger its probably temporary rate limit block. It's common for Google to display an "unusual traffic" captcha page if you make too many searches in a short period, and I think YouTube is very similar in this regard.
Is it possible that YouTube has simply tightened the threshold of their rate limit as a way of making scraping more difficult, and this is interfering with those who have a large number of auto-updating subscriptions in NewPipe?
Does the issue occur in the kind of scenarios where a ReCaptcha would have previously been shown? I've never had NewPipe ask for a captcha when browsing YouTube, and unlike most here do not have any subscriptions in it.
I've encountered this on a few occasions this week now. It seems YouTube then blocks your IP for some time (this will apply to all clients (even "native" clients) on that network.
I've not been able to restore use of the service in any fashion outside of calling my ISP and getting a new DHCP lease.
Hard to replicate the cause given the consequences of the failure---but it seems the number of requests sent by refreshing subscriptions could be a cause.
I'm able to occasionally view videos on a web client. Many requests fail with 403
or 429
.
I hadn't considered the 429
"appropriate" until I read this thread. No idea how long the "rate-limiting" lasts. I've not had it restored after waiting any duration, only via a new IP address.
EDIT: Just saw @CBSkarmory's response. I'll try waiting 24h for now.
I've tested both NewPipe and FreeTube at home today and haven't had any problems, though I don't use either for subscriptions, and I think this is probably what's causing some users to get this error. My advice would be to delete your subscriptions from the app (or at minimum disable auto refresh) and simply make a note of your favourite channels so you can remember their names and search for them manually if you want to check if they've added a new video.
In the case of FreeTube, it looks like many users are currently able to use it as normal ('d imagine the same is true of NewPipe), so I suspect the 429 error is probably affecting the minority of users of both apps who have a lot of subscriptions and who have auto refresh turned on.
I've not been able to restore use of the service in any fashion outside of calling my ISP and getting a new DHCP lease.
What's DHCP lease? I live in a sh*thole country so I'm not sure they'll even understand me if I say that. Is it the same as asking for an IP change?
I've not been able to restore use of the service in any fashion outside of calling my ISP and getting a new DHCP lease.
What's DHCP lease? I live in a sh*thole country so I'm not sure they'll even understand me if I say that. Is it the same as asking for an IP change?
Yes, exactly.
My network hardware has functionality to relinquish the lease, but doesn't grant a new IP without intervention from my ISP.
@rjdg14 cheers, I'll be more cautious.
Ironically enough, YT seems to 4XX sign-in attempts from "legitimate" first party clients, so I've not found a work around for this outside of new IP addr.
I also ran into this issue after trying to update subscriptions in NewPipe and i'm 429ed on YouTube in the app and on the web until...well I dunno. I hope its not indefinite because I don't know if my ISP will let me DHCP release/renew.
I also ran into this issue after trying to update subscriptions in NewPipe and i'm 429ed on YouTube in the app and on the web until...well I dunno. I hope its not indefinite because I don't know if my ISP will let me DHCP release/renew.
Keep us updated as to the duration as am at a point where I'm concerned about calling again and getting my account flagged or something. Obviously YT's rate limiting "timeout" is unfortunately opaque to us.
You might be able to disconnect router from your network for some time and seeing if you get a new IP on re-connection--I have no suggestions as to the time to do that nor the success. It's not worked for me, but this may differ by ISP. I have to travel for a day this weekend so I'll leave my hardware off the network and see if I get a new IP on return.
FWIW, I can access videos on browsers (unauthenticated) most of the time on my home network, but often requires multiple attempts/disabling DNS filters or content blockers (uBlock/Brave Shields), dumping cookies/cache and other efforts.
20 hours after this, on my work network (an affected network), I can use duckduckgo browser after a fresh wipe, but every request first returns an error, and a refresh will load the requested content. A fresh Newpipe install after doing this still trips up with "recaptcha challenge requested" for every request. Possible Youtube is targeting newpipe and other unofficial apps by sending a broken page on every request which stops newpipe usage in it's tracks. Handling 429 requests better may mitigate symptoms?
The app interprets any HTTP 429 error as a captcha request, which is very bad. This must be changed, as it also affects other services (PeerTube for instance if you reach the limit of requests within a certain amount time for your IP the instance has set).
EDIT: I agree it's an IP ban of some sort. It's just strange that it's happened to me on my work and home networks at seemingly the same time, despite me being the only one around me who use Newpipe or clears cookies regularly.
In my case my home has a static IP4 address which has been the same since about 2004 and is tied to a broadband account. Thankfully I've never used NewPipe for subscriptions, which I think is what is causing this issue. I currently have no problem accessing NewPipe.
You might be able to disconnect router from your network for some time and seeing if you get a new IP on re-connection--I have no suggestions as to the time to do that nor the success. It's not worked for me, but this may differ by ISP. I have to travel for a day this weekend so I'll leave my hardware off the network and see if I get a new IP on return.
Unfortunately I tried that through hardware power cycling and Xfinity is no longer giving me any IP I please, its giving me the same one I had on move-in, and the next DHCP release besides me calling and playing 20 questions is in 3 days. I have to think with the dearth of IPv4 addresses they've just started assigning addresses. I am left wondering if Google has me in the doghouse and for how long (indefinite would not be fun).
I don't know of any customer service contacts at YouTube either to plead my case. I'm probably not going to use NewPipe again for the forseeable future, no disrespect to the maintainers. This is a bad hand we've been dealt.
Also worth mentioning that even if a new IP solves the issue (it did for me twice), it seems that as soon as your IP is flagged, you're in the dog house for some indeterminate time.
Seems to be zero tolerance. In each instance with me, once one request failed, all clients started failing immediately.
Indefinite seems extreme, especially considering these are residential addresses that are typically not static assignments (excluding @rjdg14 above)
Would be a bad deal if random people other than NewPipe/AdBlock/DNS Filtering users start getting these flagged addresses after they're released and lose YT access.
few ideas I too have encountered the same problem (currently it seems to be working, I don't want to break everything again right away) I too have a lot of channels followed (around 300) When newpipe wasn't working, I was able to watch youtube via the browser (on a same device) (so no ip blocking, maybe something about the headers).
Now, while waiting for the problem to be solved, I've switched to a light update of my feeds: "fetch from dedicated feed when available" it seems to be working for the moment (maybe complete verification contributes to the problem )
I can confirm that after 24 hours the blocks stop, so at least its a day's wait.
Updating a number of subscriptions at once is a clear trigger to rise the bot flag. What about adding an update strategy to mimic a regular user, i.e. spreading out subscription updates randomly over the day.
The frequency of full updates could be configurable to x times a day or week.
This way you would have a feed automatically updated with some hours of delay for each subscription, without acting like a bot.
This could also be combined with some subscription priority, e.g. to have multiple update configurations and use one of them for each subscription. This would be more flexible than a blacklist as suggested in #11669.
I only have 124 subscriptions and I'm being blocked. I'm using a VPN tho. I just switched endpoints and updated my list and the next video I tried to watch returned "content unavailable". Switched endpoints again, didn't update my list, same video isn't blocked, nor any others.
I agree, a different way of updating the subscription list needs to be implemented. Maybe shuffling with a basic pseudo-RNG, then taking that list and spacing each channel update out evenly throughout the day. And maybe check the list against trending to make sure if one of your channels pops up on trending, it shows up immediately in the subscriptions feed.
I can reliably reproduce the 405 error when I refresh my 500+ subscriptions.
YouTube still works always with my browser, it seems totally unaffected.
After restarting my degoogled android newpipe works normally reliably.
I just checked my ip adress with https://whatismyipaddress.com/ and after restart my ISP gives my a new IP address. I use mobile data.
But if my IP is somehow flagged, the browser shouldn't work too, right?
I have organized my subscriptions in channel groups. Biggest one with 92 channels. Since they can be refreshed individually and it didn't trigger the 405 error, that's my solution for now.
I was the one who opened duplicate issue #11675. So approximately after 12+ hours browser version of YouTube started working, with intermittent "invalid response received" error, requiring me to refresh the page. But official YouTube app is still giving me 429 error. So the ban was not permanent, but there are still consequences. I'll report back after 24 hours. One interesting detail - right after I was blacklisted, I decided to ask my friend if YouTube is working for him. Recently I started using Google Keyboard's voice to text feature, and keyboard started to throw out occasional connection error issue, even though it never did before. Coincidence? Another reason to de-Google, so many of us depend way too much on Google. But de-googling takes time, in the meantime this is concerning, imagine losing access to your email, drive, when you need it the most.
Using ByeDPI android app in VPN mode which circumvents DPI by creating a local VPN but doesn't change IP resolved this error on New Pipe for me and even resolved other errors in GrayJay & FreeTube as well. Turning off the app quickly brought back the same errors & again turning on errors are gone.
Believe YouTube is able differentiate requests from NewPipe & other invidious clients from browser/android client based on packet inspection but not outright rejecting requests based on IP ban.
This is a useful workaround which is working for me right now, kindly let me know if its working for others.
Link to app-
For two videos it went nice, but here we are again 429 that's all we know
Not experienced any 429 errors yet, hope you are using app in VPN instead of proxy mode.
Tested that method, doesn't seem to work. I don't think DPI protection will even do anything when Google isn't doing MITM because they are the endpoint
Newpipe will probably need to fake being a browser (?)
Uhhh and now what, we won't be able to use newpipe ever again?
Don't quote the whole text , It presents a wall of text to be scrolled down for future readers of this ticket.
I have edited comments with long text quotes.
Yes and now questions are considered spam now 🙄
And now we can't use the app at all now
Help is wanted to determine what amount of requests within a certain period of time triggers the error and how much time you need to wait to get back valid responses.
Refreshing ~500 subscriptions (taking ~2min) (fetch from dedicated feed OFF) appears sufficient to trigger the error, though not immediately (after a few min).
Waiting 24hrs initially was sufficient to get back valid responses.
Thank you for this contribution! I was looking for an answer for a few hours on why regular Youtube was giving me the error 429 and 405 on the Tubular app, and I happen to have more than 600 subscriptions oopsie 😅
Adding to the discussion. I use NewPipe daily about 130 subs on a phone and I use a VPN via the router. In total 3 devices use NewPipe throughout a given day on the same IP. Today I received this error for the first time.
Freetube seems to work, It uses RSS to avoid rate limiting. Could it be fixed impementing something like that?
Adding to the discussion. I use NewPipe daily about 130 subs on a phone and I use a VPN via the router. In total 3 devices use NewPipe throughout a given day on the same IP. Today I received this error for the first time.
Wait exactly 24 hours and the temp. ban will be lifted, after that what I've done is to create channel groups in the 'Subscriptions' section to reduce the amount of subbed channels that'd update at once, delete the 'What's New' tab from the Main page (settings > content > content of main page) to avoid updating the list by accident or just delete your subscriptions at all until a new fix comes out!
Adding to the discussion. I use NewPipe daily about 130 subs on a phone and I use a VPN via the router. In total 3 devices use NewPipe throughout a given day on the same IP. Today I received this error for the first time.
Wait exactly 24 hours and the temp. ban will be lifted, after that what I've done is to create channel groups in the 'Subscriptions' section to reduce the amount of subbed channels that'd update at once, delete the 'What's New' tab from the Main page (settings > content > content of main page) to avoid updating the list by accident or just delete your subscriptions at all until a new fix comes out!
Yeah, or if you are lazy, update subs with a vpn
I can confirm: Refreshing the subscribed feeds (~500) instantly triggers an IP ban (that persists for approx. a day). While the ban is active, NewPipe will prompt to solve a captcha, but that function does fail when attempted in NewPipe. Note: The ban also affects playback via youtube-nocookie, where I get redirected to youtube while a ban is active.
Solution-Ideas: I'd really love to see a triggerable background updater for the feeds, where the requests/min can be adjusted or even better, where NewPipe remembers which channels did not have new content for a long time, and then check those much more seldomly (reducing the necessary requests to Youtube). A first work-around for the ban-problem could even be a simple setting to introduce a fixed minimum-delay between feeds during update (this way the update will take ages, but that could avoid getting the IP banned).
Wait exactly 24 hours and the temp. ban will be lifted, after that what I've done is to create channel groups in the 'Subscriptions' section to reduce the amount of subbed channels that'd update at once, delete the 'What's New' tab from the Main page (settings > content > content of main page) to avoid updating the list by accident or just delete your subscriptions at all until a new fix comes out!
Confirming this is right. Ban is lifted and I can load and play videos.
Checklist
Affected version
0.27.2
Steps to reproduce the bug
Expected behavior
Video should work normally, or reCaptcha should appear and be solved.
Actual behavior
Google reports a 405 error, no reCaptcha appears, and ergo cannot be solved, videos are unwatchable.
Screenshots/Screen recordings
Logs
No response
Affected Android/Custom ROM version
OxygenOS 14.0
Affected device model
OnePlus 12R
Additional information
I can intermittently watch a video, especially if I disconnect from my wifi, but after one or two, I can no longer use the app successfully.