I received a "No endpoints available" error in Amazon DynamoDB Accelerator (DAX). How do I troubleshoot this error?
"No endpoints available" errors occur when the client doesn't have a network route to any nodes of the DAX cluster. Or, these errors might occur when a cluster is down or facing high CPU utilization.
Here are some example cases that might result in one of these errors:
- A failed health check to DAX nodes: The client can't health check cluster nodes because of high CPU load from the nodes.
- Multiple consecutive IO Exceptions to each node: The DAX client counts the number of IO Exceptions to determine whether a server node is down. First, the client retrieves a list of server nodes from the configuration endpoint. If it receives more than five failures from a server node, then it’s removed the node from the list of active server nodes. If all server nodes are removed in this way, then the client ends up with an empty list of active nodes. In response, the client shows a "No endpoints available" error.
To resolve your error and allow your cluster nodes to work normally, follow the troubleshooting steps below: