#3438·mosquitto

Failure to resolve bridge uri causes mosquitto to never connect to the bridge

Author: MnkrasCreated Jan 8, 2026Updated Sep 28, 2026
LabelsComponent: mosquitto-brokerStatus: Available

Ubuntu 22.02 AMD64 Mosquitto version 2.0.21

We track the connectivity to our upstream bridged broker, and noticed that sometimes on system boot mosquitto can't resolve the bridge uri and makes no further attempts to reconnect, so far restarting the service seems to be the only resolution.

Jan 08 20:22:13 systemd[1]: Starting Mosquitto MQTT Broker...
Jan 08 20:22:13 mosquitto[488]: 1767903733: Loading config file /etc/mosquitto/conf.d/bridge.conf
Jan 08 20:22:13 mosquitto[488]: 1767903733: Warning: Error resolving bridge address: Temporary failure in name resolution.
Jan 08 20:22:13 mosquitto[488]: 1767903733: Loading config file /etc/mosquitto/conf.d/mqtt.conf
Jan 08 20:22:13 mosquitto[488]: 1767903733: Loading config file /etc/mosquitto/conf.d/ws.conf
Jan 08 20:22:13 systemd[1]: Started Mosquitto MQTT Broker.

Specifically when we see Warning: Error resolving bridge address: Temporary failure in name resolution. it doesn't seem like reconnection is attempted, which I would have expected.

Source: eclipse-mosquitto/mosquitto