Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Unable to add channels on Vanilla OS (Ubuntu) #114

Closed
ghost opened this issue Mar 21, 2023 · 8 comments
Closed

Unable to add channels on Vanilla OS (Ubuntu) #114

ghost opened this issue Mar 21, 2023 · 8 comments

Comments

@ghost
Copy link

ghost commented Mar 21, 2023

I'm unable to add channels via name or YouTube ID

Software Info:
image

Screencast.from.2023-03-21.16-00-41.webm
@Schmiddiii
Copy link
Collaborator

Can you send over some logs? Assuming it is installed as a flatpak, run Tubefeeder with:

RUST_LOG=tubefeeder=trace,tf=trace flatpak run de.schmidhuberj.tubefeeder

I would suspect that maybe at the time of writing, the Piped-API had some issues (happens sometimes). This would also explain your issue in #111. For that, exchange the "Piped API" in the settings with a URL in this list.

@ghost
Copy link
Author

ghost commented Mar 22, 2023

Can you send over some logs? Assuming it is installed as a flatpak, run Tubefeeder with:

RUST_LOG=tubefeeder=trace,tf=trace flatpak run de.schmidhuberj.tubefeeder

I would suspect that maybe at the time of writing, the Piped-API had some issues (happens sometimes). This would also explain your issue in #111. For that, exchange the "Piped API" in the settings with a URL in this list.

Same error, here's the output

Yes, I know it shows my subs list. I don't mind

