Eclipse Mosquitto 2.0 constant disconnects

I upgraded my mqtt server from mosquitto 1.6.x to 2.0 and HA started to disconnect from the mqtt server every 5-6 minutes or so. The mqtt sever logs read as:

1672087211: Client <ha_id> has exceeded timeout, disconnecting.

HA logs are not very informative either:

No ACK from MQTT server in 10 seconds

There is a bug in HA addons page Mosquitto 5.1.1 is broken. · Issue #1887 · home-assistant/addons · GitHub with a similar error, but I have idea what mosquito 5.1.1 means, as the latest version is 2.0.15 (Download | Eclipse Mosquitto)

Has anyone had this problem? All my other services have no problem connecting to mosquitto 2.0

1 Like

I’m experience the same issue with the same setup: Since some upgrade of my MQTT Docker instance to Eclipse Mosquitto 2.0.15 i see these errors and erratic behavior in HASS.

@ivlis were you able to resolve this?

Update: I found multiple upstream bug report and and this seems to be related to v2.0.15. Trying a downgrade right now.