Search code examples
node.jsamazon-web-servicesamazon-dynamodbamazon-dynamodb-dax

AWS DynamoDB DAX "NoRouteException"


I tried to connect to my DAX cluster from my Node.js app per the steps given in the example. I get the following error while connecting to the client.

{
      "time": 1581671435720,
      "code": "NoRouteException",
      "retryable": true,
      "requestId": null,
      "statusCode": -1,
      "_tubeInvalid": false,
      "waitForRecoveryBeforeRetrying": false
    }

I have roles and access permissions as suggested here but still I get the same error.


Solution

  • It appears that DAX cannot be connected from Local Dev Environment. It gets connected only from VPC.

    here's the SO link.

    Using AWS DynamoDB DAX from local development machine