[2023-03-22T12:45:09Z DEBUG tf_playlist::playlist_manager] Creating new playlist for observer
[2023-03-22T12:45:09Z DEBUG tf_playlist::playlist_manager] Adding observer to existing playlist
[2023-03-22T12:45:09Z DEBUG tubefeeder::gui::feed::feed_page::imp] Reloading
[2023-03-22T12:45:09Z DEBUG tubefeeder::csv_file_manager] A error opening the file occured
[2023-03-22T12:45:09Z DEBUG tf_platform_youtube::subscription] Generating YT videos from channels Map { iter: Iter([YTSubscription { id: "UC9fSZHEh6XsRpX-xJc6lT3A", name: None }, YTSubscription { id: "UCW6xlqxSY3gGur4PkGPEUeA", name: None }, YTSubscription { id: "UChJP9CkQnCodWR9ZXwE8IdA", name: None }, YTSubscription { id: "UCH5DsMZAgdx5Fkk9wwMNwCA", name: None }, YTSubscription { id: "UCW_9Y89RuQQFwMwSRLcI2fg", name: None }, YTSubscription { id: "UCrbucgv_P9D1fd6yjNrpvLw", name: None }, YTSubscription { id: "UCFBpVaKCC0ajGps1vf0AgBg", name: None }, YTSubscription { id: "UCKp6m5XlXZp4cxmprybkFBw", name: None }, YTSubscription { id: "UCIffDTZLiIYgnzA08UAorKg", name: None }, YTSubscription { id: "UCEGvhHt_j1pQtsHCPc_9Ptg", name: None }, YTSubscription { id: "UCs6KfncB4OV6Vug4o_bzijg", name: None }, YTSubscription { id: "UCJ2UWSIwgQPbNBSv3k_eBLg", name: None }, YTSubscription { id: "UCdqp0KK_Io7TwK5cJMBvB0Q", name: None }, YTSubscription { id: "UChRlaISXbl2gECFAmDzxgzg", name: None }, YTSubscription { id: "UCJwKCyEIFHwUOPQQ-4kC1Zw", name: None }, YTSubscription { id: "UCI8iQa1hv7oV_Z8D35vVuSg", name: None }, YTSubscription { id: "UCjr2bPAyPV7t35MvcgT3W8Q", name: None }, YTSubscription { id: "UCG1_A0jPBGZUpRW7XkaaBkg", name: None }, YTSubscription { id: "UC0W_BIuwk8D0Bv4THbVZZOQ", name: None }, YTSubscription { id: "UCv1Kcz-CuGM6mxzL3B1_Eiw", name: None }, YTSubscription { id: "UCXuqSBlHAE6Xw-yeJA0Tunw", name: None }, YTSubscription { id: "UCVThyXNYXDC9UhDbI8LtghQ", name: None }, YTSubscription { id: "UCV6KDgJskWaEckne5aPA0aQ", name: None }, YTSubscription { id: "UC5UAwBUum7CPN5buc-_N1Fw", name: None }, YTSubscription { id: "UCVYamHliCI9rw1tHR1xbkfw", name: None }, YTSubscription { id: "UC7YOGHUfC1Tb6E4pudI9STA", name: None }]) }
[2023-03-22T12:45:09Z DEBUG tf_core::pipeline::merger] Starting getting subscriptions
[2023-03-22T12:45:09Z DEBUG tf_core::pipeline::merger] Finished getting subscriptions
[2023-03-22T12:45:09Z DEBUG tf_core::pipeline::merger] Starting getting subscriptions
[2023-03-22T12:45:10Z DEBUG tf_core::pipeline::merger] Finished getting subscriptions
[2023-03-22T12:45:25Z ERROR tf_platform_youtube::subscription] Error generating youtube videos from subscriptions [YTSubscription { id: "UC9fSZHEh6XsRpX-xJc6lT3A", name: None }, YTSubscription { id: "UCW6xlqxSY3gGur4PkGPEUeA", name: None }, YTSubscription { id: "UChJP9CkQnCodWR9ZXwE8IdA", name: None }, YTSubscription { id: "UCH5DsMZAgdx5Fkk9wwMNwCA", name: None }, YTSubscription { id: "UCW_9Y89RuQQFwMwSRLcI2fg", name: None }, YTSubscription { id: "UCrbucgv_P9D1fd6yjNrpvLw", name: None }, YTSubscription { id: "UCFBpVaKCC0ajGps1vf0AgBg", name: None }, YTSubscription { id: "UCKp6m5XlXZp4cxmprybkFBw", name: None }, YTSubscription { id: "UCIffDTZLiIYgnzA08UAorKg", name: None }, YTSubscription { id: "UCEGvhHt_j1pQtsHCPc_9Ptg", name: None }, YTSubscription { id: "UCs6KfncB4OV6Vug4o_bzijg", name: None }, YTSubscription { id: "UCJ2UWSIwgQPbNBSv3k_eBLg", name: None }, YTSubscription { id: "UCdqp0KK_Io7TwK5cJMBvB0Q", name: None }, YTSubscription { id: "UChRlaISXbl2gECFAmDzxgzg", name: None }, YTSubscription { id: "UCJwKCyEIFHwUOPQQ-4kC1Zw", name: None }, YTSubscription { id: "UCI8iQa1hv7oV_Z8D35vVuSg", name: None }, YTSubscription { id: "UCjr2bPAyPV7t35MvcgT3W8Q", name: None }, YTSubscription { id: "UCG1_A0jPBGZUpRW7XkaaBkg", name: None }, YTSubscription { id: "UC0W_BIuwk8D0Bv4THbVZZOQ", name: None }, YTSubscription { id: "UCv1Kcz-CuGM6mxzL3B1_Eiw", name: None }, YTSubscription { id: "UCXuqSBlHAE6Xw-yeJA0Tunw", name: None }, YTSubscription { id: "UCVThyXNYXDC9UhDbI8LtghQ", name: None }, YTSubscription { id: "UCV6KDgJskWaEckne5aPA0aQ", name: None }, YTSubscription { id: "UC5UAwBUum7CPN5buc-_N1Fw", name: None }, YTSubscription { id: "UCVYamHliCI9rw1tHR1xbkfw", name: None }, YTSubscription { id: "UC7YOGHUfC1Tb6E4pudI9STA", name: None }]: EOF while parsing a value at line 1 column 0

@Schmiddiii
Copy link
Collaborator

Weird, everything is working fine for me using your subscriptions and the channel you are adding (which is btw already in your subscription list).

