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

Lemmy Support

157 readers
1 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.

top 5 comments
sorted by: hot top controversial new old
[–] 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 :)

[–] Wintermute@lemmy.villa-straylight.social 2 points 1 year ago (2 children)

Does the URL work from the docker container if you log in to a shell on the container?

[–] pe1uca@lemmy.one 1 points 1 year ago

I was trying it but since it's alpine we don't have curl, but I tried ping and no, it doesn't work.
I'm googling what I can do.

[–] pe1uca@lemmy.one 1 points 1 year ago

Fixed it, I just commented in here from my instance :D But our previous comments don't show up, I think I saw a post about this issue yesterday.

[–] mrwiggles@prime8s.xyz 1 points 1 year ago* (last edited 1 year ago)

Do you have tls enabled? AFAIK it's mandatory for federation.

[edit] I'm dumb and didn't read your post. Ignore me.

load more comments
view more: next ›