I am attempting to introduce DAX to our architecture but so far with no success. Connection to dax happenns through lambdas and the setup done is like the examples in AWS documentation. Lambda and Dax are in the same vpc, they can see each other most of the time and dax is returning responses. Dax also has 8111 port open.
However, after running our regression tests a few times there are errors that starts popping out in cloudwatch. The most frequent ones are:
- "Failed to pull from [daxurlhere] (10.0.1.177,10.0.1.25,10.0.2.11): TimeoutError: Connection timeout after 10000ms"
- Error: NoRouteException: not able to resolve address: [{"host":"[daxurlhere]","port":8111}]
- ERROR caught exception during cluster refresh: DaxClientError: NoRouteException: not able to resolve address:[{"host":"[daxurlhere]","port":8111}]
- ERROR Failed to resolve [daxurl]: Error: queryA ECONNREFUSED [daxurl]
When those errors happen they are breaking a few of our regression tests. Funny thing is that they are not persistent and it is very hard to track the issue.
Any suggestions would be more than welcome!