node-red-contrib-home-assistant-websocket
node-red-contrib-home-assistant-websocket copied to clipboard
Nodered restarts on its own
Describe the bug
Nodered restarts on its own about one time by hour
Nodered restarts on its own. Here the log :
23 May 17:03:18 - [info] [server:Home Assistant] Connecting to http://supervisor/core
23 May 17:03:18 - [info] [server:Home Assistant] Connected to http://supervisor/core
23 May 17:39:05 - [red] Uncaught Exception:
23 May 17:39:05 - [error] Error: Invalid context key
at Object.value (/opt/node_modules/@node-red/runtime/lib/nodes/context/index.js:291:31)
at EventsState.getContextValue (/opt/node_modules/node-red-contrib-home-assistant-websocket/dist/nodes/BaseNode.js:143:34)
at EventsState.getComparatorResult (/opt/node_modules/node-red-contrib-home-assistant-websocket/dist/nodes/BaseNode.js:167:27)
at EventsState.onHaEventsStateChanged (/opt/node_modules/node-red-contrib-home-assistant-websocket/dist/nodes/events-state/controller.js:71:32)
at EventEmitter.emit (node:events:538:35)
at Websocket.emitEvent (/opt/node_modules/node-red-contrib-home-assistant-websocket/dist/homeAssistant/Websocket.js:35:30)
at Websocket.onClientEvents (/opt/node_modules/node-red-contrib-home-assistant-websocket/dist/homeAssistant/Websocket.js:257:22)
at Object.callback (/opt/node_modules/node-red-contrib-home-assistant-websocket/dist/homeAssistant/Websocket.js:188:65)
at WebSocket.Connection._handleMessage (/opt/node_modules/home-assistant-js-websocket/dist/haws.cjs:174:30)
at WebSocket.onMessage (/opt/node_modules/node-red-contrib-home-assistant-websocket/node_modules/ws/lib/event-target.js:199:18)
[17:39:05] INFO: Starting Node-RED...
I try to :
- remove nodered
- restart home assistant VM
- delete nodered folder
- restart home assistant VM
- reinstall nodered
- reimport my flows => Same issue
To Reproduce
I do not know
Expected behavior
No restart on its own
Screenshots
No response
Example Flow
No response
This package's version (not the Home Assistant add-on version)
0.43.1
Is Node-RED running in Docker?
Home Assistant add-on
Node-RED version
2.2.2
Node.js version
16.14.2
Additional context
No response
This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.