amranidev / micro-bus

Event driven microservices with laravel/lumen and AWS
MIT License
73 stars 11 forks source link

CredentialsException #11

Closed patryyyck closed 3 years ago

patryyyck commented 3 years ago

Hello,

This package looks awesome.

But i have the following error when i try to publish an event.

Aws\Exception\CredentialsException
Error retrieving credentials from the instance profile metadata service.
(cURL error 28: Connection timed out after 1000 milliseconds
(see https://curl.haxx.se/libcurl/c/libcurl-errors.html) 
for http://169.254.169.254/latest/meta-data/iam/security-credentials/)

I'm using Laravel 8 with a Localstack SNS/SQS.

Thanks four your help.

Regards

patryyyck commented 3 years ago

Hi,

I forgot to specify the endpoint in the config/publisher.php. It works perfectly now.

Thanks anyway ;-)