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) | 6 months ago
  1. 0

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

    Google Groups | 6 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 | 6 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

    I've been copying over the ci jobs from ci.fn.kuali.org to ci.kuali.org for the: * kscontractdoc-maven-plugin * repository-tools * externals-maven-plugin * fusion-maven-plugin The actual publishing and releasing works but the site-deploy doesn't. the cloudfront-maven-plugin fails. I've just removed the site-deploy part from these jobs for now so I can release and publish. {code} [INFO] --- maven-site-plugin:3.0-beta-3:deploy (default-deploy) @ externals-maven-plugin --- [INFO] Logged in - site.origin.kuali.org [INFO] Files: 258 Bytes: 4.7m [INFO] Progress: .................................................. [INFO] Files: 258 Time: 1.767s Rate: 2.645 MB/s [INFO] Logged off - site.origin.kuali.org [INFO] [INFO] --- maven-cloudfront-plugin:1.1.5:updateoriginbucket (s3) @ externals-maven-plugin --- [INFO] Updating S3 bucket - site.origin.kuali.org [INFO] Re-indexing content for - maven/plugins/externals-maven-plugin/latest/ [ERROR] Unable to unmarshall response (Couldn't initialize a sax driver for the XMLReader) com.amazonaws.AmazonClientException: Couldn't initialize a sax driver for the XMLReader at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.<init>(XmlResponsesSaxParser.java:97) at com.amazonaws.services.s3.model.transform.Unmarshallers$ListObjectsUnmarshaller.unmarshall(Unmarshallers.java:70) at com.amazonaws.services.s3.model.transform.Unmarshallers$ListObjectsUnmarshaller.unmarshall(Unmarshallers.java:67) at com.amazonaws.services.s3.internal.S3XmlResponseHandler.handle(S3XmlResponseHandler.java:62) at com.amazonaws.services.s3.internal.S3XmlResponseHandler.handle(S3XmlResponseHandler.java:31) at com.amazonaws.http.AmazonHttpClient.handleResponse(AmazonHttpClient.java:456) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:268) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:168) at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:2502) at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:2474) at com.amazonaws.services.s3.AmazonS3Client.listObjects(AmazonS3Client.java:409) at org.kuali.maven.mojo.s3.UpdateOriginBucketMojo.getObjectListing(UpdateOriginBucketMojo.java:244) at org.kuali.maven.mojo.s3.UpdateOriginBucketMojo.executeMojo(UpdateOriginBucketMojo.java:334) at org.kuali.maven.mojo.s3.BaseMojo.execute(BaseMojo.java:94) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 37.452s [INFO] Finished at: Thu May 22 13:35:07 UTC 2014 [INFO] Final Memory: 63M/768M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.kuali.maven.plugins:maven-cloudfront-plugin:1.1.5:updateoriginbucket (s3) on project externals-maven-plugin: Unexpected error: Unable to unmarshall response (Couldn't initialize a sax driver for the XMLReader) -> [Help 1] {code} For the release jobs its the last line that fails: {code} mvn validate -Pscm -N mvn clean release:prepare release:perform -B cd $WORKSPACE/target/checkout mvn clean deploy -Pkuali-release,sonatype-oss-release -DskipTests # The || true at the end here is ridiculous and insanely evil # Remove it when Sonatype resolves https://issues.sonatype.org/browse/OSSRH-5976 # Maven always reports a bogus BUILD FAILURE, even though the binaries got released correctly mvn nexus-staging:release -Pkuali-release,sonatype-oss-release -N || true mvn site-deploy -Pkuali-release -Dkuali.site.latest=true {code} For snapshot jobs taking out the site-deploy goal lets the job complete properly {code} mvn validate -Pscm -N mvn clean deploy site-deploy -Pkuali-release -e {code}

    Kuali JIRA | 3 years ago | Michael O'Cleirigh
    com.amazonaws.AmazonClientException: Couldn't initialize a sax driver for the XMLReader
  6. 0

    java - Apache Camel: Aws-S3 consumer starts failing with connection pool timeout - Stack Overflow

    efinancestocks.com | 1 year ago
    com.amazonaws.AmazonClientException: Unable to execute HTTP request:Timeout waiting for connection from pool

    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