FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.69k stars 867 forks source link

[Bug]: Subscription feed is empty when hitting RSS ratelimiting #5562

Open BobbyMcJefferson opened 3 months ago

BobbyMcJefferson commented 3 months ago

Guidelines

Describe the bug

After updating to the most recent build https://github.com/FreeTubeApp/FreeTube/actions/runs/10346232986 , the video list on the subscriptions page is now empty and says "Your subscribed channels currently does not have any videos".

Checking "Fetch feed from RSS" doesn't work either.

I thought I broke something by updating to the new build, so I just exported my subscriptions list and imported it into a new 0.21.3 portable installation, still same problem. I can still see the list of subscribed channels, it just won't load the subscription feed for some reaosn.

Expected Behavior

Videos should show up

Maintainer edit: We can't do anything about the ratelimiting without removing or limiting functionality, so instead the solution should be to display a better message when hitting the RSS ratelimits.

Issue Labels

content not loading

FreeTube Version

0.21.3-nightly-4630

Operating System Version

Windows 10

Installation Method

Portable

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

0.21.3

Additional Information

No response

Nightly Build

RAPXT commented 3 months ago

When creating a profile with less than 125 subscriptions, fetching works for me.

https://docs.freetubeapp.io/usage/subscriptions/

fov95 commented 3 months ago

YouTube has a limit on how many requests per day an IP address is allowed to make. If you exceed this limit, you will be greeted with a 429 error and will not be allowed to browse using FreeTube any more. This limit can be reached much faster if you have a large amount of subscriptions

I can confirm this. Never read that site before... After switching VPN exit point the videos load again.

BobbyMcJefferson commented 3 months ago

Oh that makes sense as I have over 500 subscriptions.

After resetting my router to get a new IP, it loads the subscriptions just fine. This was the first time I had to do this.

fov95 commented 3 months ago

I tested further. I can reload like 2-3 times then I have to get a new IP.. Weird..

absidue commented 3 months ago

We can't do anything about you getting ratelimited by YouTube with RSS (the APIs have even stricter ratelimits), without limiting functionality (e.g. we could add a limit to how many subscriptions you can have in FreeTube and limit how often you can refresh your subscriptions but you probably wouldn't like that).

Instead the resolution for this bug report will be to have FreeTube to display a better message when that happens, as the current behaviour of showing Your subscribed channels currently does not have any videos is, as you correctly pointed out, rather missleading.

@fov95 For you specifically, I would suggest not refreshing your subscriptions multiple times right after each other, as you'll hit the YouTube's ratelimits much faster that way.

CTRLexe commented 1 month ago

I found that waiting a while and then setting freetube to "only show latest video for each channel" helped in my case. It's under "subscription settings." Unfortunately there's no option to just do this for bigger profiles.

github-actions[bot] commented 4 weeks ago

This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days.