Closed zezo-git closed 5 months ago
I'm getting exactly the same error. Both in Docker and in Home Assistant.
error: z2m: MQTT error: connect ECONNREFUSED /
Same error. I'm using zigbee2mqtt 1.37.0-1 as a Home Assistant Addon (docker container) with Home Assitant Supervised install.
error: z2m: MQTT error: connect ECONNREFUSED /
I've tried loggin in with the command line in the docker container. I'm able to connect to the ip+port of the mqtt server, but I don't see any failed logins in the logging of the mqtt broker.
Which version of Home Assistant are you using?
https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.37.0 says at least version 2024.4 is required. Maybe that is related?
Current HA version:
Core 2024.5.1 Supervisor 2024.04.4
Could you check if this is fixed in the latest-dev?dev branch
Switching to the dev/edge addon unfortunately did not solve this issue. I'll try switching to an older version if that's possible.
I had the same error for HA Z2M Addon version 1.37.0-1 with Home Assistant Core 2024.4.x and 2024.5.x using the Moskito Browser Addon of HA as MQTT server. Reverting to HA Z2M Addon version 1.36.1-1 resolved the issue. No changes were made to MQTT during this process.
Pushed a fix, does it work now?
Changes will be available in the dev branch in a few hours from now.
Just installed the new edge add-on and for me z2m is working again.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
Description of the issue
After the update, the add on won’t start with this error: (MQTT failed to connect: connect ECONNREFUSED) and I fixed it by going back to 1.36.1-1. I am using EMQX as my MQTT broker. No other fixes worked but I’m not a professional. No other errors appeared in the log
Addon version
v1.37.0-1
Platform
Core: 2024.5.1 Supervisor: 2024.04.4 Operating System: 12.2 Frontend: 20240501.0
Logs of the issue (if applicable)
No response