this post was submitted on 11 Jun 2023
12 points (100.0% liked)

Lemmy

12535 readers
2 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS
 

Trying to follow Kbin communities from my Lemmy instance is a bit broken. If I try to open one, e.g. https://lemmy.nauk.io/c/[email protected] from my instance, It gives me 404 and the logs show the following error:

2023-06-11T11:01:46.475407Z  WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: couldnt_find_community: error decoding response body: missing field `properties` at line 1 column 182
   0: lemmy_apub::fetcher::resolve_actor_identifier
             at crates/apub/src/fetcher/mod.rs:16
   1: lemmy_apub::api::read_community::perform
           with self=GetCommunity { id: None, name: Some("[email protected]"), auth: Some(Sensitive) }
             at crates/apub/src/api/read_community.rs:30
   2: lemmy_server::root_span_builder::HTTP request
           with http.method=GET http.scheme="http" http.host=lemmy.nauk.io http.target=/api/v3/community otel.kind="server" request_id=e1b55819-fd89-4c89-a145-3ba606fb28b7 http.status_code=400 otel.status_code="OK"
             at src/root_span_builder.rs:16
LemmyError { message: Some("couldnt_find_community"), inner: error decoding response body: missing field `properties` at line 1 column 182

Caused by:
    missing field `properties` at line 1 column 182, context: "SpanTrace" }

Is this a known error in 0.17.3, if not, I should file an issue.

Edit: filed an issue

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (2 children)

Hmm, was able to view it on mine after putting the URL (https://kbin.social/m/linux) into my instance's search bar. But it doesn't seem to show any posts. Normally upon discovering a community lemmy should bring in the top 20 posts.

https://lemmy.rogers-net.com/c/[email protected]

[–] [email protected] 4 points 1 year ago (1 children)

Any time I try to go the Kbin web site as a regular end user, it routes through a Cloudflare "are you human?" Captcha. I wonder if this is causing the issue. If I try a similar URL on my instance I get "404: couldn't find community", but if my instance is getting the same Cloudflare nonsense back, it would probably explain it.

[–] [email protected] 1 points 1 year ago

Yes. This has been now discussed in the GitHub issue. Lemmy tries to fetch JSON, and kbin responds with HTML including the Cloudflare nonsense.

[–] [email protected] 2 points 1 year ago (2 children)

It works for me on lemmy.ml.

[–] [email protected] 1 points 1 year ago

That's probably because lemmy.ml "discovered" that community long before my instance did. I should get all NEW posts from today onwards, but not old ones. It's supposed to grab the top 20 current posts so that it doesn't look empty, but I'm guessing that's a kbin-lemmy incompatibility

[–] [email protected] 1 points 1 year ago

I see lemmy.ml is running versions

UI: 0.17.4-rc.4 BE: 0.17.4-rc.1

and at least my instance is still on

UI: v0.17.3 BE: 0.17.3

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

same issue here unfortunately, I do wonder if it is cloudflare related

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

hmm that seems quite hard to deal with unfortunately

load more comments
view more: next ›