org.jclouds.rest.AuthorizationException: POST **https://ec2.us-east-1.amazonaws.com/ HTTP/1.1** -> HTTP/1.1 401 Unauthorized

GitHub | pwhitham | 3 months ago
  1. 0

    Receiving 401 API access error to wrong region when using Chaos Monkey with instance roles and sts service.

    GitHub | 3 months ago | pwhitham
    org.jclouds.rest.AuthorizationException: POST **https://ec2.us-east-1.amazonaws.com/ HTTP/1.1** -> HTTP/1.1 401 Unauthorized
  2. 0

    Error while creating storm cluster

    GitHub | 9 months ago | barkatdhillon
    org.jclouds.rest.AuthorizationException: POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 -> HTTP/1.1 401 Unauthorized
  3. 0

    Error in SSH connection to instance, While performing Burn CPU of Chaos Monkey tool using Simian Army tool

    Stack Overflow | 2 years ago
    org.jclouds.rest.AuthorizationException: POST https://ec2.eu-central-1.amazonaws.com/ HTTP/1.1 -> HTTP/1.1 401 Unauthorized
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Burn CPU error in connecting ssh

    Google Groups | 2 years ago | Asha
    org.jclouds.rest.AuthorizationException: POST https://ec2.eu-central-1.amazonaws.com/ HTTP/1.1 -> HTTP/1.1 401 Unauthorized
  6. 0

    Re: Thread being killed

    jclouds-user | 2 years ago | Andrew Gaul
    org.jclouds.rest.AuthorizationException: HEAD https://phalliday-opscenter-backups-4.s3.amazonaws.com/snapshots/728139a7-093b-40f7-96a9-767a178fa5a5/sstables/OpsCenter-pdps-jb-114-Data.db HTTP/1.1 -> HTTP/1.1 403 Forbidden

    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. org.jclouds.http.HttpResponseException

      request: POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 [Action=DescribeRegions] failed with response: HTTP/1.1 401 Unauthorized

      at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError()
    2. org.jclouds.aws
      ParseAWSErrorFromXmlContent.handleError
      1. org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:63)
      1 frame
    3. jclouds Components Core
      FunctionalReflection$FunctionalInvocationHandler.handleInvocation
      1. org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:65)
      2. org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:132)
      3. org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:101)
      4. org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:90)
      5. org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:73)
      6. org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:44)
      7. org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
      7 frames
    4. Guava
      AbstractInvocationHandler.invoke
      1. com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
      1 frame
    5. com.sun.proxy
      $Proxy169.describeRegions
      1. com.sun.proxy.$Proxy169.describeRegions(Unknown Source)
      1 frame
    6. jclouds ec2 api
      DescribeRegionsForRegionURIs.get
      1. org.jclouds.ec2.suppliers.DescribeRegionsForRegionURIs.get(DescribeRegionsForRegionURIs.java:50)
      2. org.jclouds.ec2.suppliers.DescribeRegionsForRegionURIs.get(DescribeRegionsForRegionURIs.java:38)
      2 frames
    7. jclouds Components Core
      MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load
      1. org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:73)
      2. org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57)
      2 frames
    8. Guava
      LocalCache$LocalLoadingCache.get
      1. com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
      2. com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
      3. com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
      4. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
      5. com.google.common.cache.LocalCache.get(LocalCache.java:3937)
      6. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
      7. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
      7 frames
    9. jclouds Components Core
      RegionIdsFromRegionIdToURIKeySet.get
      1. org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:119)
      2. org.jclouds.location.suppliers.derived.RegionIdsFromRegionIdToURIKeySet.get(RegionIdsFromRegionIdToURIKeySet.java:45)
      3. org.jclouds.location.suppliers.derived.RegionIdsFromRegionIdToURIKeySet.get(RegionIdsFromRegionIdToURIKeySet.java:33)
      3 frames
    10. Guava
      Suppliers$SupplierComposition.get
      1. com.google.common.base.Suppliers$SupplierComposition.get(Suppliers.java:67)
      1 frame
    11. jclouds Components Core
      MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load
      1. org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:73)
      2. org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57)
      2 frames
    12. Guava
      LocalCache$LocalLoadingCache.get
      1. com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
      2. com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
      3. com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
      4. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
      5. com.google.common.cache.LocalCache.get(LocalCache.java:3937)
      6. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
      7. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
      7 frames
    13. jclouds Components Core
      MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get
      1. org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:119)
      1 frame
    14. jclouds Amazon EC2 provider
      AWSEC2ListNodesStrategy.pollRunningInstances
      1. org.jclouds.aws.ec2.compute.strategy.AWSEC2ListNodesStrategy.pollRunningInstances(AWSEC2ListNodesStrategy.java:65)
      1 frame
    15. jclouds ec2 api
      EC2ListNodesStrategy.listNodes
      1. org.jclouds.ec2.compute.strategy.EC2ListNodesStrategy.listDetailsOnNodesMatching(EC2ListNodesStrategy.java:107)
      2. org.jclouds.ec2.compute.strategy.EC2ListNodesStrategy.listNodes(EC2ListNodesStrategy.java:86)
      3. org.jclouds.ec2.compute.strategy.EC2ListNodesStrategy.listNodes(EC2ListNodesStrategy.java:58)
      3 frames
    16. jclouds compute core
      BaseComputeService.listNodes
      1. org.jclouds.compute.internal.BaseComputeService.listNodes(BaseComputeService.java:335)
      1 frame
    17. com.netflix.simianarmy
      Monkey$1.run
      1. com.netflix.simianarmy.client.aws.AWSClient.getJcloudsNode(AWSClient.java:857)
      2. com.netflix.simianarmy.client.aws.AWSClient.connectSsh(AWSClient.java:837)
      3. com.netflix.simianarmy.chaos.ChaosInstance.connectSsh(ChaosInstance.java:123)
      4. com.netflix.simianarmy.chaos.ChaosInstance.canConnectSsh(ChaosInstance.java:101)
      5. com.netflix.simianarmy.chaos.ScriptChaosType.canApply(ScriptChaosType.java:55)
      6. com.netflix.simianarmy.chaos.FillDiskChaosType.canApply(FillDiskChaosType.java:52)
      7. com.netflix.simianarmy.basic.chaos.BasicChaosMonkey.pickChaosType(BasicChaosMonkey.java:143)
      8. com.netflix.simianarmy.basic.chaos.BasicChaosMonkey.doMonkeyBusiness(BasicChaosMonkey.java:123)
      9. com.netflix.simianarmy.Monkey.run(Monkey.java:134)
      10. com.netflix.simianarmy.Monkey$1.run(Monkey.java:155)
      10 frames
    18. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames