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
{{ message }}
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
We got the following intermittent error when interacting with S3
Error retrieving credentials from the instance profile metadata server. When you are not running inside of Amazon EC2, you must provide your AWS access key ID and secret access key in the "key" and "secret" options when creating a client or provide an instantiated Aws\Common\Credentials\CredentialsInterface object. ([curl] 28: Operation timed out after 10011 milliseconds with 0 bytes received [url] http://169.254.169.254/latest/meta-data/iam/security-credentials/)
It seems this might be something to do with our connection to retrieve the IAM credentials being throttled (we have lots of machines doing so at the same time). And I read somewhere that we can resolve this by explicitly telling aws lib to cache the credentials via credentials.cache param. In your current implementation, the value of this is a boolean. However it seems AWS might have changed to required a proper adapter object to be passed in (ref: http://docs.aws.amazon.com/aws-sdk-php/v2/guide/credentials.html).
Have you (or anyone) faced the same problem? If so what are the suggested action?
If this is not related to your lib, please ignore and close the issue :)
The text was updated successfully, but these errors were encountered:
Hi,
We got the following intermittent error when interacting with S3
It seems this might be something to do with our connection to retrieve the IAM credentials being throttled (we have lots of machines doing so at the same time). And I read somewhere that we can resolve this by explicitly telling aws lib to cache the credentials via
credentials.cache
param. In your current implementation, the value of this is a boolean. However it seems AWS might have changed to required a proper adapter object to be passed in (ref: http://docs.aws.amazon.com/aws-sdk-php/v2/guide/credentials.html).Have you (or anyone) faced the same problem? If so what are the suggested action?
If this is not related to your lib, please ignore and close the issue :)
The text was updated successfully, but these errors were encountered: