node-zwave-js
node-zwave-js copied to clipboard
Crashes with "security class is not yet known"
Originally reported in https://github.com/home-assistant/addons/issues/3952#issuecomment-2765164903
2025-02-24T01:29:37.479Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation]
│ sequence number: 166
│ extensions:
│ · type: SPAN sender EI: 0x518087a72192d4dedca14bf55b962c33
│ security class: S2_Authenticated
└─[SupervisionCCGet]
│ session id: 48
│ request updates: false
└─[NotificationCCReport]
notification type: System
notification status: 255
notification event: Heartbeat
2025-02-24T01:29:37.480Z CNTRLR [Node 006] [Notification]
type: System
event: Heartbeat
2025-02-24T01:29:37.529Z DRIVER Dropping message with invalid payload
2025-02-24T01:29:37.529Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Duplicate command (sequence number 166)
2025-02-24T01:29:37.674Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Security2CC_CannotDecode
2025-02-24T01:29:37.675Z CNTRLR [Node 006] Message authentication failed, cannot decode command.
2025-02-24T01:29:37.710Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Security2CC_CannotDecode
2025-02-24T01:29:37.710Z CNTRLR [Node 006] Message authentication failed, cannot decode command.
2025-02-24T01:29:38.339Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Security2CC_CannotDecode
2025-02-24T01:29:38.340Z CNTRLR [Node 006] Message authentication failed, cannot decode command.
2025-02-24T01:29:38.443Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Security2CC_CannotDecode
2025-02-24T01:29:38.443Z CNTRLR [Node 006] Message authentication failed, cannot decode command.
2025-02-24T01:29:38.522Z DRIVER Dropping message with invalid payload
2025-02-24T01:29:38.522Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Duplicate command (sequence number 166)
2025-02-24T01:29:38.888Z DRIVER Dropping message with invalid payload
2025-02-24T01:29:38.888Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Duplicate command (sequence number 166)
2025-02-24T01:29:41.507Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Security2CC_CannotDecode
2025-02-24T01:29:41.507Z CNTRLR [Node 006] Message authentication failed, cannot decode command.
2025-02-24T01:29:41.566Z DRIVER Dropping message with invalid payload
2025-02-24T01:29:41.566Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Duplicate command (sequence number 167)
2025-02-24T01:29:41.688Z DRIVER Dropping message with invalid payload
2025-02-24T01:29:41.688Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Duplicate command (sequence number 167)
2025-02-24T01:29:41.698Z DRIVER « [REQ] [SendData]
callback id: 80
transmit status: NoAck, took 5740 ms
routing attempts: 34
protocol & route speed: Z-Wave, 40 kbit/s
routing scheme: Resort to Direct
TX channel no.: 1
route failed here: 11 -> 6
2025-02-24T01:29:41.703Z DRIVER » [Node 006] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 81
└─[Security2CCNonceGet]
sequence number: 156
2025-02-24T01:29:41.712Z DRIVER « [RES] [SendData]
was sent: true
2025-02-24T01:29:42.005Z DRIVER « [Node 006] [REQ] [ApplicationCommand]
└─[Security2CCMessageEncapsulation] [INVALID]
error: Security2CC_NoSPAN
2025-02-24T01:29:42.005Z CNTRLR » [Node 006] No SPAN is established yet, cannot decode command. Requesting a non
ce...
2025-02-24T01:29:50.836Z DRIVER « [REQ] [SendData]
callback id: 81
transmit status: NoAck, took 9120 ms
routing attempts: 33
protocol & route speed: Z-Wave, 40 kbit/s
routing scheme: Explorer Frame
TX channel no.: 1
route failed here: 15 -> 6
2025-02-24T01:29:50.839Z DRIVER » [Node 006] [REQ] [SendData]
│ transmit options: 0x05
│ callback id: 82
└─[Security2CCNonceReport]
sequence number: 157
SOS: true
MOS: false
receiver entropy: 0xc6a3086bcc4808f0fd83e435c9988163
ZWaveError: Security class for node 6 is not yet known! (ZW1402)
at Driver.sendMessage (file:///usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:6059:23)
at Driver.sendCommandInternal (file:///usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:6259:28)
at Driver.sendCommand (file:///usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:6377:29)
at Proxy.sendReport (file:///usr/src/node_modules/@zwave-js/cc/src/cc/SupervisionCC.ts:102:20)
at reply (file:///usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:5140:9)
at Driver.handleRequest (file:///usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:5185:12)
at Driver.handleUnsolicitedMessage (file:///usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:4689:5)
[01:29:50] WARNING: �[33mHalt add-on�[0m