this post was submitted on 24 Jun 2023
3 points (100.0% liked)

Lemmy Support

4655 readers
9 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Hello, I recently spun up a Lemmy instance. It kind of works but I observe some weird behaviour. For example, searching communities works very randomly, some I found some I don't and I don't see any pattern. Sometimes I hit "search" and get 0 results but then I reload the page a results appear? Some other very popular communities in very popular servers I don't find at all (even if those servers are in my "federate" list. What am I missing?

top 6 comments
sorted by: hot top controversial new old
[–] hawkwind@lemmy.management 5 points 1 year ago

The popular instances can take a long time to respond. There’s no feedback in the UI either, you click search and then eventually the result will appear. Depending on what you search for, your instance collects more data than what you’re actually searching for.

[–] thedarkfly@feddit.nl 4 points 1 year ago (1 children)

It takes time for your instance to read and gather data about a community. It only does so when you search its address for the first time. I don't know if it keeps tabs on the community of no user subscribed to it on your instance though.

[–] Trendscat@lemmy.world 1 points 1 year ago (1 children)

thanks for the answer. by "address" you mean the !community@server format? or the url?

[–] thedarkfly@feddit.nl 1 points 1 year ago

I think both work, but not sure

[–] Trendscat@lemmy.world 2 points 1 year ago

In particular I am seeing this error when searching for example for: https://lemmy.world/c/science@beehaw.org

 2023-06-24T10:03:44.536671Z ERROR HTTP request{http.method=GET http.scheme="http" http.host=lemmy.krobier.com http.target=/api/v3/ws otel.kind="server" request_id=36cc840b-4954-4504-ae86-bcb822fbacbe http.status_code=101 otel.status_code="OK"}: lemmy_server::api_routes_websocket: couldnt_find_object: error decoding response body: expected value at line 1 column 1
    0: lemmy_apub::fetcher::search::search_query_to_object_id
              at crates/apub/src/fetcher/search.rs:17
    1: lemmy_apub::api::resolve_object::perform
            with self=ResolveObject { q: "https://lemmy.world/c/science@beehaw.org", auth: Some(Sensitive) }
              at crates/apub/src/api/resolve_object.rs:21
    2: lemmy_server::root_span_builder::HTTP request
            with http.method=GET http.scheme="http" http.host=lemmy.krobier.com http.target=/api/v3/ws otel.kind="server" request_id=36cc840b-4954-4504-ae86-bcb822fbacbe http.status_code=101 otel.status_code="OK"
              at src/root_span_builder.rs:16
[–] RoundSparrow@lemmy.ml 1 points 1 year ago

Some other very popular communities in very popular servers I don’t find at all (even if those servers are in my “federate” list. What am I missing?

Lemmy is not scaling well, even with 0.18, and a lot of federation activity is timing out or otherwise failing. There are a few open GItHub issues: https://github.com/LemmyNet/lemmy/issues/3203

Lemmy.ml, Lemmy.world, Beehaw.org - are often ones that give the most trouble. Try small ones and confirm it isn't every server.