Gemalto is now part of the Thales Group, find out more.

You are here

OracleDatabase LunaHSM Heartbeat | Thales IoT Developer Community

September 7, 2021 - 1:41pm, 1446 views

Dear Thales Community,

I'm facing a problem with heartbeat on connection every minute, default configuration.

kzthsmcc3: HSM heartbeat ****. Likely the connection
has been lost. PKCS11 function C_EncryptInit returned
PKCS11 error code: 179
HSM connection lost, closing wallet
kzthsmterm: C_CloseSession threw PKCS11 error 5
kzthsmterm: C_Finalize threw PKCS11 error 400

I changed some hidden parameters and now I only have 3 or 4 errors per day.

ALTER SYSTEM SET "_heartbeat_period_multiplier"=60 SCOPE=SPFILE;
ALTER SYSTEM SET EVENT='28420 trace name context forever, level 10:28421 trace name context forever, level 3' COMMENT='HSM heartbeat timeout and reconnect attempt' SCOPE=SPFILE;


  • Windows Server 2016
  • Oracle version 12c (
  • HSM model LunaSA 7.1.0
  • Luna HSM Client version
  • Driver: cklog201.dll

There's a solution for this issue?