Announcement

Collapse
No announcement yet.

ZWave.Security.SecurityS2Utils:NetworkKeyExpand_64

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ZWave.Security.SecurityS2Utils:NetworkKeyExpand_64

    I just want to post this so it shows up on Google and hopefully someone will be saved the time that I just wasted.

    If you're moving your HS3 installation from a Raspberry Pi to proper hardware and you're getting this error in your logs when you try to control a Z-Wave S2 device:

    Code:
    Error: Aeotec Z-Stick: Exception (0) sending data to node 67 : s2crypto64 Trace:   at (wrapper managed-to-native) ZWave.Security.SecurityS2Utils:NetworkKeyExpand_64 (byte[],byte[],byte[],byte[])
      at ZWave.Security.SecurityS2Utils.NetworkKeyExpand (System.Byte[] network_key, System.Byte[] ccm_key, System.Byte[] nonce_pstring, System.Byte[] mpan_key) [0x0000b] in <bd65cbce71594c428a06d40407e7d941>:0
      at ZWave.Security.SecurityS2Utils.LoadKeysInternal (System.Boolean isTemp, System.Byte[] networkKey, System.Byte[]& ccmKey, System.Byte[]& personalization, System.Byte[]& mpanKey) [0x000a1] in <bd65cbce71594c428a06d40407e7d941>:0
      at ZWave.Security.SecurityS2Utils.LoadKeys (System.Byte[] networkKey, System.Byte[]& ccmKey, System.Byte[]& personalization, System.Byte[]& mpanKey) [0x00001] in <bd65cbce71594c428a06d40407e7d941>:0
      at ZWave.BasicApplication.Security.SecurityS2CryptoProvider.SecurityManagerInfo_NetworkKeyS2Changed (System.Int32 peerNodeId, System.Byte[] networkKey, ZWave.Enums.SecuritySchemes securityScheme) [0x00016] in <93ad542f01c545c99e49a47496219d46>:0
      at ZWave.BasicApplication.Security.SecurityManagerInfo.FireNetworkKeyS2Changed (System.Int32 peerNodeId, System.Byte[] networkKey, ZWave.Enums.SecuritySchemes securityScheme) [0x00008] in <93ad542f01c545c99e49a47496219d46>:0
      at ZWave.BasicApplication.Security.SecurityManagerInfo.ActivateNetworkKeyS2ForNode (System.Int32 peerNodeId, ZWave.Enums.SecuritySchemes scheme) [0x0002c] in <93ad542f01c545c99e49a47496219d46>:0
      at HSPI_ZWave.ZWaveAPI.BuidS2Frame (System.Byte[] Frame, System.Byte NodeID, ZWave.BasicApplication.Security.Extensions extensions_to_add, System.Boolean S2FollowUp) [0x0007d] in <135a3d7b23a14e0c9ecc1928de1541b5>:0
      at HSPI_ZWave.ZWaveAPI.MASTER_Send_Data_REAL (System.Byte NodeID, System.Byte[] Frame, System.Boolean WaitForResponse, Zensys.ZWave.CommandClasses+Types Resp_CC, System.Byte[] MoreMatch, System.Byte[]& RespFrame, System.Boolean META, HSPI_ZWave.ZW_ControllerConst+transmit_options_values SendHow, HSPI_ZWave.ZW_ConstantsEnums+ZWSecureTrans Secure, HSPI_ZWave.ZW_ConstantsEnums+ZWCRC16Trans CRC16, System.Boolean Priority, System.Boolean S2FollowUp) [0x002bc] in <135a3d7b23a14e0c9ecc1928de1541b5>:0
    04:40:55:8011:[Z-Wave Error]->Aeotec Z-Stick: Exception (0) sending data to node 67 : s2crypto64 Trace:   at (wrapper managed-to-native) ZWave.Security.SecurityS2Utils:NetworkKeyExpand_64 (byte[],byte[],byte[],byte[])
      at ZWave.Security.SecurityS2Utils.NetworkKeyExpand (System.Byte[] network_key, System.Byte[] ccm_key, System.Byte[] nonce_pstring, System.Byte[] mpan_key) [0x0000b] in <bd65cbce71594c428a06d40407e7d941>:0
      at ZWave.Security.SecurityS2Utils.LoadKeysInternal (System.Boolean isTemp, System.Byte[] networkKey, System.Byte[]& ccmKey, System.Byte[]& personalization, System.Byte[]& mpanKey) [0x000a1] in <bd65cbce71594c428a06d40407e7d941>:0
      at ZWave.Security.SecurityS2Utils.LoadKeys (System.Byte[] networkKey, System.Byte[]& ccmKey, System.Byte[]& personalization, System.Byte[]& mpanKey) [0x00001] in <bd65cbce71594c428a06d40407e7d941>:0
      at ZWave.BasicApplication.Security.SecurityS2CryptoProvider.SecurityManagerInfo_NetworkKeyS2Changed (System.Int32 peerNodeId, System.Byte[] networkKey, ZWave.Enums.SecuritySchemes securityScheme) [0x00016] in <93ad542f01c545c99e49a47496219d46>:0
      at ZWave.BasicApplication.Security.SecurityManagerInfo.FireNetworkKeyS2Changed (System.Int32 peerNodeId, System.Byte[] networkKey, ZWave.Enums.SecuritySchemes securityScheme) [0x00008] in <93ad542f01c545c99e49a47496219d46>:0
      at ZWave.BasicApplication.Security.SecurityManagerInfo.ActivateNetworkKeyS2ForNode (System.Int32 peerNodeId, ZWave.Enums.SecuritySchemes scheme) [0x0002c] in <93ad542f01c545c99e49a47496219d46>:0
      at HSPI_ZWave.ZWaveAPI.BuidS2Frame (System.Byte[] Frame, System.Byte NodeID, ZWave.BasicApplication.Security.Extensions extensions_to_add, System.Boolean S2FollowUp) [0x0007d] in <135a3d7b23a14e0c9ecc1928de1541b5>:0
      at HSPI_ZWave.ZWaveAPI.MASTER_Send_Data_REAL (System.Byte NodeID, System.Byte[] Frame, System.Boolean WaitForResponse, Zensys.ZWave.CommandClasses+Types Resp_CC, System.Byte[] MoreMatch, System.Byte[]& RespFrame, System.Boolean META, HSPI_ZWave.ZW_ControllerConst+transmit_options_values SendHow, HSPI_ZWave.ZW_ConstantsEnums+ZWSecureTrans Secure, HSPI_ZWave.ZW_ConstantsEnums+ZWCRC16Trans CRC16, System.Boolean Priority, System.Boolean S2FollowUp) [0x002bc] in <135a3d7b23a14e0c9ecc1928de1541b5>:0
    Error: Failed sending Z-Wave command to device: Downstairs Kitchen Lights
    Go to Plugins > Manage > Additional Interfaces > Beta and install HomeSeer Z-Wave Linux S2 Support X86.
Working...
X