Could you maybe:

RUST_LOG=tubefeeder=trace,tf=trace,reqwest=trace flatpak run de.schmidhuberj.tubefeeder

I am mainly looking for a line "response '...' for https://pipedapi.kavin.rocks/feed/...".

@ghost
Copy link
Author

ghost commented Mar 22, 2023

Weird, everything is working fine for me using your subscriptions and the channel you are adding (which is btw already in your subscription list).

Could you maybe:

RUST_LOG=tubefeeder=trace,tf=trace,reqwest=trace flatpak run de.schmidhuberj.tubefeeder

I am mainly looking for a line "response '...' for https://pipedapi.kavin.rocks/feed/...".

[2023-03-22T15:05:17Z DEBUG reqwest::connect] starting new connection: https://pipedapi.kavin.rocks/
[2023-03-22T15:05:17Z DEBUG tf_core::pipeline::merger] Starting getting subscriptions
[2023-03-22T15:05:17Z DEBUG tf_core::pipeline::merger] Finished getting subscriptions
[2023-03-22T15:05:17Z DEBUG tf_core::pipeline::merger] Starting getting subscriptions
[2023-03-22T15:05:17Z DEBUG tf_core::pipeline::merger] Finished getting subscriptions
[2023-03-22T15:05:32Z DEBUG reqwest::async_impl::client] response '522 <unknown status code>' for https://pipedapi.kavin.rocks/feed/unauthenticated?channels=UCVThyXNYXDC9UhDbI8LtghQ,UCXuqSBlHAE6Xw-yeJA0Tunw,UCW_9Y89RuQQFwMwSRLcI2fg,UCs6KfncB4OV6Vug4o_bzijg,UCKp6m5XlXZp4cxmprybkFBw,UChRlaISXbl2gECFAmDzxgzg,UCFBpVaKCC0ajGps1vf0AgBg,UC0W_BIuwk8D0Bv4THbVZZOQ,UCW6xlqxSY3gGur4PkGPEUeA,UChJP9CkQnCodWR9ZXwE8IdA,UCG1_A0jPBGZUpRW7XkaaBkg,UCJwKCyEIFHwUOPQQ-4kC1Zw,UCIffDTZLiIYgnzA08UAorKg,UC7YOGHUfC1Tb6E4pudI9STA,UCV6KDgJskWaEckne5aPA0aQ,UCH5DsMZAgdx5Fkk9wwMNwCA,UCrbucgv_P9D1fd6yjNrpvLw,UCdqp0KK_Io7TwK5cJMBvB0Q,UCjr2bPAyPV7t35MvcgT3W8Q,UCv1Kcz-CuGM6mxzL3B1_Eiw,UC5UAwBUum7CPN5buc-_N1Fw,UCVYamHliCI9rw1tHR1xbkfw,UC9fSZHEh6XsRpX-xJc6lT3A,UCJ2UWSIwgQPbNBSv3k_eBLg,UCI8iQa1hv7oV_Z8D35vVuSg,UCEGvhHt_j1pQtsHCPc_9Ptg

@Schmiddiii
Copy link
Collaborator

It seems to be issues with the piped api (response "522"). What happens if you try to access the URL "https://pipedapi.kavin.rocks/feed/..." in your browser?

@ghost
Copy link
Author

ghost commented Mar 22, 2023

It seems to be issues with the piped api (response "522"). What happens if you try to access the URL "https://pipedapi.kavin.rocks/feed/..." in your browser?

I guess the instance is down
image

@Schmiddiii
Copy link
Collaborator

Could you try another instance from the previously mentioned list? Maybe something without a CDN and somewhat local to you?

@ghost
Copy link
Author

ghost commented Mar 22, 2023

Could you try another instance from the previously mentioned list? Maybe something without a CDN and somewhat local to you?

working on the instance

https://pipedapi.tokhmi.xyz/

Thank you! Closing this issue and making a new issue in #116

@ghost ghost closed this as completed Mar 22, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant