Closed jdies closed 4 years ago
Hi,
this works:
from amazondax import AmazonDaxClient AmazonDaxClient.resource( region_name='us-east-1', endpoints=[DAX_ENDPOINT_URL] )
All of this doesn't:
from amazondax import AmazonDaxClient from botocore.config import Config config = Config(connect_timeout=5) AmazonDaxClient.resource( config=config, endpoints=[DAX_ENDPOINT_URL], region_name='us-east-1' ) config = Config(connect_timeout=5, region_name='us-east-1') AmazonDaxClient.resource( config=config, endpoints=[DAX_ENDPOINT_URL], )
The error is:
An error occurred (NoRouteException) when calling the operation: Failed to configure cluster endpoints from [('mycluster.dax.use1.cache.amazonaws.com', 8111)]
Did I get wrong how to use the config?
Thank you and have a nice day!
Omg I'm very sorry, this shouldn't have gone to your repo.
Hehe, no worries ;)
Hi,
this works:
All of this doesn't:
The error is:
An error occurred (NoRouteException) when calling the operation: Failed to configure cluster endpoints from [('mycluster.dax.use1.cache.amazonaws.com', 8111)]
Did I get wrong how to use the config?
Thank you and have a nice day!