Skip to content

Node red add on crashing randomly #2086

@dustin-auby

Description

@dustin-auby

Hi all,

it seems like a recent issue only happened for the last 2 weeks. the addon crahses with the bellow error.

2025-6-22 22:00:31
23 Jun 01:18:36 - [red] Uncaught Exception:
23 Jun 01:18:36 - [error] RangeError: Invalid WebSocket frame: invalid status code 1006
    at Receiver.controlMessage (/opt/node_modules/node-red-contrib-home-assistant-websocket/node_modules/ws/lib/receiver.js:626:30)
    at Receiver.getData (/opt/node_modules/node-red-contrib-home-assistant-websocket/node_modules/ws/lib/receiver.js:477:12)
    at Receiver.startLoop (/opt/node_modules/node-red-contrib-home-assistant-websocket/node_modules/ws/lib/receiver.js:167:16)
    at Receiver._write (/opt/node_modules/node-red-contrib-home-assistant-websocket/node_modules/ws/lib/receiver.js:94:10)
    at writeOrBuffer (node:internal/streams/writable:572:12)
    at _write (node:internal/streams/writable:501:10)
    at Receiver.Writable.write (node:internal/streams/writable:510:10)
    at Socket.socketOnData (/opt/node_modules/node-red-contrib-home-assistant-websocket/node_modules/ws/lib/websocket.js:1355:35)
    at Socket.emit (node:events:524:28)
    at addChunk (node:internal/streams/readable:561:12)
[01:18:37] INFO: Service Node-RED exited with code 1 (by signal 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions