Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GSherwin's avatar

AWS Error with Laravel 5.8 on localhost

Any ideas on why I get this message on local host, but not on the remote host. Started when I updated to 5.8. 5.7 worked fine.

Error retrieving credentials from the instance profile metadata server. (cURL error 28: Connection timed out after 1001 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html))

0 likes
6 replies
AntLusher's avatar

Yeah me too - I'm thinking it could be something to do the server headers configuration? Maybe CORS? Have you found a solution? Please post if so. Ant

rexb's avatar

Anyone found a solution for this?

rexb's avatar

not sure if this is the correct solution but it works.

$ sudo supervisorctl stop all

Please or to participate in this conversation.