Reputation:
I am unable to connect Dynamo via DAX. I am getting below exception while connecting to the endpoint, Accesskey/securekey and Proxy are already setup.
com.amazonaws.AmazonClientException: Unable to call cluster endpoint: No endpoints available
Upvotes: 2
Views: 1928
Reputation: 1331
This error indicates that your ClusterClient is unable to find your DAX hosts, and there is some kind of issue in the network connection.
For a proxy setup, I was able to resolve this by switching from the ClusterClient to a DaxClient, where I could control the endpoint that the client reached out to.
Upvotes: 0
Reputation:
Update : I was trying establish connection with DAX from on premise application running on Tomcat.But its not possible due to security restrictions from Amazon.If you want to use DAX you should always deploy your applications in EC2 instances or via Lambda if it is serverless.
Upvotes: 1
Reputation: 211
Please check the security group that you have attached is open inbound rule for port 8111
Upvotes: 1