# System notice 'Connection failed to broker'

**URL:** <https://discourse.nodered.org/t/system-notice-connection-failed-to-broker/69181>\
**Category:** General\
**Created:** [18 October 2022 05:02 UTC](https://discourse.nodered.org/t/system-notice-connection-failed-to-broker/69181 "2022-10-18T05:02:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![donghyeon95](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/donghyeon95/32/69326_2.png) [@donghyeon95](https://discourse.nodered.org/u/donghyeon95)\
**Post date:** [18 October 2022 05:02 UTC](https://discourse.nodered.org/t/system-notice-connection-failed-to-broker/69181/1 "2022-10-18T05:02:55Z")

</div>

Hi there,  
I am building a vertical farm sensing and control system.  
The sensor data are gathered into my node-red server through MQTT server (Mosquitto).

Recently, console alert 'connection failed to broker' messages pops up frequently.  
And MQTT communication published from sensor fails to connect,  
however, publishing to sensor from server seems fine.

Why this problem has occured?  
I attached some error message below. Please give some advice!

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

I guess the problem is because of MQTT Connection limit...  
How many MQTT Node Connections are possible?  
System has a lot of connection depended one MQTT node-server. Does this cause the problem?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/3/4310d813a81fe88f82cb5bc3943c758e9af5e058.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:** [18 October 2022 07:46 UTC](https://discourse.nodered.org/t/system-notice-connection-failed-to-broker/69181/2 "2022-10-18T07:46:57Z")

</div>

please don't double post - stick to one thread.

> [@MQTT 'Connection failed to broker'](https://discourse.nodered.org/t/mqtt-connection-failed-to-broker/69188):
>
> Hi there, I am building a vertical farm sensing and control system. The sensor data are gathered into my node-red server through MQTT server (Mosquitto). Recently, console alert 'connection failed to broker' messages pops up frequently. And MQTT communication published from sensor fails to connect, however, publishing to sensor from server seems fine. Why this problem has occured? I attached some error message below. Please give some advice! [image] How many MQTT Node Connections are p…

Closing this duplicate.

---

<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:** [18 October 2022 07:47 UTC](https://discourse.nodered.org/t/system-notice-connection-failed-to-broker/69181/3 "2022-10-18T07:47:02Z")

</div>


