Laravel 5.1: Error retrieving credentials from instance profile metadata service. We get “AwsExceptionCredentialsException”

enter image description here In laravel I installed package “aws/aws-sdk-php”: “^3.180” also updating an IAM role variable in ENV file “AwsExceptionCredentialsException Error retrieving credentials from sample profile metadata service (cURL error 28: Connection to https://ift.tt/3xn5WIE timed out after 1010 milliseconds (see https://ift.tt/2dhJ70w) /security -credentials/)” exception. We want to upload images to s3 bucket using AWS IAM role.

enter image description here

via Mohamed of Chebli

NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post
NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post