Closed shajek closed 3 years ago
Hey there @home-assistant/core, @emontnemery, mind taking a look at this issue as its been labeled with an integration (mqtt
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
I try report period 1min,2min,10min ... nothing helps
I can't reproduce your problem, please enable debug logging of core + MQTT, and attach a log starting with HA startup and until you see the Client exceeded max pending messages
errors.
logger:
default: info
logs:
homeassistant.core: debug
homeassistant.components.mqtt: debug
With debug settings i either dont see any error. But HA still doesnt load and stay unresponsive. Here is cut from the log (because of pastebin) https://pastebin.com/LSJeT290
(PS: as i say, i try it on fresh clean install on HassOS, supervisor, or pure core ... the same problem, i delete all custom componets and HACS, no change)
If you zip the log, you can drag and drop it when editing a GitHub comment.
The log you uploaded to pastebin only spans 7 seconds, and does not include any received state message from the modbus sensor.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
When i add MQTT sensors (with discovery), which add arround 30sensors, HA just give up and throw error (above), after restart HA, it try load all sensors, but it end again with "Client exceeded max pending messages". When i turn off that sensor, restart HA, it works again, but when i turn on sensor, it crash ....
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
here is example of discovery message:
and here is status message from MQTT: