com.amazonaws.AmazonClientException: Unable to load credentials from Amazon EC2 metadata service

Google Groups | Stuart MacIntosh | 3 years ago
  1. 0

    Using ICE outside of EC2

    Google Groups | 3 years ago | Stuart MacIntosh
    com.amazonaws.AmazonClientException: Unable to load credentials from Amazon EC2 metadata service
  2. 0

    Null in api call: api/v3/projects/null/merge_requests/2/notes

    GitHub | 3 years ago | styx
    java.lang.Error: java.io.FileNotFoundException: http://gitlab.****.be/api/v3/projects/null/merge_requests/2/notes?private_token=H9***qq
  3. 0

    Sun Syndication API throwing error while trying to parse specific RSS feed

    Stack Overflow | 5 years ago | vaibhav
    java.io.FileNotFoundException: http://localhost/world/?format=rss
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins Deploy Error Tomcat 6.x

    Stack Overflow | 3 years ago | Viv
    java.io.FileNotFoundException: http://192.168.2.X/manager/list
  6. 0

    FileNotFoundException while getting the InputStream object from HttpURLConnection

    Stack Overflow | 6 years ago | naiquevin
    java.io.FileNotFoundException: http://localhost:8080/myapp/service/generate

  1. tyson925 1 times, last 4 weeks ago
7 unregistered visitors
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. java.io.FileNotFoundException

    http://169.254.169.254/latest/meta-data/iam/security-credentials/

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
  2. Java RT
    HttpURLConnection.getInputStream
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
    1 frame
  3. AWS SDK for Java - Core
    InstanceProfileCredentialsProvider.getCredentials
    1. com.amazonaws.internal.EC2MetadataClient.readResponse(EC2MetadataClient.java:106)
    2. com.amazonaws.internal.EC2MetadataClient.readResource(EC2MetadataClient.java:88)
    3. com.amazonaws.internal.EC2MetadataClient.getDefaultCredentials(EC2MetadataClient.java:53)
    4. com.amazonaws.auth.InstanceProfileCredentialsProvider.loadCredentials(InstanceProfileCredentialsProvider.java:73)
    5. com.amazonaws.auth.InstanceProfileCredentialsProvider.getCredentials(InstanceProfileCredentialsProvider.java:37)
    5 frames
  4. AWS Java SDK for Amazon S3
    AmazonS3Client.getObject
    1. com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:2969)
    2. com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:911)
    3. com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:801)
    3 frames
  5. com.netflix.ice
    ProcessorConfig.<init>
    1. com.netflix.ice.common.AwsUtils.download(AwsUtils.java:313)
    2. com.netflix.ice.common.AwsUtils.download(AwsUtils.java:308)
    3. com.netflix.ice.common.AwsUtils.downloadFileIfNotExist(AwsUtils.java:296)
    4. com.netflix.ice.basic.BasicReservationService.init(BasicReservationService.java:96)
    5. com.netflix.ice.processor.ProcessorConfig.<init>(ProcessorConfig.java:86)
    5 frames
  6. Java RT
    Constructor.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:532)
    4 frames
  7. Springloaded
    ReflectiveInterceptor.jlrConstructorNewInstance
    1. org.springsource.loaded.ri.ReflectiveInterceptor.jlrConstructorNewInstance(ReflectiveInterceptor.java:975)
    1 frame
  8. Groovy
    AbstractCallSite.callConstructor
    1. org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
    2. org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
    3. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
    4. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
    4 frames
  9. Unknown
    BootStrap$_closure1.doCall
    1. BootStrap$_closure1.doCall(BootStrap.groovy:174)
    1 frame
  10. 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:616)
    4 frames
  11. Springloaded
    ReflectiveInterceptor.jlrMethodInvoke
    1. org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1243)
    1 frame
  12. Groovy
    Closure.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
    3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1082)
    4. groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)
    5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)
    6. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:956)
    7. groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1106)
    8. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:906)
    9. groovy.lang.Closure.call(Closure.java:412)
    10. groovy.lang.Closure.call(Closure.java:406)
    10 frames
  13. Grails
    DefaultGrailsBootstrapClass.callInit
    1. grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:308)
    2. grails.util.Environment.executeForEnvironment(Environment.java:301)
    3. grails.util.Environment.executeForCurrentEnvironment(Environment.java:277)
    4. org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60)
    4 frames
  14. Grails
    GrailsContextLoader.initWebApplicationContext
    1. org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:74)
    2. org.codehaus.groovy.grails.web.context.GrailsContextLoader.initWebApplicationContext(GrailsContextLoader.java:108)
    2 frames
  15. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
    1 frame
  16. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    5 frames
  17. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:679)
    5 frames