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=

Jenkins JIRA | Michal Krupa | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JENKINS-29374] S3 request format does not conform to Non-US regions - Jenkins JIRA

    jenkins-ci.org | 2 years ago
    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=
  2. 0

    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 br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:211) 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) Caused by: 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 com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1080) 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) ... 9 more

    Jenkins JIRA | 2 years ago | Michal Krupa
    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=
  3. 0

    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 br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:211) 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) Caused by: 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 com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1080) 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) ... 9 more

    Jenkins JIRA | 2 years ago | Michal Krupa
    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=
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Deploy fails if s3 and elastic beanstalk are in different regions.

    GitHub | 3 years ago | Fantoccini
    java.lang.RuntimeException: 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: *********
  6. 0

    AWS authentication requires a valid Date or x-amz-date header

    Stack Overflow | 1 year ago | julius_am
    com.amazonaws.services.s3.model.AmazonS3Exception: AWS authentication requires a valid Date or x-amz-date header (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 649FE9210F6B7758), S3 Extended Request ID: rPaO3PhaiVUP3Nwt6ORehaZUICUJ0nh+Ij8od3Aiq9RoTZtwaZipVyDRI+Hr6qa67A1vwgjpbJo=
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. AWS SDK for Java - Core
    AmazonHttpClient.execute
    1. com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:725)
    2. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:388)
    3. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:249)
    3 frames
  3. AWS Java SDK for Amazon S3
    AmazonS3Client.putObject
    1. com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3104)
    2. com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1233)
    3. com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1080)
    3 frames
  4. br.com.ingenieux
    AWSEBDeploymentBuilder.perform
    1. br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.uploadArchive(Deployer.java:194)
    2. br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.perform(Deployer.java:110)
    3. br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:207)
    3 frames
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
    3. hudson.model.Build$BuildExecution.build(Build.java:205)
    4. hudson.model.Build$BuildExecution.doRun(Build.java:162)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
    6. hudson.model.Run.execute(Run.java:1744)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:98)
    9. hudson.model.Executor.run(Executor.java:374)
    9 frames