I’m currently going through some logs and when I do a search from my instance to a post on lemmy.ml, I get the following:

lemmy_1     | 2022-03-03T02:26:39.044892Z  INFO Websocket Request{trace_id=00000000000000000000000000000000}:perform{self=ResolveObject { q: "https://lemmy.ml/post/184244/comment/125405", auth: Some(Sensitive) }}:search_by_apub_id: lemmy_apub_lib::object_id: Fetching remote object https://lemmy.ml/post/184244/comment/125405
lemmy_1     | 2022-03-03T02:26:39.096253Z ERROR Websocket Request{trace_id=00000000000000000000000000000000}: lemmy_websocket::handlers: Error during message handling couldnt_find_object: error decoding response body: EOF while parsing a value at line 1 column 0
lemmy_1     |    0: lemmy_apub::fetcher::search::search_by_apub_id
lemmy_1     |              at crates/apub/src/fetcher/search.rs:20
lemmy_1     |    1: lemmy_api::site::perform
lemmy_1     |            with self=ResolveObject { q: "https://lemmy.ml/post/184244/comment/125405", auth: Some(Sensitive) }
lemmy_1     |              at crates/api/src/site.rs:399
lemmy_1     |    2: lemmy_websocket::handlers::Websocket Request
lemmy_1     |            with trace_id=00000000000000000000000000000000
lemmy_1     |              at crates/websocket/src/handlers.rs:68
  • DessalinesMA
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    You have to remove the post/ part when fetching comments. Lemmy ui doesn’t have proper comment fetching yet, that’s just a front end hack to scroll to a comment in a post.