java.lang.RuntimeException: com.amazonaws.services.s3.model.AmazonS3Exception: Status Code: 301, AWS Service: Amazon S3, AWS Request ID: FFC11C51CF485478, AWS Error Code: PermanentRedirect, AWS Error Message: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint., S3 Extended Request ID: RkHqHGuiRN2SmQQMwem4elgLyM6VGvnuDicN9y81n7oYIV9y8gxTqrmfDkrI+cVSw77QE6TsDc0=

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Set the S3 bucket to the same region as AmazonS3Client, otherwise it just throws this exception. Check if your bucket name is correct as well.

Solutions on the web

via Jenkins JIRA by Michal Krupa, 1 year ago
com.amazonaws.services.s3.model.AmazonS3Exception: Status Code: 301, AWS Service: Amazon S3, AWS Request ID: FFC11C51CF485478, AWS Error Code: PermanentRedirect, AWS Error Message: The bucket you are attempting to access must be addressed using the
via Jenkins JIRA by Michal Krupa, 1 year ago
com.amazonaws.services.s3.model.AmazonS3Exception: Status Code: 301, AWS Service: Amazon S3, AWS Request ID: FFC11C51CF485478, AWS Error Code: PermanentRedirect, AWS Error Message: The bucket you are attempting to access must be addressed using the
via jenkins-ci.org by Unknown author, 2 years ago
com.amazonaws.services.s3.model.AmazonS3Exception: Status Code: 301, AWS Service: Amazon S3, AWS Request ID: FFC11C51CF485478, AWS Error Code: PermanentRedirect, AWS Error Message: The bucket you are attempting to access must be addressed using the
via GitHub by Fantoccini
, 2 years ago
com.amazonaws.services.s3.model.AmazonS3Exception: Status Code: 301, AWS Service: Amazon S3, AWS Request ID: ******, AWS Error Code: PermanentRedirect, AWS Error Message: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint., S3 Extended Request ID: *********
via GitHub by franklanganke
, 1 year ago
com.amazonaws.AmazonServiceException: Status Code: 400, AWS Service: AWSElasticBeanstalk, AWS Request ID: 68b5211b-08f8-11e4-9fe1-770f3d5f5279, AWS Error Code: ValidationError, AWS Error Message: 1 validation error detected: Value '[]' at
java.lang.RuntimeException: com.amazonaws.services.s3.model.AmazonS3Exception: Status Code: 301, AWS Service: Amazon S3, AWS Request ID: FFC11C51CF485478, AWS Error Code: PermanentRedirect, AWS Error Message: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint., S3 Extended Request ID: RkHqHGuiRN2SmQQMwem4elgLyM6VGvnuDicN9y81n7oYIV9y8gxTqrmfDkrI+cVSw77QE6TsDc0=
at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:725)
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:388)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:249)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3104)
at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1233)
at br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.uploadArchive(Deployer.java:194)
at br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.perform(Deployer.java:110)
at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:207)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.build(Build.java:205)
at hudson.model.Build$BuildExecution.doRun(Build.java:162)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
at hudson.model.Run.execute(Run.java:1744)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:374)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
48 times, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.