Open flatsiedatsie opened 1 year ago
There isn't a 2.0 release yet, is this reproduceable on gateway's master branch?
It's a bit difficult to tell from this log alone but a wild guess would be that the gateway's IPC WebSocket connection with the add-on from which the property change messages are being sent is dropping for some reason. I'm not exactly sure how to debug that though.
is this reproduceable on gateway's master branch?
Candle is pretty much the main branch, with only minor cosmetic changes. Reproducing it would probably entail making it a living system, as I suspect this happens when there are a certain amount of things and addons on the system.
a wild guess would be that the gateway's IPC WebSocket connection with the add-on from which the property change messages are being sent is dropping for some reason
Ah, so it could be that one addon is causing this? To be clear: once it happens incoming data from all addons is 'ignored'. The logs of things from various addons all show a hiatus during that period, not just the logs of things of one addon.
Could the use of execsync
in addons perhaps cause this, forcing all the other addons to wait?
On the gateway 2.0 (Candle), I sometimes randomly get periods where the logs are empty. Mostly at night, for a few hours. This affects all addons.
After about two hours the system recovers.
How can I best debug what's causing this?
The logs indicate something happening almost every millisecond. Or is that just a result of how the log function works?
Once the system recovers the logs seem to indicate that the addons had no idea anything was wrong.