-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Error "Unable to execute HTTP request" when trying to access public s3 Bucket. #2798
Comments
I'm wondering if we encountered the same issue on IBM Cloud Pak for Data: |
@karunshivappa @chenja2000 in your case it seems a certification issue, the Amazon Root certificates are missing from your trust store - check this comment with more info: #2087 (comment) |
@debora-ito You are right! We checked further. It seems related to proxy settings. The traffic cannot reach Amazon S3. So it fails on authentication at the first place. Thank you very much! |
Getting Error like com.amazonaws.SdkClientException: Unable to execute HTTP request:
.s3.ap-south-1.amazonaws.com
download the line in stacktrace it also says Caused by: java.net.UnknownHostException:
.s3.ap-south-1.amazonaws.com
we are using "aws-java-sdk-s3"
com.amazonaws aws-java-sdk-s3Below is the java code to create s3 client builder:
AWSCredentials credentials = new BasicAWSCredentials(, );
AmazonS3ClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(credentials)).withRegion("ap-south-1").build();
Entire setup is running on unbuntu kubernetes cluster
The text was updated successfully, but these errors were encountered: