cURL error 28: Connection timed out after 1004 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) Hello,
I'm getting the error:
cURL error 28: Connection timed out after 1004 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
I'm running it locally using php artisan serve.
How many I adjust the timeout?
Thanks!
I know you're not using WordPress, but this blogpost can help you in the right direction: https://www.samuelaguilera.com/post/curl-error-28-wordpress
Basically the url you're trying to connect to is not available or cannot be found. Can be DNS or a proxy that is blocking it. Since curl can't find it, it throws this error after 1 second!
Please sign in or create an account to participate in this conversation.