FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

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

Open simoniz0r opened this issue 4 years ago • 13 comments

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 avatar Apr 06 '22 00:04 simoniz0r

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

VictoriousFan avatar Apr 06 '22 01:04 VictoriousFan

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 avatar Apr 06 '22 01:04 PrestonN

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.

PrestonN avatar Apr 06 '22 02:04 PrestonN

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

flyhippo avatar Apr 06 '22 20:04 flyhippo

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.

nowakommunikation avatar Apr 07 '22 07:04 nowakommunikation

Unfortunately, I also have this problem.

ZeroDot1 avatar Apr 14 '22 09:04 ZeroDot1

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

simoniz0r avatar Apr 15 '22 06:04 simoniz0r

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

Six-Elements avatar Apr 17 '22 09:04 Six-Elements

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

formlessdao avatar Apr 17 '22 13:04 formlessdao

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

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.

formlessdao avatar Apr 17 '22 16:04 formlessdao

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 https://github.com/FreeTubeApp/FreeTube/pull/1783 gets merged

ghost avatar May 16 '22 22:05 ghost

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

ghost avatar May 16 '22 22:05 ghost