• KaKi87@jlai.luOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    What am I looking for in the logs though ? All I see is “InboxTimeout”…

    • kernelle@0d.gs
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      /inbox is the endpoint for federation with ActivityPub, so definitely on the right track. Try increasing verbosity to get a full stack traceback to where in the code it’s bugging.

      InboxTimeout means your server is taking too long to process API calls to /inbox, I’ve had them before too due to misconfiguration of the reverse proxy. Make sure you’re passing on the right headers, especially the IP headers so they aren’t rate limited and the Accept header so your server knows to send json when requested.

      Troubleshooting federation gives many options for testing and checking your configuration, running through them might give your more insight.

      • KaKi87@jlai.luOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 hours ago

        So, here’s the full error :

        lemmy-1  | 2025-07-14T00:34:32.098630Z DEBUG HTTP request{http.method=POST http.scheme="https" http.host=blog.kaki87.net http.target=/inbox otel.kind="server" request_id=a9c359f6-eb9d-4888-9ac2-55c1f5bb8e43}: actix_web::middleware::logger:
        Error in response: LemmyError { message: InboxTimeout, inner: InboxTimeout, context: SpanTrace [{ target: "lemmy_server::root_span_builder", name: "HTTP request", fields: "http.method=POST http.scheme=\"https\" http.host=blog.kaki87.net http.target=/inbox otel.kind=\"server\" request_id=a9c359f6-eb9d-4888-9ac2-55c1f5bb8e43", file: "src/root_span_builder.rs", line: 16 }] }
        lemmy-1  | 2025-07-14T00:34:32.098834Z  WARN Error encountered while processing
        the incoming HTTP request: lemmy_server::root_span_builder: InboxTimeout: InboxTimeout
        

        I’ve also been seeing this one :

        lemmy-1  | 2025-07-14T00:41:00.407762Z DEBUG HTTP request{http.method=GET http.scheme="http" http.host=lemmy:8536 http.target=/api/v3/site otel.kind="server" request_id=9aab8319-3f3b-4f4e-8530-3b3633afe2f1}: actix_web::extract: Error for Option<T> extractor: IncorrectLogin: IncorrectLogin
        lemmy-1  | 2025-07-14T00:41:00.427630Z DEBUG HTTP request{http.method=GET http.scheme="http" http.host=lemmy:8536 http.target=/api/v3/post/list otel.kind="server" request_id=ef746ac7-b9a3-4615-bb37-4c12f0ed0827}: actix_web::extract: Error for Option<T> extractor: IncorrectLogin: IncorrectLogin
        

        As for the reverse proxy, I’m using Caddy with the configuration provided here, and it’s supposed to pass those headers by default.

        The suggested curl requests work.

        I wish there was a tool that could just tell what’s wrong, like https://federationtester.matrix.org/ for Matrix…