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

ECONNREFUSED error after 1.37.0-1 #605

Closed
zezo-git opened this issue May 3, 2024 · 10 comments
Closed

ECONNREFUSED error after 1.37.0-1 #605

zezo-git opened this issue May 3, 2024 · 10 comments
Labels

Comments

@zezo-git
Copy link

zezo-git commented May 3, 2024

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
Copy link

anti-spy commented May 3, 2024

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

error: z2m: MQTT error: connect ECONNREFUSED /

@bartbh
Copy link

bartbh commented May 6, 2024

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
Copy link

mfalkvidd commented May 6, 2024

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
Copy link

bartbh commented May 6, 2024

Current HA version:

Core 2024.5.1
Supervisor 2024.04.4

@Koenkk
Copy link
Contributor

Koenkk commented May 6, 2024

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

@bartbh
Copy link

bartbh commented May 6, 2024

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
Copy link

fschaeck commented May 7, 2024

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 added a commit to Koenkk/zigbee2mqtt that referenced this issue May 7, 2024
@Koenkk
Copy link
Contributor

Koenkk commented May 7, 2024

Pushed a fix, does it work now?

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

@bartbh
Copy link

bartbh commented May 7, 2024

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

Copy link

github-actions bot commented Jun 7, 2024

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

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

No branches or pull requests

6 participants