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

Lemmy Support

4655 readers
30 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

I was able to deploy my lemmy instance, seems it's working on its own as I can create users and change its configuration.

Now I'm trying to search for communities in other instances but I can't make them show up in my searches.

The logs show these errors

Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: couldnt_find_object: Request error: error sending request for url (https://lemmy.ml/.well-known/webfinger?resource=acct:lemmy_support@lemmy.ml): operation timed out  

ERROR HTTP request{http.method=GET http.scheme="https" http.target=/api/v3/ws otel.kind="server" request_id=adcd5dda-7e3c-4bd9-9be0-3314a2738ddf 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/c/lemmy_support): operation timed out

From the host machine the url works properly, not sure if docker could be prevent it in some way.

Do you have any idea what I'm missing?

Edit:
I checked if UFW was blocking some port, but the logs don't show anything.
Also Caddy's log is clean.

you are viewing a single comment's thread
view the rest of the comments
[–] pe1uca@lemmy.pe1uca.dev 2 points 1 year ago

Update: Now it works :D

The issue is currently the docker compose file has the lemmy container with a network set to internal, so it can't access the outside world.
I added a new network without that flag and used it in the lemmy container and everything seems to be working properly now :)