this post was submitted on 10 Jun 2023
5 points (85.7% liked)

Lemmy Support

4676 readers
48 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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]](/c/[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?

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

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

[–] menos08642 1 points 2 years ago

That did it. Thanks!

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

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!

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

Hey thats me! Im glad it helped.

[–] [email protected] 2 points 2 years ago

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

[–] [email protected] 1 points 2 years ago

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

load more comments
view more: next ›