-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Bug] Content not available in this app. upgrade to latest version of youtube. #3230
Comments
Please post the video(s) ID that you tested. Also for these video ID please check if you can reproduce the same issue on others public instances: https://instances.invidious.io/ |
Also something from this list makes it work for a video again.: refreshing, viewing different videos, turning proxy on/off, restarting docker... It's an intermittent thing, and doesn't seem to be dependent on a specific video, but once it rears it's head, it won't show on the instance in any browser. The two videos in the last thread did, and the videos will work fine on a public instance, because it's something intermittent going wrong with the core. |
In which country is your invidious instance located? So do you confirm that you have no issues whatsoever on most of the public instances and that you are currently only able to reproduce this issue on your local invidious installation? |
I've tested the couple of videos I've found that don't work on a public installation and the videos that haven't worked for me have worked on public instances. After fiddling for a while with it, something in the above list, it will start working again, but so far I haven't figured out what fixed it. Updating fixed it last time because it wipes anything that might be cached and restarts it so... I don't use public instances enough to see if the problem rears it's head or not, I've only used public instances to check to the videos that haven't worked.... although this time when one video stopped, they all stopped and started showing that 5 minute video again. It's hosted in the UK on my internet connection. In docker on a VM running Debian Linux 11 (bullseye), on top of the Proxmox hypervisor. |
@SamantazFox any ideas about this issue? On matrix people were talking about the fact that we are using an old version of the ANDROID client: https://github.com/iv-org/invidious/blob/master/src/invidious/yt_backend/youtube_api.cr#L46 |
yeah, that could be related to the client version. I need to bump them ^^ |
YouTube may be requiring new versions soon. See iv-org/invidious#3230, TeamNewPipe/NewPipe#8713 Authored by: coletdjnz
Okay, I've done a little digging, but it's so intermittent it's hard to get good debug data. I'm not exactly sure what I'm looking for, but in web developer network console, when the video shows the error message, when it's trying to start playback it gets a HTTP 200 straight away then that video loads. On videos where it works normally I get a 302 Moved, then it goes to a HTTP 200. What do I need to be on the lookout for in the network tab, since there's a lot of stuff happening here and I'm not familiar with much of it (I just use invidious and know my away around some web development). |
It's not directly related to invidious, it's an issue between invidious and youtube servers. You won't see anything in the network tab as all the requests are done inside invidious. On your side you can't do anything if you don't have some background in reverse engineering, you will have to wait that the community find a solution for this issue. |
@accessiblepixel Can you me help me with these questions:
These questions will help us replicate this issue on our side because it's very tricky to replace the error, I haven't been able to do it even after 300 tries of loading the same video. |
Yes, my partner uses the official YouTube website on our internet (with Firefox on his computer) and I think he sometimes browses on his phone, but the error video comes up regardless of whether he's using it (I know he's not using it when he is asleep and I am not 😃) We don't have IPv6 enabled. The error comes a couple of times a day, usually after watching a few videos. I've taken to just not watching the video that doesn't work and move on to another one or if I really want to watch it, open it on the YouTube website. If I can help further, please don't hesitate to ask. Next time it happens I will post the lookup for the youtube domain. :) Kind regards, |
@accessiblepixel Thanks to the collaboration in the YouTube reverse engineering community, we finally found the missing parameter (TeamNewPipe/NewPipe#8713 (comment)) that resulted in the error that you got. Please update Invidious and the error will be fixed. |
…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
We should probably add an exception if we find that the videoID returned is not the correct one, like yt-dlp did: https://github.com/yt-dlp/yt-dlp/pull/4593/files This may allow debugging future issues quicker. |
I've updated and I haven't yet seen the same error again. It seems like @unixfox 's suggestion of throwing an exception if the returned video isn't the expected one would be very useful and I see they've opened #3257 for that. That would be very useful, it would have helped me not feel like I was loosing my mind :p Thanks all. |
I've not seen this error from #3230 since, except today where I tried to watch a video and it came up, so it looks like in certain circumstances it's still possible? Was the debug thing not added, where if the video that comes back isn't the video id requested to throw some kind of exception? |
A debug code is going to be added in #3278. I'm waiting for the confirmation from @SamantazFox. I'll update you in this github issue once it has been added. |
@accessiblepixel Please update invidious and report any bug related to the error from this github issue. |
Alright, I've updated to It is a lot less common with the change from #3255 though, for sure, but I've seen it a couple of times now. :) |
Okay, yes, I got a video that doesn't appear and shows the same message and video like before today. Let me know what info and debugging info I need to provide. |
No, I didn't get a debug error like that, unfortunately. I missed screenshotting when it happened last time, but I will grab it when it happens again. Is the debug information available in Thanks, Edit: Also yeah, like last time it doesn't seem like it's tied to a particular video. One video wasn't working last night (showed that 5 minute video) but this morning it worked fine, so I'm not sure that giving a video url would definitely reproduce the issue. Of course I'll provide it to help with debugging, but yeah, still seems pretty random, but a lot less than before. |
Yes Even though the issue may not be related to a particular video, it's still useful information that we can use in order to diagnose the issue. The thing is that we don't know if the potential issue affect some videos or all the videos on YouTube. By having the video ID/URL, we can be sure that either it affects all the videos or some videos. If you happen to reproduce the issue again, sending us a screenshot would really help us. On my side, when I have time I'll try to reproduce the issue. |
Thank you for the screenshot and the video IDs. I'll investigate. |
Finally no need to do anything! I was able to reproduce the issue on my end. About the debug message in Invidious that should have been included in the latest version it wasn't properly implemented. So please update Invidious to the latest version (a7d9df5), and you will see the debug/error message now. EDIT: Found the issue, it's the user agent, we are sending this one: I've opened an issue so that we replicate more precisely the data sent by a real Youtube app on Android: #3256 |
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.
This comment was marked as off-topic.
This comment was marked as off-topic.
Thwart latest fingerprinting attempt (see iv-org/invidious#3230 (comment)) Authored by: coletdjnz
Hello @accessiblepixel can you try if the issue is now fully fixed. We pushed some changes. You will need to update invidious. |
Continuation of #3217 as it was closed so that I couldn't reopen.
Getting same message again, and this time have tried in multiple browsers with no extensions, after cleaning cache, disabling extensions, enabling extensions on my own invidious install in docker on linux from latest tag.
Obviously something isn't working right, even in a fresh browser with no extensions.
I'm trying to report again. Tell me what you need to debug it, as didn't feel it was looked at properly last time.
The text was updated successfully, but these errors were encountered: