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.

  • Wintermute
    link
    fedilink
    English
    211 months ago

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

    • @pe1ucaOP
      link
      fedilink
      English
      111 months 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.

    • @pe1ucaOP
      link
      fedilink
      English
      111 months 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.

  • @pe1uca@lemmy.pe1uca.dev
    link
    fedilink
    English
    211 months 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 :)

  • MrWiggles
    link
    fedilink
    English
    1
    edit-2
    11 months ago

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

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