home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.03k stars 28.28k forks source link

"Failed to connect" Error for Z-Wave JS Add-on & Device #116880

Open phit2000 opened 1 week ago

phit2000 commented 1 week ago

The problem

After some days (!). running without an issue I get this error message (in the morning) and My Z-Wave integration stopped working. It is really strange because it is not happening every morning. I can not see a pattern when this is happening or what causes the issue.

I get following error message: Failed to connect: not connect to host core-zwave-s:3000 sidefault (Connect call falled 172.30. 3.1, 30)

Bildschirmfoto 2024-05-05 um 11 54 52

I updated the Z-Wave Stick - Z-Stick Gen5 Aotec to the latest Firmware & saw somewhere else that soft-reset should be disabled in device settings. Both just gives me a temporary fix - after 3-5 days the error occurs again.

After a system reboot and setting the "500 series controller soft-reset" to "disabled" in the Add-On configuration it keeps running for some days without an issue... Then boom fails again. I have the feeling the "500 series controller soft-reset" sets itself to "automatic" again and this crushes the Z-Wave JS Add-On...

Bildschirmfoto 2024-05-05 um 19 44 12

Does anybody have similar issues?

What version of Home Assistant Core has the issue?

core-2024.4.4

What was the last working version of Home Assistant Core?

core-2024.3?

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Z-Wave JS

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zwave_js/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

This error started after moving to HomeAssistant Core version 2023.4.x including Z-WaveJS update.

Additional information

logs from Add-on s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/config.sh cont-init: info: /etc/cont-init.d/config.sh exited 0 cont-init: info: running /etc/cont-init.d/structure.sh cont-init: info: /etc/cont-init.d/structure.sh exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun zwave_js (no readiness notification) s6-supervise zwave_js: warning: unable to spawn ./run (waiting 60 seconds): Exec format error

home-assistant[bot] commented 1 week ago

Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration (zwave_js) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `zwave_js` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zwave_js` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zwave_js documentation zwave_js source (message by IssueLinks)