# No data Recevied with MQTT IN

**URL:** <https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284>\
**Category:** General\
**Tags:** mqtt\
**Created:** [31 May 2022 08:24 UTC](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284 "2022-05-31T08:24:12Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![berkerali](https://avatars.discourse-cdn.com/v4/letter/b/8dc957/32.png) [@berkerali](https://discourse.nodered.org/u/berkerali)\
**Post date:** [31 May 2022 10:20 UTC](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284/21 "2022-05-31T10:20:04Z")

</div>

Technically you're right. But I think it is not correct word. No problem, I am here to find the answer and learn my mistake.

---

<div class="post-metadata">

**Author:** ![berkerali](https://avatars.discourse-cdn.com/v4/letter/b/8dc957/32.png) [@berkerali](https://discourse.nodered.org/u/berkerali)\
**Post date:** [31 May 2022 10:20 UTC](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284/22 "2022-05-31T10:20:59Z")

</div>

I'll definetely check out it. Thanks.

---

<div class="post-metadata">

**Author:** ![berkerali](https://avatars.discourse-cdn.com/v4/letter/b/8dc957/32.png) [@berkerali](https://discourse.nodered.org/u/berkerali)\
**Post date:** [31 May 2022 10:24 UTC](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284/23 "2022-05-31T10:24:09Z")

</div>

I'm sure because python script works in my PC. Packets are there. I trigger publishing in my ESP32.

 ![Screenshot 2022-05-31 132314](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/b/bb9053c9e6fe2a90e528e2ebba3031c35aee3369.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [31 May 2022 10:25 UTC](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284/24 "2022-05-31T10:25:27Z")

</div>

I published this ...

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/9/d909d2043cd74df5b29720892ec515b620cb991b.png)

4 minutes ago & it has not changed.

So no, your data is not reaching EMQX

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [31 May 2022 10:28 UTC](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284/25 "2022-05-31T10:28:02Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/b/1b93bebe37309f9e30a205680dbc333418d6ecba.png)

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [31 May 2022 10:42 UTC](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284/26 "2022-05-31T10:42:53Z")

</div>

> [@berkerali](#):
>
> I am here to find the answer

Yes indeed, we all start out as beginners and there is nothing foolish about learning something new.

What I have learned today about the emqx broker is that I can publish and subscribe to a topic without any username/password authorisation.  
I think that is why you are seeing "works for me" messages in your flow, because @Steve-Mcl or someone else has published them.  
It is probably essential for security to use a broker which does offer authentication, I'm not clear if emqx does that.

 ![Untitled 1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/7/77481a5619c75aad6d8d1ca418e62e297a95006e.jpeg)

However, if I was using emqx while learning about MQTT, I would use a topic something like `long_and_complicated_word/CAN/data` (without a leading / ) because my topic would not be visible to someone who subscribed to `/#`

---

<div class="post-metadata">

**Author:** ![berkerali](https://avatars.discourse-cdn.com/v4/letter/b/8dc957/32.png) [@berkerali](https://discourse.nodered.org/u/berkerali)\
**Post date:** [1 June 2022 11:51 UTC](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284/27 "2022-06-01T11:51:37Z")

</div>

Thanks a lot @jbudd @Steve-Mcl @ghayne @zenofmud . It seems there was a "topic name" problem. I have left using / at the start and #. I have changed topic name on ESP32 as well. Now I can get publish messages on node-red platform.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [31 July 2022 11:52 UTC](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284/28 "2022-07-31T11:52:23Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284.md?page=1)
