com.xerox.amazonws.ec2.EC2Exception: Client error : AWS was not able to validate the provided access credentials

Atlassian JIRA | Zed Yap [Atlassian] | 5 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

    Currently, Bamboo will throw the following error in the log: {code} 2012-04-01 09:12:23,024 INFO [TP-Processor3] [AccessLogFilter] arjans GET https://bamboo.luminis.net/rest/api/latest/server?_=1333264343127 362321kb 2012-04-01 09:12:27,195 ERROR [elastic-pool-3-thread-1] [EBSVolumeManagerImpl] Could not retrieve volume descriptions. com.xerox.amazonws.ec2.EC2Exception: Client error : AWS was not able to validate the provided access credentials at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2006) at com.xerox.amazonws.ec2.Jec2.describeVolumes(Jec2.java:1511) at com.atlassian.aws.ec2.EBSVolumeManagerImpl.run(EBSVolumeManagerImpl.java:67) at com.atlassian.aws.ec2.UpdateSchedulerImpl.run(UpdateSchedulerImpl.java:45) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} +Steps to replicate the problem+ # Install a new fresh Bamboo # Login to Bamboo and direct your to Elastic configuration via _Bamboo Administration >> Elastic Bamboo >> Configuration_ # On the configuration page for elastic agent, do not fill in anything and just click on Save button # The exception will be throw # Disable the Elastic configuration +Workaround+ # Stop Bamboo # Find the administration.xml via _<bamboo home>\xml-data\configuration_ # Delete the tag including everything in between the following tag: {code} <elasticConfig> ...... </elasticConfig> {code} # Save the changes and restart Bamboo server *NOTE:* Please backup your administration.xml before you proceed with the deletion

    Atlassian JIRA | 5 years ago | Zed Yap [Atlassian]
    com.xerox.amazonws.ec2.EC2Exception: Client error : AWS was not able to validate the provided access credentials
  2. 0

    Currently, Bamboo will throw the following error in the log: {code} 2012-04-01 09:12:23,024 INFO [TP-Processor3] [AccessLogFilter] arjans GET https://bamboo.luminis.net/rest/api/latest/server?_=1333264343127 362321kb 2012-04-01 09:12:27,195 ERROR [elastic-pool-3-thread-1] [EBSVolumeManagerImpl] Could not retrieve volume descriptions. com.xerox.amazonws.ec2.EC2Exception: Client error : AWS was not able to validate the provided access credentials at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2006) at com.xerox.amazonws.ec2.Jec2.describeVolumes(Jec2.java:1511) at com.atlassian.aws.ec2.EBSVolumeManagerImpl.run(EBSVolumeManagerImpl.java:67) at com.atlassian.aws.ec2.UpdateSchedulerImpl.run(UpdateSchedulerImpl.java:45) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} +Steps to replicate the problem+ # Install a new fresh Bamboo # Login to Bamboo and direct your to Elastic configuration via _Bamboo Administration >> Elastic Bamboo >> Configuration_ # On the configuration page for elastic agent, do not fill in anything and just click on Save button # The exception will be throw # Disable the Elastic configuration +Workaround+ # Stop Bamboo # Find the administration.xml via _<bamboo home>\xml-data\configuration_ # Delete the tag including everything in between the following tag: {code} <elasticConfig> ...... </elasticConfig> {code} # Save the changes and restart Bamboo server *NOTE:* Please backup your administration.xml before you proceed with the deletion

    Atlassian JIRA | 5 years ago | Zed Yap [Atlassian]
    com.xerox.amazonws.ec2.EC2Exception: Client error : AWS was not able to validate the provided access credentials

    Root Cause Analysis

    1. com.xerox.amazonws.ec2.EC2Exception

      Client error : AWS was not able to validate the provided access credentials

      at com.xerox.amazonws.ec2.Jec2.makeRequestInt()
    2. com.xerox.amazonws
      Jec2.describeVolumes
      1. com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2006)
      2. com.xerox.amazonws.ec2.Jec2.describeVolumes(Jec2.java:1511)
      2 frames
    3. com.atlassian.aws
      UpdateSchedulerImpl.run
      1. com.atlassian.aws.ec2.EBSVolumeManagerImpl.run(EBSVolumeManagerImpl.java:67)
      2. com.atlassian.aws.ec2.UpdateSchedulerImpl.run(UpdateSchedulerImpl.java:45)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
      6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      9. java.lang.Thread.run(Thread.java:662)
      9 frames