com.amazonaws.AmazonClientException

Unable to load AWS credentials from any provider in the chain

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web40

  • via Unknown by Tony Ferro,
  • via Unknown by Tony Ferro,
  • Stack trace

    • 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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Nikolay RybakNikolay Rybak
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    3 more bugmates