aws-samples / aws-cloudhsm-jce-examples

Sample applications demonstrating how to use the CloudHSM JCE
MIT No Attribution
36 stars 56 forks source link

The underlying Provider connection was lost (JCE provider 5.11.0 ) #86

Open melvo96 opened 3 months ago

melvo96 commented 3 months ago

I'm encountering an issue where I'm unable to retrieve keys intermittently. The error message states: "Failed to retrieve key: The underlying Provider connection was lost: Communication with the device was lost during the execution of the function." It appears to happen randomly and inconsistently. I am running a cluster containing two HSMs. In my java application, the provider is initialized properly using system properties provided credentials . What could be the reason ?