com.amazonaws.AmazonClientException: Not able to determine region for ap-south-1.Please upgrade to a newer version of the SDK

Google Groups | shrav...@gmail.com (JIRA) | 4 months ago
  1. 0

    [JIRA] (JENKINS-37135) Unable to upload the build files to S3 bucket

    Google Groups | 4 months ago | shrav...@gmail.com (JIRA)
    com.amazonaws.AmazonClientException: Not able to determine region for ap-south-1.Please upgrade to a newer version of the SDK
  2. 0

    Hi, I have created an S3 bucket on my AWS account. I am hosting my all instances on ap-south-1 region. But I believe that we don't have to specify region for S3 bucket hence its says Global in AWS. But in S3 plogin I have to specify the region and I don't see a ap-south-1 region so I selected the default us-west-1 region but I get the below error. ---------------------------- Publish artifacts to S3 Bucket Build is still running Publish artifacts to S3 Bucket Using S3 profile: S3AllAccess Publish artifacts to S3 Bucket bucket=api.poppyquiz.com/12, file=app.js region=us-east-1, will be uploaded from slave=false managed=false , server encryption false Publish artifacts to S3 Bucket bucket=api.poppyquiz.com/12, file=client_secret.json region=us-east-1, will be uploaded from slave=false managed=false , server encryption false Publish artifacts to S3 Bucket bucket=api.poppyquiz.com/12, file=npm-debug.log region=us-east-1, will be uploaded from slave=false managed=false , server encryption false Publish artifacts to S3 Bucket bucket=api.poppyquiz.com/12, file=package.json region=us-east-1, will be uploaded from slave=false managed=false , server encryption false ERROR: Build step failed with exception com.amazonaws.AmazonClientException: Not able to determine region for ap-south-1.Please upgrade to a newer version of the SDK at com.amazonaws.services.s3.internal.S3RequestEndpointResolver.resolveRequestEndpoint(S3RequestEndpointResolver.java:105) at com.amazonaws.services.s3.internal.S3V4AuthErrorRetryStrategy.redirectToRegionInHeader(S3V4AuthErrorRetryStrategy.java:87) at com.amazonaws.services.s3.internal.S3V4AuthErrorRetryStrategy.shouldRetryWithAuthParam(S3V4AuthErrorRetryStrategy.java:72) at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:903) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:597) at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:363) at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:329) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:308) at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3659) at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1422) at com.amazonaws.services.s3.transfer.internal.UploadCallable.uploadInOneChunk(UploadCallable.java:131) at com.amazonaws.services.s3.transfer.internal.UploadCallable.call(UploadCallable.java:123) at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:139) at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:47) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Build step 'Publish artifacts to S3 Bucket' marked build as failure ---------------------------- Because of this issue I am not at all able to use this plugin. I really appreciate help in this regard

    Jenkins JIRA | 4 months ago | shravan jha
    com.amazonaws.AmazonClientException: Not able to determine region for ap-south-1.Please upgrade to a newer version of the SDK
  3. 0

    Jackrabbit - Dev - [jira] [Updated] (JCR-3740) s3 datastore classloading issue

    nabble.com | 1 year ago
    com.amazonaws.AmazonClientException: Unable to unmarshall response (Couldn't initialize a sax driver for the XMLReader)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jackrabbit - Dev - [jira] [Commented] (JCR-3740) s3 datastore classloading issue

    nabble.com | 1 year ago
    com.amazonaws.AmazonClientException: Unable to unmarshall response (Couldn't initialize a sax driver for the XMLReader)
  6. 0

    Jackrabbit - Dev - [jira] [Commented] (JCR-3740) s3 datastore classloading issue

    nabble.com | 1 year ago
    com.amazonaws.AmazonClientException: Unable to unmarshall response (Couldn't initialize a sax driver for the XMLReader)

    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.AmazonClientException

      Not able to determine region for ap-south-1.Please upgrade to a newer version of the SDK

      at com.amazonaws.services.s3.internal.S3RequestEndpointResolver.resolveRequestEndpoint()
    2. AWS Java SDK for Amazon S3
      S3V4AuthErrorRetryStrategy.shouldRetryWithAuthParam
      1. com.amazonaws.services.s3.internal.S3RequestEndpointResolver.resolveRequestEndpoint(S3RequestEndpointResolver.java:105)
      2. com.amazonaws.services.s3.internal.S3V4AuthErrorRetryStrategy.redirectToRegionInHeader(S3V4AuthErrorRetryStrategy.java:87)
      3. com.amazonaws.services.s3.internal.S3V4AuthErrorRetryStrategy.shouldRetryWithAuthParam(S3V4AuthErrorRetryStrategy.java:72)
      3 frames
    3. AWS SDK for Java - Core
      AmazonHttpClient.execute
      1. com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:903)
      2. com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:597)
      3. com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:363)
      4. com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:329)
      5. com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:308)
      5 frames
    4. AWS Java SDK for Amazon S3
      UploadMonitor.call
      1. com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3659)
      2. com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1422)
      3. com.amazonaws.services.s3.transfer.internal.UploadCallable.uploadInOneChunk(UploadCallable.java:131)
      4. com.amazonaws.services.s3.transfer.internal.UploadCallable.call(UploadCallable.java:123)
      5. com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:139)
      6. com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:47)
      6 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames