-
Notifications
You must be signed in to change notification settings - Fork 339
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
AmazonClientException #7
Comments
Hi @timbog, There are many things that could be causing the "peer not authenticated" error. Can you try adding |
What JVM version are you running? It sounds like you might be using an older version without up to date CA certs in your keystore. |
I am getting the following error while running Could you please help on this Creating bucket my-first-s3-bucket-3c2698bd-a429-4b9d-ae73-046fcbed0e66 com.amazonaws.AmazonClientException: Unable to calculate a request signature: null |
Hey @kiran1920, it sounds like you might need to double-check your AWS security credentials and make sure this sample code is picking them up correctly. Have you created the [default] aws_access_key_id = YOUR_ACCESS_KEY_ID aws_secret_access_key = YOUR_SECRET_ACCESS_KEY |
I am trying to run this and am getting the following error Caught an AmazonServiceException, which means your request made it to Amazon S3, but was rejected with an error response for some reason. |
Answering my own question. My permissions were not correct. I needed to give full access to S3. |
While iam trying to create a bucket, below exception i got.. Caught an AmazonClientException, which means the client encountered a serious internal problem while trying to communicate with S3, such as not being able to access the network. Error Message: Unable to execute HTTP request:.... |
I've got some troubles with running this sample.
I've followed instructions on http://aws.amazon.com/ru/developers/getting-started/java/, and after running mvn clean compile exec:java I've got AmazonClientException(Unable to execute HTTP request: peer not authenticated) followed by "Unable to execute HTTP request: peer not authenticated". This things happen when I am trying to create bucket, so I've got "Creating bucket my-first-s3-bucket-865cc23b-7f73-4e09-a9d9-c38382d72e2b" and then an error.
I've looked throw https://forums.aws.amazon.com/message.jspa?messageID=429971, but unfortunately I don't completely understand how to use suggested solution (http://javaskeleton.blogspot.ie/2010/07/avoiding-peer-not-authenticated-with.html) here.
The text was updated successfully, but these errors were encountered: