-
-
Notifications
You must be signed in to change notification settings - Fork 636
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
Unhandled Exception, All Values Stop Getting Updated #6355
Comments
Tried 8.26? Have you mqtt enabled or disabled? @AlCalzone the only part in code that could cause this if mqtt is disabled could be this: Could it be that for some reasons args is undefined in |
I checked all locations where that event gets emitted. The |
I submitted a fix to include error stack in error message. I will create a quick patch so you can try that and report me the new error when happens so we can understand the root cause |
@evan-swinney You can use https://github.com/zwave-js/zwave-js-ui/actions/runs/6310143058/job/17131491025 |
Use v 9+ version and let us know when possible |
Will do as soon as I can! |
@robertsLando I upgraded the zwave-js-ui container to the Now no devices show up in the device list, and the health endpoint is returning If you think I should delete all configuration data, I can. |
@evan-swinney Then you could revert to previous version, we need to sort out what's going on with your instance |
@evan-swinney you might be affected by this: |
In the process of getting you the logs, I had my log level set on Silly and logging to a file the whole time. However, I changed this to the Debug level, and as soon as I saved the configuration, it started working again, sending data to Home Assistant and all of my devices appear in the list now. I have some of the Silly level logs, if that'd be helpful. I can also wait until the problem occurs again with the log level at Debug. |
I need to do some filtering, but those logs may still be helpful. |
I was able to just leave it over night and it started happening again, so I have logs in Debug mode now. This time the devices remain in the list, but the values are still not updating and the unhandled exception is in the ZWave UI log again. I believe this is as close to the original problem as we'll get. Attached are both the ZWave UI and ZWave JS logs. |
@AlCalzone There are tons of this:
|
...TypeScript knew better than me again :( |
Checklist
Deploy method
Docker
Z-Wave JS UI version
8.23.2.882c26e
ZwaveJS version
11.13.0
Describe the bug
The integration works fine for hours, or even days, and then eventually it starts producing this error within the logs:
When this happens, Home Assistant cannot read any more data from the websocket and all values cease to update.
An additional side-effect of this is when it starts doing this, all of my devices which had previously had correct Manufacturer and Product names revert back to showing as Unknown.
Restarting the ZWave JS UI container does not resolve the issue. Restarting Home Assistant does not resolve the issue.
To Reproduce
Unknown; it starts happening seemingly at random. The first time it happened within 24 hours, the second time it took 2 weeks. Home Assistant & ZWave JS UI were completely hands off during those time periods.
Expected behavior
For errors to not show up in the logs; for data to keep streaming over the websocket connection to Home Assistant; for product and vendor names to show their correct values.
Additional context
Everything is Dockerized & run in Kubernetes with the following Docker tags:
Home Assistant:
2023.8.4
ZWave JS UI:
8.23
I initially saw this on tag
8.25
, and I reverted back to8.23
initially with the same data & config, but the problem persisted. I then reinstalled8.23
completely (deleting all configs & data) thinking there was some sort of new error in8.25
, but this seems to have been unfounded.I am using a Nortek HUSBZB-1 Zwave/Zigbee combo controller. However, I am only using the ZWave functionality at this time.
The text was updated successfully, but these errors were encountered: