user8070240
user8070240

Reputation:

Unable to connect Dynamo via DAX from on premise application

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

Answers (3)

fileyfood500
fileyfood500

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

user8070240
user8070240

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

myPavi
myPavi

Reputation: 211

Please check the security group that you have attached is open inbound rule for port 8111

Upvotes: 1

Related Questions