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

Google Groups | jamesw | 6 months ago
  1. 0

    Problems installing Simian Army monkeys with a proxy

    Google Groups | 6 months ago | jamesw
    com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain
  2. 0

    Unable to create SimpleDB

    GitHub | 2 years ago | johnjelinek
    com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain
  3. 0

    ERROR com.netflix.simianarmy.MonkeyRunner

    Google Groups | 1 year ago | Chandra Anupogu
    com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Application not starting if no credentials are found

    GitHub | 2 years ago | alex88
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eurekaClientHolder': Initialization of bean failed; nested exception is 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': Initialization of bean failed; 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
  6. 0

    AWS Instance creation error

    Stack Overflow | 2 years ago | user3407271
    com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain
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

    Unable to load AWS credentials from any provider in the chain

    at com.amazonaws.auth.AWSCredentialsProviderChain.getCredentials()
  2. AWS SDK for Java - Core
    AWSCredentialsProviderChain.getCredentials
    1. com.amazonaws.auth.AWSCredentialsProviderChain.getCredentials(AWSCredentialsProviderChain.java:117)
    1 frame
  3. AWS Java SDK for Amazon SimpleDB
    AmazonSimpleDBClient.listDomains
    1. com.amazonaws.services.simpledb.AmazonSimpleDBClient.invoke(AmazonSimpleDBClient.java:1009)
    2. com.amazonaws.services.simpledb.AmazonSimpleDBClient.listDomains(AmazonSimpleDBClient.java:708)
    3. com.amazonaws.services.simpledb.AmazonSimpleDBClient.listDomains(AmazonSimpleDBClient.java:974)
    3 frames
  4. com.netflix.simianarmy
    BasicVolumeTaggingMonkeyContext.<init>
    1. com.netflix.simianarmy.aws.SimpleDBRecorder.init(SimpleDBRecorder.java:275)
    2. com.netflix.simianarmy.basic.BasicSimianArmyContext.createRecorder(BasicSimianArmyContext.java:219)
    3. com.netflix.simianarmy.basic.BasicSimianArmyContext.<init>(BasicSimianArmyContext.java:170)
    4. com.netflix.simianarmy.basic.janitor.BasicVolumeTaggingMonkeyContext.<init>(BasicVolumeTaggingMonkeyContext.java:38)
    4 frames
  5. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    5. java.lang.Class.newInstance(Class.java:383)
    5 frames
  6. com.netflix.simianarmy
    BasicMonkeyServer.init
    1. com.netflix.simianarmy.MonkeyRunner.factory(MonkeyRunner.java:229)
    2. com.netflix.simianarmy.MonkeyRunner.replaceMonkey(MonkeyRunner.java:145)
    3. com.netflix.simianarmy.basic.BasicMonkeyServer.addMonkeysToRun(BasicMonkeyServer.java:55)
    4. com.netflix.simianarmy.basic.BasicMonkeyServer.init(BasicMonkeyServer.java:78)
    4 frames
  7. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:241)
    1 frame
  8. Jetty Server
    ServletHolder.doStart
    1. org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
    2. org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
    2 frames
  9. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  10. Jetty Server
    WebAppContext.doStart
    1. org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
    2. org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)
    4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
    5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)
    5 frames
  11. org.gradle.api
    JettyPluginWebAppContext.doStart
    1. org.gradle.api.plugins.jetty.internal.JettyPluginWebAppContext.doStart(JettyPluginWebAppContext.java:112)
    1 frame
  12. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  13. Jetty Server
    ContextHandlerCollection.doStart
    1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    2. org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
    2 frames
  14. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  15. Jetty Server
    HandlerCollection.doStart
    1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    1 frame
  16. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  17. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    2. org.mortbay.jetty.Server.doStart(Server.java:224)
    2 frames
  18. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    1 frame
  19. org.gradle.api
    AbstractJettyRunTask.start
    1. org.gradle.api.plugins.jetty.internal.Jetty6PluginServer.start(Jetty6PluginServer.java:111)
    2. org.gradle.api.plugins.jetty.AbstractJettyRunTask.startJettyInternal(AbstractJettyRunTask.java:238)
    3. org.gradle.api.plugins.jetty.AbstractJettyRunTask.startJetty(AbstractJettyRunTask.java:191)
    4. org.gradle.api.plugins.jetty.AbstractJettyRunTask.start(AbstractJettyRunTask.java:162)
    4 frames
  20. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  21. org.gradle.internal
    JavaMethod.invoke
    1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
    1 frame
  22. Gradle Core
    DefaultGradleLauncher.run
    1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:227)
    2. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
    3. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
    4. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
    5. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
    6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
    7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
    8. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
    9. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
    10. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
    11. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
    12. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
    13. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
    14. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
    15. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    16. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
    17. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
    18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
    19. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
    20. org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
    21. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
    22. org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
    23. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
    24. org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
    25. org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
    26. org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
    27. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
    28. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
    29. org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
    30. org.gradle.internal.Factories$1.create(Factories.java:22)
    31. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
    32. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
    33. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
    34. org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
    35. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
    36. org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
    37. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
    38. org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
    39. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
    40. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
    40 frames
  23. Gradle Launcher
    RunBuildAction.run
    1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
    2. org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
    3. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
    5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
    6. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
    7. org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:45)
    8. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
    9. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
    10. org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
    10 frames
  24. Gradle Core
    Actions$RunnableActionAdapter.execute
    1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
    1 frame
  25. Gradle Launcher
    EntryPoint.run
    1. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
    2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
    3. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
    4. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
    5. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
    6. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
    7. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
    8. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
    9. org.gradle.launcher.Main.doAction(Main.java:33)
    10. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
    10 frames
  26. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  27. Gradle Launcher
    GradleMain.main
    1. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
    2. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
    3. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
    3 frames
  28. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  29. org.gradle.wrapper
    GradleWrapperMain.main
    1. org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
    2. org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
    3. org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
    3 frames