cURL error 28: Operation timed out after 10001 milliseconds: http_request_failed
-
I have been getting curl error 28 on my client’s site. I’ve searched extensively and tried the following things, but unfortunately unable to resolve this error.
1. I tried increasing the server limit to maximum possible on shared hosting – 512M. Briefly following PHP settings had solved the error, but it again appeared after a while.
max_execution_time = 30 max_input_time = 300 memory_limit = 128M post_max_size = 32M upload_max_size = 32M
I have played along with many different combinations of the above settings but to no avail. I’ve followed this – How to fix curl error.
2. Migrating the production copy to local wamp server also shows the error for the respective theme. Disabling the plugins doesn’t solve the error either. Going to default theme solves it.
3. PHP is updated to the latest version and the curl library is the default library that comes with latest PHP 7.4. WordPress is updated to the latest version as well.
4. Limitation on wp-corn or openDNS or loopback being disabled is what I haven’t check. But, as I’m getting it on the local copy I believe it shouldn’t be the source. Moreover, it doesn’t appear for default theme 2020 theme with/without plugins.
At the moment, I can’t find any article stating other sources of this error. So asking over here. Please suggest. Thank you for your time.
The page I need help with: [log in to see the link]
- The topic ‘cURL error 28: Operation timed out after 10001 milliseconds: http_request_failed’ is closed to new replies.