Integration Messages Dropped

Viewed 6

Hi everyone,

We’re facing an issue with our MQTT integration setup and would appreciate any guidance.

Setup details:

Gateway: RAK Gateway

Backend: MQTT

Network Server: ChirpStack v4.15.0

Integration: MQTT Integration (Mosquitto 2.0.18)

Issue:
We are running in a lab environment. we recently observed uplink (decrypted) messages are getting lost at the MQTT integration.

To explain, when our device sends 10 uplink packets, all 10 packets are visible in the ChirpStack UI → Device → LoRaWAN Frames / Events tab, and we can also confirm all 10 packets received with tcpdump.

However, when subscribing to all MQTT topics, we only receive 2–3 packets out of 10.

We created Postgress DB integration as well, and we saw the same behaviour as well.

Summary:

All packets successfully reach ChirpStack (confirmed via UI and tcpdump).

ChirpStack MQTT integration (qos=1) only publishes a subset of the messages (2–3/10).

No clear errors in the logs.

Question:
Why are we seeing this packet loss at the MQTT integration level? Our configuration is pretty basic/standard.
How can we ensure we get all uplinks (10/10) published through the MQTT integration?

Any advice or troubleshooting steps would be greatly appreciated.

Thank you!

1 Answers

However, when subscribing to all MQTT topics, we only receive 2–3 packets out of 10.

You should see all 10 messages at the {REGION_PREFIX}/gateway/+ (e.g. eu868/gateway/+ topic, as this is where ChirpStack gets its data from.

In case ChirpStack does not publish these uplinks to the application/+ MQTT topic, it most likely means that ChirpStack discarded the message because it was discarded because the DevAddr was unknonwn, could not be mapped against a device-session or because it was invalid (invalid MIC or FCnt).