hassio-zigbee2mqtt icon indicating copy to clipboard operation
hassio-zigbee2mqtt copied to clipboard

ECONNREFUSED error after 1.37.0-1

Open zezo-git opened this issue 1 year ago • 9 comments

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

zezo-git avatar May 03 '24 16:05 zezo-git

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

error: z2m: MQTT error: connect ECONNREFUSED /

anti-spy avatar May 03 '24 19:05 anti-spy

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.

bartbh avatar May 06 '24 13:05 bartbh

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?

mfalkvidd avatar May 06 '24 13:05 mfalkvidd

Current HA version:

Core 2024.5.1 Supervisor 2024.04.4

bartbh avatar May 06 '24 13:05 bartbh

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

Koenkk avatar May 06 '24 19:05 Koenkk

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

bartbh avatar May 06 '24 20:05 bartbh

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.

fschaeck avatar May 07 '24 07:05 fschaeck

Pushed a fix, does it work now?

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

Koenkk avatar May 07 '24 19:05 Koenkk

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

bartbh avatar May 07 '24 20:05 bartbh

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

github-actions[bot] avatar Jun 07 '24 00:06 github-actions[bot]