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

Searching for Peertube-Channels does not work #2699

Closed
xundeenergie opened this issue Feb 3, 2023 · 2 comments
Closed

Searching for Peertube-Channels does not work #2699

xundeenergie opened this issue Feb 3, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@xundeenergie
Copy link

Found a bug? Please fill out the sections below. 👍

For backend issues, use lemmy

Issue Summary

Searching for peertube-channels does not work any more on lemmy 0.17.0

Log on searching for "!phalio_tech@diode.zone" (with exclamationmark for community)

lemmy_1     | 2023-02-03T15:34:59.799502Z ERROR lemmy_server::api_routes_websocket: Error during message handling couldnt_find_object: Failed to resolve actor for phalio_tech@diode.zone
lemmy_1     |    0: lemmy_apub::fetcher::search::search_query_to_object_id
lemmy_1     |              at crates/apub/src/fetcher/search.rs:17
lemmy_1     |    1: lemmy_apub::api::resolve_object::perform
lemmy_1     |            with self=ResolveObject { q: "!phalio_tech@diode.zone", auth: Some(Sensitive) }
lemmy_1     |              at crates/apub/src/api/resolve_object.rs:21

Log on searching for "phalio_tech@diode.zone" (the raw username)

lemmy_1     | 2023-02-03T15:37:09.056461Z ERROR lemmy_server::api_routes_websocket: Error during message handling couldnt_find_object: invalid query
lemmy_1     |    0: lemmy_apub::fetcher::search::search_query_to_object_id
lemmy_1     |              at crates/apub/src/fetcher/search.rs:17
lemmy_1     |    1: lemmy_apub::api::resolve_object::perform
lemmy_1     |            with self=ResolveObject { q: "phalio_tech@diode.zone", auth: Some(Sensitive) }
lemmy_1     |              at crates/apub/src/api/resolve_object.rs:21

Log on searching for "@phalio_tech@diode.zone" (with @ for user-search)

lemmy_1     | 2023-02-03T15:37:15.074870Z ERROR lemmy_server::api_routes_websocket: Error during message handling couldnt_find_object: Failed to resolve actor for phalio_tech@diode.zone
lemmy_1     |    0: lemmy_apub::fetcher::search::search_query_to_object_id
lemmy_1     |              at crates/apub/src/fetcher/search.rs:17
lemmy_1     |    1: lemmy_apub::api::resolve_object::perform
lemmy_1     |            with self=ResolveObject { q: "@phalio_tech@diode.zone", auth: Some(Sensitive) }
lemmy_1     |              at crates/apub/src/api/resolve_object.rs:21
@xundeenergie xundeenergie added the bug Something isn't working label Feb 3, 2023
@xundeenergie
Copy link
Author

Searching for Peertube-Users gives a result. It's only for channels.

For example:
This peertube-channel exists
https://kino.schuerz.at/.well-known/webfinger?resource=acct:h0e@kino.schuerz.at

In peertube-log i see:

Feb 03 16:48:55 tube peertube[3967]: [kino.schuerz.at:443] 2023-02-03 16:48:55.637 info: 10.0.100.27 - - [03/Feb/2023:15:48:55 +0000] "GET /.well-known/webfinger?resource=acct:h0e@kino.schuerz.at HTTP/1.0" 200 323 "-" "Lemmy/0.17.0; +https://lemmy.schuerz.at"
Feb 03 16:48:55 tube peertube[3967]: [kino.schuerz.at:443] 2023-02-03 16:48:55.665 info: 10.0.100.27 - - [03/Feb/2023:15:48:55 +0000] "GET /video-channels/h0e HTTP/1.0" 200 3005 "-" "Lemmy/0.17.0; +https://lemmy.schuerz.at"

When i search for this channel. But in Lemmy i get no result and the error-messages from above (initial bugreport)

Searching for a user gives me in Peertube-log this:

Feb 03 16:51:20 tube peertube[3967]: [kino.schuerz.at:443] 2023-02-03 16:51:20.734 info: 10.0.100.27 - - [03/Feb/2023:15:51:20 +0000] "GET /.well-known/webfinger?resource=acct:jakob@kino.schuerz.at HTTP/1.0" 200 317 "-" "Lemmy/0.17.0; +https://lemmy.schuerz.at"

and lemmy shows this, when i click on the search-result:
grafik

@dessalines dessalines transferred this issue from LemmyNet/lemmy-ui Feb 3, 2023
@Nutomic
Copy link
Member

Nutomic commented Feb 3, 2023

Duplicate of #2689

@Nutomic Nutomic marked this as a duplicate of #2689 Feb 3, 2023
@Nutomic Nutomic closed this as completed Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants