aws-samples / aws-samples/aws-java-sample

AmazonClientException

Open
#7 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
241
Forks
345
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with `mvn clean compile exec:java` and trace the sample's bucket-creation entry point. Read the linked AWS forum discussion and peer-authentication guidance; done means the sample can create the S3 bucket without the AmazonClientException.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.