MQTT: connection refused in a loop on localhost?

Hello!

I’m testing Gladys, which is a great project, and I’m having trouble with the MQTT integration that fills my logs with these connection errors:

2026-09-06T17:47:46+0200 <warn> connect.js:50 (MqttClient.<anonymous>) Error while connecting to MQTT - Error: connect ECONNREFUSED 127.0.0.1:1883
2026-09-06T17:47:51+0200 <warn> connect.js:50 (MqttClient.<anonymous>) Error while connecting to MQTT - Error: connect ECONNREFUSED 127.0.0.1:1883
2026-09-06T17:47:56+0200 <warn> connect.js:50 (MqttClient.<anonymous>) Error while connecting to MQTT - Error: connect ECONNREFUSED 127.0.0.1:1883

My config:

I have version 5.0.4 under Unraid (Docker), the MQTT client is connected to the broker of my HA instance. My sensors, etc., are updated correctly in Gladys, so I don’t see why I keep getting this connection error that keeps popping up?

Thanks!

Arf, actually it was the Zigbee2MQTT service that was generating this error, I had started configuring it only to not use it in the end… I’ve disabled it from the settings and there you go :slight_smile:

Too bad we can’t disable a service directly from the integration though!