futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
772 stars 48 forks source link

YouTube home feed and video playback broken #431

Closed shadoxxhd closed 1 month ago

shadoxxhd commented 11 months ago

The YouTube home feed doesn't show any videos (screenshot 1), and trying to play a video from subscriptions shows an error message (screenshot 2). screenshot 1 screenshot 2

This issue is intermittent - after 1-2 days, everything is working again, but a couple days later the issue reoccurs.

Kelvin-FUTO commented 11 months ago

I've not seen these yet myself. Our automated tests appear fine too last 2 days or so. How often does this happen? Does it happen once, and a refresh fixes it or does it stay like this for a day. You mention it is for the duration of days.. Youtube does A/B testing, so I'm wondering if you're getting a different response because of that. If you have any additional info that might help that would be great.

Also are you logged into the Youtube plugin? Seeing how you mention opening a video causes the same issue, do you have "use login for details" enabled?

shadoxxhd commented 11 months ago

It happens every couple days (noticed it 4-5 times in total), and once it happens, it doesn't go away for quite some time (5 hours since I noticed it this time, and the issue still persists). Restarting the app, clearing the cache (in Android app settings) or using a VPN don't help.

I am logged in, and the issue occurs whether or not "use login for details" is enabled.

shadoxxhd commented 11 months ago

I just installed grayjay on another device - before logging into YouTube, the home feed showed videos, but after logging in with the same account as on my phone, the same issue appeared. So this does look like some sort of A/B test... Do you need some kind of debug log from me, so you can see what causes the issue?

shadoxxhd commented 11 months ago

Actually, the issue only seems to occur on a certain "channel" associated with the account, and doesn't occur with the other channel on the same account.

shadoxxhd commented 11 months ago

Since my last comment, the issue has been present for me whenever I tried to use Grayjay. What info do you need to tackle this problem?

Kelvin-FUTO commented 11 months ago

With "other channel" you mean an account with multiple channels, and switching between these solves it? Meaning that the issue is specifically account related?

Can you tell me anything about that account, any differences? Anything I could do to potentially reproduce it?

shadoxxhd commented 11 months ago

Yes, one account that has multiple channels, and one breaks Grayjay while the other doesn't.

The channel that causes the issue is the one I use regularly; the other is an old one (not in normal use for years), and has a few videos/subscribers associated with it. The account was recently (few months ago) on a premium trial that was canceled before first payment. Other than that, the account is used to access YouTube with different combinations of DNS level and/or browser level AdBlock (depending on device), so if the theories that YouTube illegally collects that info are actually true, my account/channel could be "flagged" in some way.

Interestingly, just now Grayjay started working again on my regular channel (first try since 18 hours ago). So I might not be able to provide log files until it starts happening again (probably in 1-3 days).

Kelvin-FUTO commented 11 months ago

Weird thing is that unless you enable the toggles I mentioned before (use login for details/channels), we do not actually use your account to make any requests. It should only affect home feed by default. So that confuses me a bit. I do intend to try a trial myself soon to support some of those features, so maybe I can reproduce it then.

Zvonimir-FUTO commented 1 month ago

This seems to be fixed in latest version (264) of Grayjay. Feel free to open a new issue if you are still encountering this.