Skip to content
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]: Local API failing to get videos for most channels #2165

Closed
2 of 3 tasks
simoniz0r opened this issue Apr 6, 2022 · 13 comments
Closed
2 of 3 tasks

[Bug]: Local API failing to get videos for most channels #2165

simoniz0r opened this issue Apr 6, 2022 · 13 comments
Labels
B: API issue bug Something isn't working

Comments

@simoniz0r
Copy link

Guidelines

Describe the bug

  1. Set the Preferred API Backend to Local API in the general settings.
  2. Refresh your subscriptions page or click on a subscribed channel in the sidebar.
  3. Be bombarded with TypeError: Cannot read properties of undefined (reading 'response') and Falling back to Invidious API errors.

Expected Behavior

Local API and Invidious API should both work for loading video information.

Issue Labels

API issue

FreeTube Version

v0.16.0 Beta

Operating System Version

openSUSE Leap 15.3

Installation Method (If applicable)

.AppImage

Last Known Working FreeTube Version (If Any)

v0.16.0 Beta

Primary API used

Local API

Additional Information

Switching the preferred backend to the Invidious API seems to work, but I'd much rather use the local API as it's usually more reliable.

Nightly Build

@simoniz0r simoniz0r added the bug Something isn't working label Apr 6, 2022
@VictoriousFan
Copy link

I am also getting this error, every time a channel is opened or subscriptions are refreshed.

Installation method:

  • FlatPak
  • Latest nightly build (AMD64.deb)

This started happening (on both installations) just after opening the app on a fresh install, no configuration changes, even after deleting all related files and reinstalling.

Platform: Pop!_OS

@PrestonN
Copy link
Member

PrestonN commented Apr 6, 2022

We're aware of the issue and have made a fix for it here. We'll get the app updated as soon as we can.

@PrestonN
Copy link
Member

PrestonN commented Apr 6, 2022

As a workaround until the next release, you can enable RSS feeds within your subscription settings and enable the Invidious API fallback so that you can still access channels / subscriptions.

@flyhippo
Copy link

flyhippo commented Apr 6, 2022

I have had this problem for several months now, the latest version is very difficult, the number of errors has increased
Win7

@nowakommunikation
Copy link

Freetube seems to have a problem not recognizing the Invidious instance when the "https://" part of the address is missing.

I noticed this since I've also had trouble getting videos during the past days and therefore changed the instance a few times. And every time I copied only the address without the https:// part, it still wouldn't load. When added, everything worked fine.

@ZeroDot1
Copy link

Unfortunately, I also have this problem.

@simoniz0r
Copy link
Author

The latest nightly release (currently available here under artifacts) fixes this issue for me.

@Six-Elements
Copy link

This The error still exists on v0.16.0-nightly-1567 Beta.No video starts and the Invidious API loads very slowly

@formlessdao
Copy link

formlessdao commented Apr 17, 2022

I get the Local Api Error 429 when importing my subscriptions. I have enabled RSS method as primary but I still see these errors.

@efb4f5ff-1298-471a-8973-3d47447115dc

I get the Local Api Error 429 when importing my subscriptions. I have enabled RSS method as primary but I still see these errors.

Ur error is not related to this issue. See documentation for more information about 429 errors
https://docs.freetubeapp.io/usage/common-issues/#429-errors

@formlessdao
Copy link

formlessdao commented Apr 17, 2022

I get the Local Api Error 429 when importing my subscriptions. I have enabled RSS method as primary but I still see these errors.

Ur error is not related to this issue. See documentation for more information about 429 errors https://docs.freetubeapp.io/usage/common-issues/#429-errors

That post you linked does not talk at all about my own issue.

@ChunkyProgrammer
Copy link
Member

I get the Local Api Error 429 when importing my subscriptions. I have enabled RSS method as primary but I still see these errors.

Ur error is not related to this issue. See documentation for more information about 429 errors https://docs.freetubeapp.io/usage/common-issues/#429-errors

That post you linked does not talk at all about my own issue.

Currently, a request to YT or Invidious is made for each subscription you have in order to get the subscription's avatar image so that is probably where this issue is coming from (lots of subscriptions). This won't need to happen when #1783 gets merged

@ChunkyProgrammer
Copy link
Member

original issue seems to be fixed so i will be closing this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B: API issue bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants