# Mqtt-in password length

**URL:** <https://discourse.nodered.org/t/mqtt-in-password-length/88313>\
**Category:** General\
**Created:** [28 May 2024 07:44 UTC](https://discourse.nodered.org/t/mqtt-in-password-length/88313 "2024-05-28T07:44:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![HenryTrang](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henrytrang/32/81582_2.png) [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Post date:** [28 May 2024 07:44 UTC](https://discourse.nodered.org/t/mqtt-in-password-length/88313/1 "2024-05-28T07:44:31Z")

</div>

mqtt-in node constantly not connected, when i check the setting i found password has been modify. the length of origin setting pw is 23, when i check it, it become 6. is there limit on pw length on mqtt-in node?

---

<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:** [28 May 2024 07:51 UTC](https://discourse.nodered.org/t/mqtt-in-password-length/88313/2 "2024-05-28T07:51:47Z")

</div>

The password is stored encrypted server side in a node-red config file and is NOT returned to the client side (frontend) editor. You are shown the dots/stars ONLY to represent a password is actually set.

If the password really is being changed, check your logs for suspicious activity. Is you node-red accessible over the internet (i.e. can the editor be accessed outside of your LAN)?

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [28 May 2024 07:53 UTC](https://discourse.nodered.org/t/mqtt-in-password-length/88313/3 "2024-05-28T07:53:04Z")

</div>

Do you mean this field in the MQTT-In node?  
 ![tues_MQTT-In](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/4/34ab340de499621d9aa99f8b905c6c43133be89e.png)  
That is what it is supposed to show.

Have you tried a simple back-to-back test with MQTT-Out and MQTT-In ?

---

<div class="post-metadata">

**Author:** ![HenryTrang](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henrytrang/32/81582_2.png) [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Post date:** [28 May 2024 08:35 UTC](https://discourse.nodered.org/t/mqtt-in-password-length/88313/4 "2024-05-28T08:35:02Z")

</div>

thanks for the answer. if the pw is correct then i have no idea what go wrong that rendering fail to connect mqtt server. the server is available i connected it using other tool. but the node-red node fail.

---

<div class="post-metadata">

**Author:** ![HenryTrang](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henrytrang/32/81582_2.png) [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Post date:** [28 May 2024 08:37 UTC](https://discourse.nodered.org/t/mqtt-in-password-length/88313/5 "2024-05-28T08:37:20Z")

</div>

thanks for your answer. since the pw is correct then i lost what go wrong rendering fail to connect the server. the server is attested.

---

<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:** [28 May 2024 08:39 UTC](https://discourse.nodered.org/t/mqtt-in-password-length/88313/6 "2024-05-28T08:39:32Z")

</div>

where is node-red installed (direct on OS? inside docker? HA plug in?)

where is the broker installed (same computer/device? in a docker container? somewhere else on your network or the internet?)

does the broker expect a specific client ID?

Try connecting to an online test broker: [blog/en/202111/popular-online-public-mqtt-brokers.md at main · emqx/blog · GitHub](https://github.com/emqx/blog/blob/main/en/202111/popular-online-public-mqtt-brokers.md)

Try installing node-red-node-ping & see if your node-red can ping the IP/hostname of the broker.

---

<div class="post-metadata">

**Author:** ![HenryTrang](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henrytrang/32/81582_2.png) [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Post date:** [28 May 2024 09:02 UTC](https://discourse.nodered.org/t/mqtt-in-password-length/88313/7 "2024-05-28T09:02:30Z")

</div>

o i made a silly mistake. the pw input is wrong. i copy the pw from somewhere and it was wrong. i try to copy from origin text, it work now. thanks alot. by the way i install node-red on OS.

---

<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:** [11 June 2024 09:03 UTC](https://discourse.nodered.org/t/mqtt-in-password-length/88313/8 "2024-06-11T09:03:25Z")

</div>

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