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
For apps that have any kind of indirect network configuration (e.g. docker, k8s, ECS, etc), the InstanceProfileCredentialsProvider now hangs for 10 seconds before providing credentials. This has been reported in other SDKs:
The problem appears to be that the SDK now uses PUT /latest/api/token to create credentials, but this PUT API is subject to a hop limit so the request does not succeed. Instead it hangs waiting for a response. After 10 seconds a timeout exception is thrown and the SDK falls back to the usual GET /latest/meta-data/iam/security-credentials/... which succeeds.