zigbee2mqtt / hassio-zigbee2mqtt

Official Zigbee2MQTT Home Assistant add-on
https://www.zigbee2mqtt.io
Apache License 2.0
1.19k stars 435 forks source link

ECONNREFUSED error after 1.37.0-1 #605

Closed zezo-git closed 5 months ago

zezo-git commented 7 months ago

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

anti-spy commented 7 months ago

I'm getting exactly the same error. Both in Docker and in Home Assistant.

error: z2m: MQTT error: connect ECONNREFUSED /

bartbh commented 7 months ago

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.

mfalkvidd commented 7 months ago

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?

bartbh commented 7 months ago

Current HA version:

Core 2024.5.1 Supervisor 2024.04.4

Koenkk commented 7 months ago

Could you check if this is fixed in the latest-dev?dev branch

bartbh commented 7 months ago

Switching to the dev/edge addon unfortunately did not solve this issue. I'll try switching to an older version if that's possible.

fschaeck commented 6 months ago

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.

Koenkk commented 6 months ago

Pushed a fix, does it work now?

Changes will be available in the dev branch in a few hours from now.

bartbh commented 6 months ago

Just installed the new edge add-on and for me z2m is working again.

github-actions[bot] commented 5 months ago

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