aws-samples / aws-samples/aws-cloudhsm-jce-examples
The underlying Provider connection was lost (JCE provider 5.11.0 )
- Dominant language
- Java
- Stars
- 46
- Forks
- 70
- Avg merge
- 52m
- Merged PRs (30d)
- 4
Description
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 ?
Contributor guide
Research direction
Start with the reported key-retrieval error and the Java provider initialization using system-property credentials. Compare the behavior across both HSMs in the cluster and investigate the intermittent device-communication loss. Done means identifying a reproducible cause or documented resolution for the lost provider connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cloud, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100