com.amazonaws.AmazonClientException: The credentials received from the Amazon EC2 metadata service have expired

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 1 year ago
The credentials received from the Amazon EC2 metadata service have expired
com.amazonaws.AmazonClientException: The credentials received from the Amazon EC2 metadata service have expired
at com.amazonaws.auth.InstanceProfileCredentialsProvider.getCredentials(InstanceProfileCredentialsProvider.java:126)
at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.invoke(AWSSecurityTokenServiceClient.java:1082)
at com.netflix.ice.common.AwsUtils.getAssumedCredentials(AwsUtils.java:79)
at com.netflix.ice.common.AwsUtils.listAllObjects(AwsUtils.java:168)
at com.netflix.ice.processor.BillingFileProcessor.poll(BillingFileProcessor.java:87)
at com.netflix.ice.common.Poller.doWork(Poller.java:50)
at com.netflix.ice.common.Poller.access$000(Poller.java:28)
at com.netflix.ice.common.Poller$1.run(Poller.java:88)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.