-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mosquitto broker is super slow and No ACK from MQTT server in 10 seconds problem #2655
Comments
Pretty sure I have the same issue. Supervised install (sorry) with a sonoff zigbee usb 3.0 stick. in some cases, zigbee devices will talk to zigbee2mqtt (I can see this in the logs), which then fires a message at mqtt. Can sometimes be a few seconds or around a minute or so before anything gets through. |
also, I think the MQTT broker makes all wifi devices (WLED, Tasmota, ESPhome, and my android phone)disconnect from the wifi network. the Zigbee devices works but the state in the home assistant UI will slow to update (I am not sure this is the problem with MosquittoMQTT broker) correct me if I am wrong. |
This looks a lot like home-assistant/core#76252 I kind of think this is a core issue actually since you have this exception in your logs:
The acknowledge (ACK) messages are supposed to be handled by the client library to my understanding so I don't think the broker is at fault here. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I see the same thing on my install |
I was using zigbee2mqtt, I think that's why the broker is slow. now I have moved to ZHA there is no delay in the broker |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm seeing similar issue. This needs further investigation. I'm pretty sure the issue is with mosquitto addon issue - everything seems to work fine for a few days after I restart mosquitto container, but starts slowing down after that, and I'm seeing error messages in multiple places (zigbee2mqtt, homeassistant logs, hassio journal) stating the client was disconnected from mqtt. Unfortunately I can't really recall when the issue started - maybe it was triggered by some underlying hassio and kernel update some few weeks ago? |
Have the same issue. Can not control any device via zigbee since a week. Home Assistant logs:
|
Describe the issue you are experiencing
mosquitto MQTT broker is slow to respond and tasmota devices with MQTT are not responding.zigbee2mqtt devices are working but slow to respond, tasmota devices are not able to control at all.
Mosquitto` Config
logins:
username: XXXXXXXXXX
password: XXXXXXXXXX
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: false
folder: mosquitto
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
Mosquitto broker
What is the version of the add-on?
6.1.3
Steps to reproduce the issue
...
Anything in the Supervisor logs that might be useful for us?
Anything in the add-on logs that might be useful for us?
Additional information
the fan is turned off from tasmota UI
![Screenshot from 2022-09-07 10-26-04](https://user-images.githubusercontent.com/29528880/188792323-3206f088-5ecd-45c9-a8f6-4705b69d0d6f.png)
![fan](https://user-images.githubusercontent.com/29528880/188792308-29634bdf-2381-4890-80a9-ceb8f12030d8.png)
no change in home assistant UI
The text was updated successfully, but these errors were encountered: