com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • AWS Instance creation error
    via Stack Overflow by user3407271
    ,
  • Unable to create SimpleDB
    via GitHub by johnjelinek
    ,
    • com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'healthcheckService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsAutoScalingService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.netflix.asgard.AwsEc2Service com.netflix.asgard.applications.SimpleDBApplicationService.awsEc2Service; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsEc2Service': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': Invocation of init method failed; nested exception is com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain ... 4 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsAutoScalingService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.netflix.asgard.AwsEc2Service com.netflix.asgard.applications.SimpleDBApplicationService.awsEc2Service; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsEc2Service': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': Invocation of init method failed; nested exception is com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain ... 4 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsAutoScalingService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.netflix.asgard.AwsEc2Service com.netflix.asgard.applications.SimpleDBApplicationService.awsEc2Service; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsEc2Service': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': Invocation of init method failed; nested exception is com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain ... 4 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.netflix.asgard.AwsEc2Service com.netflix.asgard.applications.SimpleDBApplicationService.awsEc2Service; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsEc2Service': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': Invocation of init method failed; nested exception is com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain ... 4 more Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.netflix.asgard.AwsEc2Service com.netflix.asgard.applications.SimpleDBApplicationService.awsEc2Service; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsEc2Service': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': Invocation of init method failed; nested exception is com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain ... 4 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsEc2Service': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': Invocation of init method failed; nested exception is com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain ... 4 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': Invocation of init method failed; nested exception is com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain ... 4 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': Invocation of init method failed; nested exception is com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain ... 4 more Caused by: com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain at com.amazonaws.auth.AWSCredentialsProviderChain.getCredentials(AWSCredentialsProviderChain.java:117) at com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflowClient.invoke(AmazonSimpleWorkflowClient.java:3161) at com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflowClient.listDomains(AmazonSimpleWorkflowClient.java:1108) at com.netflix.asgard.AwsSimpleWorkflowService$6.makeRequest(AwsSimpleWorkflowService.groovy:445) at com.netflix.asgard.retriever.AwsResultsRetriever.retrieve(AwsResultsRetriever.groovy:48) at com.netflix.asgard.AwsSimpleWorkflowService.retrieveDomainsAndEnsureDomainIsRegistered(AwsSimpleWorkflowService.groovy:424) at com.netflix.asgard.FlowService.afterPropertiesSet(FlowService.groovy:69) ... 4 more

    Users with the same issue

    Nikolay Rybak
    Nikolay Rybak3 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    3 more bugmates