Hi all,
i'm wondering if somebody has an idea how i could debug this.
my NodeRED container began stopping randomly every 2-3 days or so since two weeks (i didnt change anything).
The only log messages i get are these regarding a failed websocket connection:
https://dpaste.org/A8zWK
If this is a websocket connection that fails from a flow i guess it should not break my docker instance.
Anybody got an idea what i can do to nail this problem down? I'm a bit lost here.
Welcome to the forums @martinjuhasz
The error is:
A node that is using a websocket/HTTP connection, is not handling unexpected errors
Unhandled rejection RequestError: Error: socket hang up
Unhandled rejection RequestError: Error: read ECONNRESET
20 Dec 15:56:39 - [red] Uncaught Exception:
20 Dec 15:56:39 - [error] Error: Opening handshake has timed out
Node RED Nodes should handle errors correctly - to stop the runtime from being terminated.
it looks as if a Node you are using, is not handling errors correctly - Which is Bad!
If you are using the internal HA Nodes (which you seem to be)
16 Dec 04:13:34 - [info] [server:HA - Winston] Connecting to http://home-assistant:8123
16 Dec 04:13:39 - [info] [server:HA - Winston] Connecting to http://home-assistant:8123
16 Dec 04:13:44 - [info] [server:HA - Winston] Connecting to http://home-assistant:8123
16 Dec 04:13:44 - [info] [server:HA - Winston] Connected to http://home-assistant:8123
I would ask the HA community, as it maybe some internal HA Node, or another 3rd party node you have installed, and not handling errors correctly.
Many here do not use HA, so won't know much about the internals, if you suspect a 3rd party Node - an issue will need to be raised with the author