Skip to content
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

error: z2m : MQTT error: read ECONNRESET with every shutdown since Zigbee2MQTT 2.0 and Mosquitto Broker 6.5.0 #716

Open
alexsaas opened this issue Jan 16, 2025 · 0 comments

Comments

@alexsaas
Copy link

Description of the issue

Every night I do a full system restart of Home Assistant. Triggered by the shutdown, I get the following error messages in the log:
error: z2m : MQTT error: read ECONNRESET

I already had these error messages last year, since October 2024 after updating Zigbee2MQTT to the version 1.40.2-1. See
After the update to Zigbee2MQTT 2.0, these messages were gone. On Tuesday I installed the update for the Mosquitto Broker 6.5.0 and unfortunately these error messages appear again.

I can't say if it's a problem of Zigbee2MQTT, MQTT or the Mosquitto broker. After a bit of research and contributions to similar bugs, the cause seems to have something to do with the fact that after the shutdown command either MQTT or the Broker are terminated faster than Zigbee2MQTT. And Zigbee2MQTT can then no longer access. But that's just a guess.

Addon version

2.0.0-2

Platform

Core: 2024.12.5
Supervisor: 2024.12.3
HaOS: 14.1

Logs of the issue (if applicable)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant