You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every now and then (read: once or twice a month, running 5 EC2 instances 24/7), InstanceProfileCredentials fail to work as expected.
It looks more like a service problem than a genuine aws-sdk issue, but the SDK could try to handle that exceptional states nevertheless (as it does with retrying the network request) - maybe retry here too and hope for a better response ...
Thank you for reporting these errors and stack traces. I agree that it should be more resilient and attempt to retry these errors. Let me take a look at this.
I've put together a patch that will catch both of these scenarios and expanded the unit tests to cover these as well. Thank you for your help tracking down these issues!
Every now and then (read: once or twice a month, running 5 EC2 instances 24/7),
InstanceProfileCredentials
fail to work as expected.It looks more like a service problem than a genuine aws-sdk issue, but the SDK could try to handle that exceptional states nevertheless (as it does with retrying the network request) - maybe retry here too and hope for a better response ...
There have been two variants so far:
Incomplete JSON data
Missing credentials in response
The text was updated successfully, but these errors were encountered: