# Message loss using mqtt subscription?

**URL:** <https://www.thethingsnetwork.org/forum/t/message-loss-using-mqtt-subscription/31162>\
**Category:** Uncategorized\
**Created:** [October 25, 2019, 7:53am UTC](https://www.thethingsnetwork.org/forum/t/message-loss-using-mqtt-subscription/31162 "2019-10-25T07:53:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AsbjornR](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/asbjornr/32/35697_2.png) [@AsbjornR](https://www.thethingsnetwork.org/forum/u/AsbjornR)\
**Post date:** [October 25, 2019, 7:53am UTC](https://www.thethingsnetwork.org/forum/t/message-loss-using-mqtt-subscription/31162/1 "2019-10-25T07:53:23Z")

</div>

Hi

Below is an image showing the received messages every hour for the last 24 hours, 07:00 (utc) 24th Oct - 07:00 25th Oct. Red graph shows data received in cayenne, while the blue is my own mqtt subscription. It’s the same device, and the device sends every 5th minute.  
 ![last24h](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/e/d/ed61523723b3a8bfcdf01674a2b2507171beedbc.png)  
Take a look at my next figure, same device as in the previous figure, data is colleceted via mqtt and shows received messages every hour for the last 30 days. _ **Ignore the period with zero received messages, that was local incident** _.

It could of course be my mqtt subscription service, but I don’t see any indicators of that beeing the case.

So, what have happened, since I lost less messages before, could it be:

- Related to the unstabilities ttn have had lately / due to the increasing load ttn is experiencing?
- A local problem of mine with unknown cause.

Is anyone experiencing the same?

![mqtt_sub](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/a/c/ac940fb7b10bb5e7fa4a99410eaf130015f39929.png)

---

<div class="post-metadata">

**Author:** ![EFthings01](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/efthings01/32/47451_2.png) [@EFthings01](https://www.thethingsnetwork.org/forum/u/EFthings01)\
**Post date:** [October 25, 2019, 2:23pm UTC](https://www.thethingsnetwork.org/forum/t/message-loss-using-mqtt-subscription/31162/2 "2019-10-25T14:23:01Z")

</div>

See [backend packet loss](https://www.thethingsnetwork.org/forum/t/disappear-messages-in-the-app/31059/5). Had some issues with the UDP-connection, but still not clear if messages are lost in the connection or in the backend. referring to the Gateway logs Messages are acknowleged.
