Skip to content

Bug: Incorrect identity used in MQTT LWT payload #103

@JeffMboya

Description

@JeffMboya

What were you trying to achieve?

Ensure each component publishes a unique offline LWT identity matching its actual runtime instance

What are the expected results?

LWT payload should include the real instance identity, not the shared SuperMQ credential

What are the received results?

LWT uses username instead of the actual MQTT ClientID or instance ID, creating ambiguous offline events

Steps To Reproduce

Start multiple services sharing one ClientID; inspect their LWT payloads during disconnect

In what environment did you encounter the issue?

Docker Compose with TLS-enabled MQTT using Paho clients in Go services

Additional information you deem important

Ambiguity arises from mixing ClientID, InstanceID, and username; LWT field name proplet_id mismatches its actual value

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions