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:[email protected]): 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: "[email protected]", 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?
I answered that I here, you need to set lemmy’s container with a non-internal network.
https://lemmy.pe1uca.dev/comment/14022That did it. Thanks!
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!
Hey thats me! Im glad it helped.
Super helpful, thanks for being willing to post your configs!
Are you running in Docker? If so, can your Docker instance connect to the outside world?