How can I resolve the errors "Daemon socket connection error" or "Invalid Operation" for my CloudHSM client?

Last updated: 2021-07-16

I am attempting to connect to the key management utility (KMU) command line tool or the AWS CloudHSM client, and receive the error "Daemon socket connection error" or "Invalid Operation".

Short description

CloudHSM Client software uses a client daemon to connect and perform operations on the HSM using the KMU command line tool. These errors occur if:

The client daemon is stopped.

-or-

The client configuration file doesn't contain the IP address of an active and reachable HSM in the cluster.

Resolution

Follow the instructions for troubleshooting lost connections to the cluster.

Note: This resolution is for use only with Client SDK 3, not Client SDK 5. For more information, see Using the AWS CloudHSM Client SDK.