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
i want to know about the steps for setting up the composer for dynamodb for sdk php
i am getting error:-
C:\Users\LAKSHAYpc>php sample.php
Creating bucket named php-sdk-sample-53f2f056ec97c0.91281925
Fatal error: Uncaught exception 'Aws\Common\Exception\InstanceProfileCredentials
Exception' with message '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\Credent
ialsInterface object. ([curl] 28: Connection timed out after 5000 milliseconds [
url] http://169.254.169.254/latest/meta-data/iam/security-credentials/)' in C:\U
sers\LAKSHAYpc\vendor\aws\aws-sdk-php\src\Aws\Common\InstanceMetadata\InstanceMe
tadataClient.php:85
Stack trace:
#0 C:\Users\LAKSHAYpc\vendor\aws\aws-sdk-php\src\Aws\Common\Credentials\Refresha
RefreshableCredentials.php(54): Aws\Common\Credentials\RefreshableInstanceProfil
e in C:\Users\LAKSHAYpc\vendor\aws\aws-sdk-php\src\Aws\Common\InstanceMetadata\I
nstanceMetadataClient.php on line 85
The text was updated successfully, but these errors were encountered:
Are you trying to use the composer-s3-plugin without configuring your credentials ?
But anyway, this should be reported to the plugin if you use it (or to any other library you use whcih requires the AWS SDK). Composer itself does not use the AWS SDK
Well, this is even worse. When looking at your description again, the error does not even appear when running composer, but when running some other PHP code. So this has nothing to do with Composer at all.
The Composer issue tracker is not a support channel for the AWS SDK. Contact the AWS SDK support instead.
i want to know about the steps for setting up the composer for dynamodb for sdk php
i am getting error:-
C:\Users\LAKSHAYpc>php sample.php
Creating bucket named php-sdk-sample-53f2f056ec97c0.91281925
Fatal error: Uncaught exception 'Aws\Common\Exception\InstanceProfileCredentials
Exception' with message '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\Credent
ialsInterface object. ([curl] 28: Connection timed out after 5000 milliseconds [
url] http://169.254.169.254/latest/meta-data/iam/security-credentials/)' in C:\U
sers\LAKSHAYpc\vendor\aws\aws-sdk-php\src\Aws\Common\InstanceMetadata\InstanceMe
tadataClient.php:85
Stack trace:
#0 C:\Users\LAKSHAYpc\vendor\aws\aws-sdk-php\src\Aws\Common\Credentials\Refresha
bleInstanceProfileCredentials.php(52): Aws\Common\InstanceMetadata\InstanceMetad
ataClient->getInstanceProfileCredentials()
#1 C:\Users\LAKSHAYpc\vendor\aws\aws-sdk-php\src\Aws\Common\Credentials\Abstract
RefreshableCredentials.php(54): Aws\Common\Credentials\RefreshableInstanceProfil
e in C:\Users\LAKSHAYpc\vendor\aws\aws-sdk-php\src\Aws\Common\InstanceMetadata\I
nstanceMetadataClient.php on line 85
The text was updated successfully, but these errors were encountered: