-
-
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
[FIXED IN 0.23.2] [YouTube] "The following content is not available on this app." message shown in video/5 minutes of silence instead of a sound #8713
Comments
I noticed this also happens in older versions of official clients, and it's quite random. So YouTube is probably rolling out some sort of update. For those who haven't seen yet: https://support.google.com/youtube/answer/12318250?hl=en-US Similar issues: |
Yes, that's random because when I try to play the video, it works for me. So seems to be a A/B test or a very slow rollout for me. A workaround you can use for now is to block the You can also try to clear metadata in cache from History and cache settings. We should update the client version used to the latest one ( We use right now the |
YouTube may be requiring new versions soon. See iv-org/invidious#3230, TeamNewPipe/NewPipe#8713 Authored by: coletdjnz
Seems like changing the app version may not suffice. If this is to be believed, we need to get our hands on a reproducible environment for us to test on. Since this appears to be an A/B Innertube API test, I'm assuming it is tied to If someone can get their hands on either:
from a request or session that experiences this it might be helpful in creating a reproducible environment. |
@coletdjnz Could the API key used in Newpipe be outdated too? |
According to my tests, the visitor data (at least in the header), user-agent, API key,
No, the API key used is still the same, as you can see on this capture made by mitmproxy: |
I have a visitorData ID that was able to produce the issue, I've packed a bunch of info in that gist: https://gist.github.com/unixfox/a7ba15fa9b71ab302f7eebf7aa876563. Do note that this visitorData ID seems to be tied to the IP address. Here is my dirty script for continuously checking the hash of a YouTube video: https://gist.github.com/unixfox/10a3f4e5a8499059ff18ad8d6b260585 I replicated the issue on a Digitalocean droplet in UK location with IPv6 disabled and the DNS server set to EDIT: I can't reproduce the issue on the client ANDROID_EMBEDDED_PLAYER and IOS. I took these client names from https://github.com/zerodytrash/YouTube-Internal-Clients |
Through trial and errors, I just found in the protobuf player request that the parameter needed to not have the error
In the protobuf decoded raw request (
Here is another preview of the protobuf decoded raw request from this tool https://github.com/nevermoe/protobuf_decoder: {
"01:00:embedded message": {
"01:00:embedded message": {
"16:02:Varint": 3,
"17:03:string": "17.29.34",
"64:20:Varint": 29
}
},
"02:01:string": "c7NdXldReAg"
} The issue is that I've no idea what's the name of the 64th element of the In summary:
I've uploaded the protobuf file here: protobuf.zip I'll continue my research, but if more people can help me in finding that parameter, that would be great. |
I've seen seen this parameter multiple times before — isn't it the Android API level? Ex:
So, if all they're doing is checking the OS version then maybe we could just use the Edit: |
You are correct, I'm on Android 10 and the API level is 29.
Just tested, both I think it's
|
@unixfox have you tried Btw, I've gathered my current knowledge of the protobuf to parameter name mapping here: |
Yes doesn't work. The issue is that the parameter name is case-sensitive... that makes everything much more much difficult |
@unixfox Give |
Thank you @Prototaxis! That's the correct parameter name! I don't get the error anymore. |
I'm glad it worked. Thanks @coletdjnz for forwarding me to this thread. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
…rtube clients Required to prevent YouTube returning a bad player response in some cases. See: #4593, TeamNewPipe/NewPipe#8713, iv-org/invidious#3230, Tyrrrz/YoutubeExplode#647 Authored by: coletdjnz
Checklist
Affected version
0.23.1
Steps to reproduce the bug
Expected behavior
The video should play normally
Actual behavior
The message "The following content is not available on this app. Watch this content on the latest version on YouTube" appears.
Screenshots/Screen recordings
Logs
No response
Affected Android/Custom ROM version
Android 11 / ArrowOS 11
Affected device model
ASUS ZenFone Max Pro M1
Additional information
No response
The text was updated successfully, but these errors were encountered: