# Event handler name 'MqttClient connection lost notification'

**URL:** <https://forum.legato.io/t/event-handler-name-mqttclient-connection-lost-notification/5728>\
**Category:** Uncategorized\
**Created:** [April 26, 2021, 3:30pm UTC](https://forum.legato.io/t/event-handler-name-mqttclient-connection-lost-notification/5728 "2021-04-26T15:30:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [April 26, 2021, 3:30pm UTC](https://forum.legato.io/t/event-handler-name-mqttclient-connection-lost-notification/5728/1 "2021-04-26T15:30:17Z")

</div>

Hi all! 😁  
I have a mangOH green with a wp7607 module and a WiFi Talon Mirage Rev 3 module.  
I connected my mangOH to Internet through WiFi. I want to implement mqtt communication, sending messages to a broker. I’m using paho based SW and this is the COMPONENT INIT:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/f/f3de419ac2c884eaf52f20f41172c5f483ffdf0c.png)  
I have the following problem:  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/d/d7008938009a95399a5dd0df75856fc8b7f4008a.png)  
I’m sure that I haven’t connection problems, since I can rightly ping google (8.8.8.8). Can someone explain to me where am I wrong? I will be grateful 🙏  
Thank you for the attention

---

<div class="post-metadata">

**Author:** ![mehdiALL1](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mehdiALL1](https://forum.legato.io/u/mehdiALL1)\
**Post date:** [August 12, 2021, 8:46am UTC](https://forum.legato.io/t/event-handler-name-mqttclient-connection-lost-notification/5728/2 "2021-08-12T08:46:51Z")

</div>

Hello,  
Did the sample available in: [legato-af/apps/sample/mqtt at master · legatoproject/legato-af · GitHub](https://github.com/legatoproject/legato-af/tree/master/apps/sample/mqtt) or [legato-af/apps/test/mqtt at master · legatoproject/legato-af · GitHub](https://github.com/legatoproject/legato-af/tree/master/apps/test/mqtt) works well with your setup?
