2

I've been trying to setup my own instance to play around with. I've got everything mostly working except I can't search/add other communities. No matter what format I use in the search field I get a 'No Results' message. Looking in the container logs I'm seeing this error message:

ERROR HTTP request{http.method=GET http.scheme="http" http.host=[myspecialhostname.url] http.target=/api/v3/ws otel.kind="server" request_id=dea385d0-9349-40e6-ae41-fb5cadc2ba91 http.status_code=101 otel.status_code="OK"}: lemmy_server::api_routes_websocket: couldnt_find_object: Request error: error sending request for url (https://lemmy.ml/.well-known/webfinger?resource=acct:main@lemmy.ml): operation timed out 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: "[!main@lemmy.ml](/c/main@lemmy.ml)", 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=[myspecialhostname.url] http.target=/api/v3/ws otel.kind="server" request_id=dea385d0-9349-40e6-ae41-fb5cadc2ba91 http.status_code=101 otel.status_code="OK" at src/root_span_builder.rs:16

Any thoughts as to what I'm doing wrong?

top 6 comments
sorted by: hot top controversial new old
[-] pe1uca@lemmy.pe1uca.dev 3 points 2 years ago

I answered that I here, you need to set lemmy's container with a non-internal network.
https://lemmy.pe1uca.dev/comment/14022

[-] menos08642@lemmy.world 1 points 2 years ago

That did it. Thanks!

[-] scott@lem.free.as 1 points 2 years ago

Are you running in Docker? If so, can your Docker instance connect to the outside world?

[-] don@lemmy.donmcgin.com 1 points 2 years ago

I'm not sure what the problem is specifically in your case, but I did have a hell of a time setting up my instance using docker. I was eventually successful using this user's docker compose and config files from this comment. I had to start over completely from scratch by pruning all of my unused images and networks (sudo docker system prune -a) in between installs, as well as starting fresh with a new docker/lemmy/ folder before everything worked. Hope this helps!

[-] Jattatak@beehaw.org 1 points 2 years ago

Hey thats me! Im glad it helped.

[-] don@lemmy.donmcgin.com 1 points 2 years ago

Super helpful, thanks for being willing to post your configs!

this post was submitted on 10 Jun 2023
2 points (75.0% liked)

Lemmy Support

4667 readers
3 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS