core
core copied to clipboard
Client <XXX> has exceeded timeout, disconnecting. MQTT Broker/Z2m Restarting every X Amount of times
The problem
For a while since having Z2M I have had a much better stable network (Zigbee light switches and such) than ZHA.
Over the last couple of months with updates and not adding anything, my z2m has started to restart which means it would take a while to get the message across to ie turn a light on or fail to complete. It got so bad that I reset to an old backup and thought nothing of it (I think around Aug this year but might be wrong). I didn't update for a while thinking it would break until I got lulled into a false sense of security and thought it was fixed.
I am now not able to restore to fix it. Other than sometimes the lights not turning on for 10/20/30/not at all & my logbook is filled with XXX unavailable (See screenshots) I only notice it a couple of times a day (If I'm not looking at the logbook crying)
I've read so much stuff about what it could be but am still none the wiser about what it is or how to fix it.
If anyone could lend some help to sort out this bug that would be great. I THINK it has to do with the MQTT broker due to HA logs not coinciding with he times it stops responding, but I'm not 100%
What version of Home Assistant Core has the issue?
core-2024.10.1
What was the last working version of Home Assistant Core?
?core-2024.08.xx/?core-2024.07.xx
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Mosquitto broker
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mqtt/
Diagnostics information
home-assistant_2024-10-06T03-41-52.510Z.log
Anything in the logs that might be useful for us?
2024-10-06 01:37:47: Client <unknown> closed its connection.
2024-10-06 01:39:47: New connection from 172.30.32.2:36988 on port 1883.
2024-10-06 01:39:47: Client <unknown> closed its connection.
2024-10-06 01:41:47: New connection from 172.30.32.2:54824 on port 1883.
2024-10-06 01:41:47: Client <unknown> closed its connection.
2024-10-06 01:43:47: New connection from 172.30.32.2:49794 on port 1883.
2024-10-06 01:43:47: Client <unknown> closed its connection.
2024-10-06 01:45:47: New connection from 172.30.32.2:54112 on port 1883.
2024-10-06 01:45:47: Client <unknown> closed its connection.
2024-10-06 01:46:20: Client 1F2U6GXYEl6r5NZfdJl1vu has exceeded timeout, disconnecting.
2024-10-06 01:46:37: New connection from 192.168.1.2:49693 on port 1883.
2024-10-06 01:46:37: New client connected from 192.168.1.2:49693 as 1F2U6GXYEl6r5NZfdJl1vu (p2, c1, k60, u'mqttbroker').
2024-10-06 01:47:37: Saving in-memory database to /data//mosquitto.db.
2024-10-06 01:47:47: New connection from 172.30.32.2:60714 on port 1883.
2024-10-06 01:47:47: Client <unknown> closed its connection.
2024-10-06 01:49:47: New connection from 172.30.32.2:33176 on port 1883.
2024-10-06 01:49:47: Client <unknown> closed its connection.
2024-10-06 01:51:47: New connection from 172.30.32.2:53562 on port 1883.
2024-10-06 01:51:47: Client <unknown> closed its connection.
2024-10-06 01:53:47: New connection from 172.30.32.2:45752 on port 1883.
2024-10-06 01:53:47: Client <unknown> closed its connection.
2024-10-06 01:55:47: New connection from 172.30.32.2:57456 on port 1883.
2024-10-06 01:55:47: Client <unknown> closed its connection.
2024-10-06 01:57:47: New connection from 172.30.32.2:44096 on port 1883.
2024-10-06 01:57:47: Client <unknown> closed its connection.
2024-10-06 01:59:47: New connection from 172.30.32.2:48760 on port 1883.
2024-10-06 01:59:47: Client <unknown> closed its connection.
2024-10-06 02:01:47: New connection from 172.30.32.2:35284 on port 1883.
2024-10-06 02:01:47: Client <unknown> closed its connection.
2024-10-06 02:03:47: New connection from 172.30.32.2:38324 on port 1883.
2024-10-06 02:03:47: Client <unknown> closed its connection.
2024-10-06 02:05:47: New connection from 172.30.32.2:39264 on port 1883.
2024-10-06 02:05:47: Client <unknown> closed its connection.
2024-10-06 02:07:47: New connection from 172.30.32.2:55632 on port 1883.
2024-10-06 02:07:47: Client <unknown> closed its connection.
2024-10-06 02:09:47: New connection from 172.30.32.2:41500 on port 1883.
2024-10-06 02:09:47: Client <unknown> closed its connection.
2024-10-06 02:11:47: New connection from 172.30.32.2:52238 on port 1883.
2024-10-06 02:11:47: Client <unknown> closed its connection.
2024-10-06 02:13:47: New connection from 172.30.32.2:40106 on port 1883.
2024-10-06 02:13:47: Client <unknown> closed its connection.
2024-10-06 02:15:47: New connection from 172.30.32.2:44430 on port 1883.
2024-10-06 02:15:47: Client <unknown> closed its connection.
2024-10-06 02:17:38: Saving in-memory database to /data//mosquitto.db.
2024-10-06 02:17:39: Client 1F2U6GXYEl6r5NZfdJl1vu has exceeded timeout, disconnecting.
2024-10-06 02:17:47: New connection from 172.30.32.2:50414 on port 1883.
2024-10-06 02:17:47: Client <unknown> closed its connection.
2024-10-06 02:17:56: New connection from 192.168.1.2:39463 on port 1883.
2024-10-06 02:17:56: New client connected from 192.168.1.2:39463 as 1F2U6GXYEl6r5NZfdJl1vu (p2, c1, k60, u'mqttbroker').
2024-10-06 02:19:47: New connection from 172.30.32.2:51452 on port 1883.
2024-10-06 02:19:47: Client <unknown> closed its connection.
2024-10-06 02:21:47: New connection from 172.30.32.2:55352 on port 1883.
2024-10-06 02:21:47: Client <unknown> closed its connection.
2024-10-06 02:23:47: New connection from 172.30.32.2:45664 on port 1883.
2024-10-06 02:23:47: Client <unknown> closed its connection.
2024-10-06 02:25:47: New connection from 172.30.32.2:48546 on port 1883.
2024-10-06 02:25:47: Client <unknown> closed its connection.
2024-10-06 02:27:47: New connection from 172.30.32.2:37120 on port 1883.
2024-10-06 02:27:47: Client <unknown> closed its connection.
2024-10-06 02:29:47: New connection from 172.30.32.2:43224 on port 1883.
2024-10-06 02:29:47: Client <unknown> closed its connection.
2024-10-06 02:31:47: New connection from 172.30.32.2:59336 on port 1883.
2024-10-06 02:31:47: Client <unknown> closed its connection.
2024-10-06 02:33:47: New connection from 172.30.32.2:41342 on port 1883.
2024-10-06 02:33:47: Client <unknown> closed its connection.
2024-10-06 02:35:47: New connection from 172.30.32.2:43940 on port 1883.
2024-10-06 02:35:47: Client <unknown> closed its connection.
2024-10-06 02:37:47: New connection from 172.30.32.2:34672 on port 1883.
2024-10-06 02:37:47: Client <unknown> closed its connection.
2024-10-06 02:39:47: New connection from 172.30.32.2:60746 on port 1883.
2024-10-06 02:39:47: Client <unknown> closed its connection.
2024-10-06 02:41:47: New connection from 172.30.32.2:45626 on port 1883.
2024-10-06 02:41:47: Client <unknown> closed its connection.
2024-10-06 02:43:47: New connection from 172.30.32.2:39642 on port 1883.
2024-10-06 02:43:47: Client <unknown> closed its connection.
2024-10-06 02:45:47: New connection from 172.30.32.2:47838 on port 1883.
2024-10-06 02:45:47: Client <unknown> closed its connection.
2024-10-06 02:47:39: Saving in-memory database to /data//mosquitto.db.
2024-10-06 02:47:47: New connection from 172.30.32.2:58602 on port 1883.
2024-10-06 02:47:47: Client <unknown> closed its connection.
2024-10-06 02:49:03: Client 1F2U6GXYEl6r5NZfdJl1vu has exceeded timeout, disconnecting.
2024-10-06 02:49:19: New connection from 192.168.1.2:50963 on port 1883.
2024-10-06 02:49:19: New client connected from 192.168.1.2:50963 as 1F2U6GXYEl6r5NZfdJl1vu (p2, c1, k60, u'mqttbroker').
2024-10-06 02:49:47: New connection from 172.30.32.2:51788 on port 1883.
2024-10-06 02:49:47: Client <unknown> closed its connection.
2024-10-06 02:51:47: New connection from 172.30.32.2:59418 on port 1883.
2024-10-06 02:51:47: Client <unknown> closed its connection.
2024-10-06 02:53:47: New connection from 172.30.32.2:49368 on port 1883.
2024-10-06 02:53:47: Client <unknown> closed its connection.
2024-10-06 02:55:47: New connection from 172.30.32.2:53804 on port 1883.
2024-10-06 02:55:47: Client <unknown> closed its connection.
2024-10-06 02:57:47: New connection from 172.30.32.2:41508 on port 1883.
2024-10-06 02:57:47: Client <unknown> closed its connection.
2024-10-06 02:59:47: New connection from 172.30.32.2:44552 on port 1883.
2024-10-06 02:59:47: Client <unknown> closed its connection.
2024-10-06 03:01:47: New connection from 172.30.32.2:51382 on port 1883.
2024-10-06 03:01:47: Client <unknown> closed its connection.
2024-10-06 03:03:47: New connection from 172.30.32.2:58852 on port 1883.
2024-10-06 03:03:47: Client <unknown> closed its connection.
2024-10-06 03:05:47: New connection from 172.30.32.2:50314 on port 1883.
2024-10-06 03:05:47: Client <unknown> closed its connection.
2024-10-06 03:07:47: New connection from 172.30.32.2:56460 on port 1883.
2024-10-06 03:07:47: Client <unknown> closed its connection.
2024-10-06 03:09:47: New connection from 172.30.32.2:50456 on port 1883.
2024-10-06 03:09:47: Client <unknown> closed its connection.
2024-10-06 03:11:47: New connection from 172.30.32.2:34270 on port 1883.
2024-10-06 03:11:47: Client <unknown> closed its connection.
2024-10-06 03:13:47: New connection from 172.30.32.2:38078 on port 1883.
2024-10-06 03:13:47: Client <unknown> closed its connection.
2024-10-06 03:15:47: New connection from 172.30.32.2:50972 on port 1883.
2024-10-06 03:15:47: Client <unknown> closed its connection.
2024-10-06 03:17:40: Saving in-memory database to /data//mosquitto.db.
2024-10-06 03:17:47: New connection from 172.30.32.2:60490 on port 1883.
2024-10-06 03:17:47: Client <unknown> closed its connection.
2024-10-06 03:19:47: New connection from 172.30.32.2:43800 on port 1883.
2024-10-06 03:19:47: Client <unknown> closed its connection.
2024-10-06 03:20:27: Client 1F2U6GXYEl6r5NZfdJl1vu has exceeded timeout, disconnecting.
2024-10-06 03:20:42: New connection from 192.168.1.2:43271 on port 1883.
2024-10-06 03:20:42: New client connected from 192.168.1.2:43271 as 1F2U6GXYEl6r5NZfdJl1vu (p2, c1, k60, u'mqttbroker').
2024-10-06 03:21:47: New connection from 172.30.32.2:58190 on port 1883.
2024-10-06 03:21:47: Client <unknown> closed its connection.
2024-10-06 03:23:47: New connection from 172.30.32.2:44058 on port 1883.
2024-10-06 03:23:47: Client <unknown> closed its connection.
2024-10-06 03:25:47: New connection from 172.30.32.2:52556 on port 1883.
2024-10-06 03:25:47: Client <unknown> closed its connection.
2024-10-06 03:27:47: New connection from 172.30.32.2:56056 on port 1883.
2024-10-06 03:27:47: Client <unknown> closed its connection.
2024-10-06 03:29:47: New connection from 172.30.32.2:59322 on port 1883.
2024-10-06 03:29:47: Client <unknown> closed its connection.
2024-10-06 03:31:47: New connection from 172.30.32.2:60024 on port 1883.
2024-10-06 03:31:47: Client <unknown> closed its connection.
2024-10-06 03:33:47: New connection from 172.30.32.2:57762 on port 1883.
2024-10-06 03:33:47: Client <unknown> closed its connection.
2024-10-06 03:35:47: New connection from 172.30.32.2:59156 on port 1883.
2024-10-06 03:35:47: Client <unknown> closed its connection.
2024-10-06 03:37:47: New connection from 172.30.32.2:45164 on port 1883.
2024-10-06 03:37:47: Client <unknown> closed its connection.
2024-10-06 03:39:47: New connection from 172.30.32.2:46478 on port 1883.
2024-10-06 03:39:47: Client <unknown> closed its connection.
2024-10-06 03:41:47: New connection from 172.30.32.2:37950 on port 1883.
2024-10-06 03:41:47: Client <unknown> closed its connection.
2024-10-06 03:43:47: New connection from 172.30.32.2:33808 on port 1883.
2024-10-06 03:43:47: Client <unknown> closed its connection.
2024-10-06 03:45:47: New connection from 172.30.32.2:49500 on port 1883.
2024-10-06 03:45:47: Client <unknown> closed its connection.
2024-10-06 03:47:41: Saving in-memory database to /data//mosquitto.db.
2024-10-06 03:47:47: New connection from 172.30.32.2:41302 on port 1883.
2024-10-06 03:47:47: Client <unknown> closed its connection.
2024-10-06 03:49:47: New connection from 172.30.32.2:37798 on port 1883.
2024-10-06 03:49:47: Client <unknown> closed its connection.
2024-10-06 03:51:47: New connection from 172.30.32.2:39176 on port 1883.
2024-10-06 03:51:47: Client <unknown> closed its connection.
2024-10-06 03:51:51: Client 1F2U6GXYEl6r5NZfdJl1vu has exceeded timeout, disconnecting.
2024-10-06 03:52:02: New connection from 192.168.1.2:40535 on port 1883.
2024-10-06 03:52:02: New client connected from 192.168.1.2:40535 as 1F2U6GXYEl6r5NZfdJl1vu (p2, c1, k60, u'mqttbroker').
2024-10-06 03:53:47: New connection from 172.30.32.2:37890 on port 1883.
2024-10-06 03:53:47: Client <unknown> closed its connection.
2024-10-06 03:55:47: New connection from 172.30.32.2:41358 on port 1883.
2024-10-06 03:55:47: Client <unknown> closed its connection.
2024-10-06 03:57:47: New connection from 172.30.32.2:42332 on port 1883.
2024-10-06 03:57:47: Client <unknown> closed its connection.
2024-10-06 03:59:47: New connection from 172.30.32.2:36304 on port 1883.
2024-10-06 03:59:47: Client <unknown> closed its connection.
Thanks.