Slashzero

  • 2 Posts
  • 47 Comments
Joined 2 years ago
cake
Cake day: June 8th, 2023

help-circle










  • SlashzeroOPtoLemmy SupportHave an instance running, now what?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years ago

    !social@links.dartboard.social

    Searched for that 👆 and checked the logs… timeout issue…

    ERROR HTTP request{http.method=GET http.scheme="http" http.host=hakbox.social http.target=/api/v3/ws otel.kind="server" request_id=882fc7cd-bb3f-4df7-b6d4-a9bece907745 http.status_code=101 otel.status_code="OK"}: lemmy_server::api_routes_websocket: couldnt_find_object: Request error: error sending request for url (https://links.dartboard.social/.well-known/webfinger?resource=acct:social@links.dartboard.social): 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: "!social@links.dartboard.social", 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=hakbox.social http.target=/api/v3/ws otel.kind="server" request_id=882fc7cd-bb3f-4df7-b6d4-a9bece907745 http.status_code=101 otel.status_code="OK" at src/root_span_builder.rs:16









  • SlashzeroOPtoLemmy SupportHelp setting up lemmy instance
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 years ago

    You need to put the container name inside the docker network as the host.

    I was not sure what you meant by this. The closest possibly was this?

    lemmy-ui:
        image: dessalines/lemmy-ui:0.17.4-rc.4
        networks:
          - lemmyinternal
        environment:
          # this needs to match the hostname defined in the lemmy service
          - LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
          # set the outside hostname here
          - LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:1236
          - LEMMY_HTTPS=true
        depends_on:
          - lemmy
        restart: always
    

    I changed localhost:1236 to my FQDM:1236 and it did not seem to have any impact either way. Maybe it did? I honestly don’t know. But, I thank you for the help anyway!


  • SlashzeroOPtoLemmy SupportHelp setting up lemmy instance
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years ago

    I’m trying Brevo right now which has a free SMTP relay allowing 300 emails every 24 hours. The Brevo admin console shows green, relay setup and verified (adding some TXT DNS entries on my domain registrar).

    As far as I can tell, everything is setup, and lemmy.hjson has the email block with the correct smtp-relay address, port, user and password.

    I bring lemmy down and back up to pick up the new settings, but when I go add an email address to my user profile and click save, I get an error:

    email_send_failed: Connection error: time out 0: lemmy_api::local_user::save_settings::perform

    I tried updating to the latest lemmy release candidates for both BE and UI, too. No difference.