We are getting ClientExecutionTimeoutException
when using below values
ClientConfiguration config = new ClientConfiguration();
config.setClientExecutionTimeout(100);
config.setRequestTimeout(100);
This is in health check call which checks if bucket exists
amazonS3.doesBucketExistV2(bucketName);
Has anyone faced similar issue and what could be solution for this. I checked in POC and if I set it to 400, error disappears. Using aws-java-sdk-s3 v 1.11 and java 8.
Since the timeout is set in milliseconds, you have set a very low execution and request timeout.
I would recommend you to: