Skip to content

Investigate repeated MQTT ping-response timeouts during dev ingestion #116

Description

@n30nex

During native Pi 5 dev-subscriber validation, the server logged repeated pingresp not received, disconnecting events from both MQTT workers and then reconnected. The final combined build recorded 15 connection-loss events over roughly ten minutes, with no application restart, no packet-list HTTP 500s and successful materialized-view refreshes. Ingestion resumed after reconnection.

This is separate from #111, #112, #113 and #115. The cause has not been established. The current worker performs ingestion synchronously from its subscription callback; the message deadline is 30 seconds, keepalive is 30 seconds and ping timeout is 10 seconds. Fixed client IDs derived only from broker name also deserve a parallel-instance check.

Proposed next investigation: measure callback duration, DB/pool wait and incoming/processed cadence, then distinguish broker/network behavior from receive-loop blocking. Any concurrency change should have bounded work and explicit delivery/acknowledgement semantics, with a regression test under slow database work and reconnect.

No credentials, packet bodies or node locations are included in this report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions