-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] HTTP error 403 for playback or download #11803
Comments
Almost the same case but it has a 403 after close to a minute (0:58 0:59) |
This seems like a resurgence of #11191. |
I'm struggling with this issue as well. Currently EVERY video will fail to load around the one minute mark, except when I play in the background. The issue disappears if I disable my VPN, but obviously I would rather not do so. |
LibreTube plays videos directly from YouTube thanks to its local streaming extractor. Without piped proxy However, this issue only occurs on DASH for LibreTube. Maybe Solution: ReVanced said iOS spoofing didn't work well. Now Android TV is doing the spoofing. They had a similar problem too Playback stopped after 1 minute. Problem Link: ReVanced/revanced-patches#4176 |
@LJNeon Try changing the VPN country, it worked for me. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This is happening to me but I am not using VPN and it doesn't even load the first minute. Some videos load perfectly with no issues, others not at all. |
I am experiencing an issue with video playback on my home Wi-Fi. On mobile data, everything works well. I noticed that the problem only occurs with certain videos: Videos uploaded more than a week ago play without issues. Let me know if there is anything I can do to help troubleshoot this issue. |
For me videos straight up don't start playing at all. No 1 minute mark, it just doesn't play, gives this error instead. |
SkyTube works with the same video on the same device without problem. |
This is sometimes auto corrected. It's not exactly the same time, in the same position. |
I tried videos that don't work on newpipe in the browser and they play perfectly fine. So at least on my end this does seem like an issue with newpipe and not just youtube blocking VPNs after a minute. |
This issue happens to me when I play a playlist after a few songs. |
yt-dlp/yt-dlp#11890 |
There are two issues. One is still not fixed. This is not a solution. Apparently "potoken" should actually be given in any position if needed. This: YouTube is experimenting with some sort of new aggressive IP-based block on videoplayback urls - perhaps to replace or complement the existing "sign in to confirm you are not a bot" error on the player endpoint. This produces an HTTP 403 error on videoplayback urls, regardless of client and protocol (HTTPS, DASH, HLS, UMP, SABR, ONESIE). |
Very aggressive. Sad, google, sad. |
For now, watch videos by turning on the HLS option on LibreTube. Let's wait for the problem to be resolved for DASH. The Http 403 bug mentioned above and the same type other http 403 bug fixed by ytdlp do not occur in HLS YT requires potokens for formats in the middle and end of the video, and HLS is not affected yet. |
This comment was marked as duplicate.
This comment was marked as duplicate.
The best solution would be to crack Potoken. Because it is the cause of http 403 and other playback problems. It simply generated an attestation token. Also with hardware attestation this will become impossible unless you got hw keys As a solution: ReVanced/revanced-patches#2907 MicroG-enabled account support Spoofing options should be increased: iOS tv, Android vr (auth), Android vr, Android tv. If one fails, switch to another. |
Hi, I'm new to Github. Could you give me the link that solves the 403 problem? I hope I'm not asking too much because I don't really know what's going on :c |
Hey, I have a very similar issue with the same error message. (When not pausing and having a break, the video would Playback normally) Steps to reproduce:
Exception
Crash log
|
Please stop the duplicate comments. You see, the problem is known. |
I've read all comments and it appeared that this case was not listed above, thus I wrote it. In my case, closing the app and reopening it lets me playback the whole video without error. Just pausing and resuming it gets me this error, which is why I amended this case. Have a nice day |
It doesn't fix it by closing the app. It's just that this error doesn't always happen. But sometimes it doesn't stop at all and it's annoying. We need to be a little patient. |
I noticed a pattern, the likelihood of the crash issue to occur for me tends to correlate with the likelihood of adds being shown. Videos that never show adds never crash and videos that show adds crash. For example if a video shows adds at the start of the video every 3rd watch the video is also likely to crash just as often. |
This comment was marked as duplicate.
This comment was marked as duplicate.
I tried different WiFi network today, no success. Reset wifi, cellular and bluetooth settings. The rest of steps I took are here: #11872 (comment) |
I see people say that the video stops working when they use the background mode but for me it's not even that? I keep trying to watch let's plays and game reviews without leaving the video player (although I frequently don't bother with entering the full screen mode) and it still breaks when... I think sometimes when I try to skip ahead? Other times videos don't even start playing until I clear NewPipe's cache, which doesn't always work either. Right now one video just won't start but others from the same YouTuber did... but after some minutes and a cleared cache some of them stopped starting too? I don't know, it seems very random. Probably really is something to do with ads. Haven't tried rebooting the phone yet but doubt that would help at all / for long. I'm on mobile data if that matters, no VPN. It feels like this bug is happening more and more frequently for me, right now NewPipe is almost unusable. Hope you guys will find some fix for this, it's a nice app 👍 |
Curious observation: on my cellular connection it worked fine right until today, and on WiFi networks it was blocking a lot, sometimes immediately, not even after a minute. For me it seems like it is somehow related to internet providers and their connection to a wider web. Some identification, and if it is seen with some other connection characteristics you are getting blocked. |
It's possible YT identifies what to block by device unique identificator but it is limited to only narrow IPs range, like chosen providers. And when YT decides to enable they block mechanism globally then even VPNs will not help. But it is just my speculation. |
This comment was marked as off-topic.
This comment was marked as off-topic.
I would like to mention that the same videos that cut off at the one minute mark on new pipe play without issue on both the official app and any browser I try (firefox focus, brave, etc). So while disabling my VPN resolved the issue... this isn't just a simple IP block and somehow newpipe is being flagged when regular browser YouTube isn't. |
My workaround solution, is to force stop NewPipe and clear the cache in 3 or more times somehow temporarily fix this issue. I've been do this for long time. |
Can confirm that force-stop and clearing the cache worked at least for now. Edit: stopped again after 1 minute |
Doesn't work for me. I can clear cache and data as many times as I can imagine, and still have 403 error. The issue is much more complicated and seeing there is no update I think NewPipe can become useless in near time. I think YT is just testing new block feature and it is limited to chosen IPs. But next thing makes this block feature more like mystery - I have 4G WIFI router which makes home WIFI network from 4G cellular network. NewPipe works on that 4G cellular network without issue but doesn't work (403 error) on WIFI made from that 4G. And i am pretty sure YT server just sees 4G IP in both cases. I didn't expect YT to invent such mean way to block third party apps. EDIT: today (9th) NewPipe started working both on WiFi and cellular. Wonder how long it will preserve ... |
its really not that complicated youtube is just flagging IPs, simple as that changing IPs solve it, IPs in similar blocks seem-lying get banned together |
Don't really know wether this is just part of the IP-flagging, but it seemed kind of odd to me, therefore wanted to state what I experienced: Back at my place today (as well as the previous weeks since the issue seems to have appeared for you guys) everything works just fine, even though they could have flagged me the whole time (I stream lots of videos daily). I have a bit of infrastructure running here, most noteworthy is probably my pi-hole setup with aggressive block-lists. |
This issue made YT practically unusable across all of my 10 devices and 167 channels I currently subscribe to. Majority of videos will play for a bit (about a minute, typically 58 or 59 seconds, though sometimes only 18 seconds), then fail with HTTP error. Some videos play in full and some previously failed videos will play later on, after several hours or couple of days. On shorter videos the playback fails sooner, for example on 2 minutes video it fails at 29 seconds. It fails even on channels with very little or no subscribers and no ads. So far I'm unable to establish any clear pattern, the errors seem to be "random" and there is no way to figure out when a specific video will play and when it will fail. During typing this reply I've tried multiple videos, and all have failed but one, which played in full, length 03:25, small channel with 680+ subscribers, video published 5 days ago. The same videos play without issues on the same devices and same networks using either web browser or official YT apps. Interestingly enough, the live stream videos never fails and are running perfectly for many hours across all of my devices and channels. And finally, videos which fail to play, can be downloaded via NewPipe and watched in full without any problems. A bit cumbersome "workaround", but still better than dealing with ads and official app or browser playback. |
Checklist
Affected version
0.27.4
Steps to reproduce the bug
Expected behavior
It should play normally till the end
Actual behavior
It stopped midway and error 403
Screenshots/Screen recordings
No response
Logs
Exception
Crash log
Affected Android/Custom ROM version
No response
Affected device model
Xiaomi Redmi 9 4/64 MTK Helio G80
Additional information
No response
The text was updated successfully, but these errors were encountered: