CURL: Error 28: I cannot fix, because each "solution" does NOT tell you HOW to troubleshoot/fix
by baker7 from LinuxQuestions.org on (#6G6GZ)
Good Morning:
I am not sure how to proceed: Running:
========================================
brian@cardinal:/var/www$ uname -a
Linux cardinal 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux
brian@cardinal:/var/www$ uname -r
5.10.0-26-amd64
brian@cardinal:/var/www$
Whatever I do, with wordpress, which used to be FAST, and would load my sites like lightning, now, I cant get these sites to load fast. I look at the "Site Health" page, and it says:
The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.
The REST API request failed due to an error.
Error: cURL error 28: Resolving timed out after 10000 milliseconds (http_request_failed)
and:
Your site is unable to reach WordPress.org at 198.143.164.251, and returned the error: cURL error 28: Resolving timed out after 10000 milliseconds
and:
Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.
The loopback request to your site failed, this means features relying on them are not currently working as expected.
Error: cURL error 28: Resolving timed out after 10000 milliseconds (http_request_failed)
and
Background updates ensure that WordPress can auto-update if a security update is released for the version you are currently using.
Passed No version control systems were detected.
Passed Your installation of WordPress does not require FTP credentials to perform updates.
Warning Couldn't retrieve a list of the checksums for WordPress 6.0.3. This could mean that connections are failing to WordPress.org.
I am assuming that I am running what I should be, but curl is a PAIN: it was working before, and it apparently still does, but I cant troubleshoot the error because it tells me here:
https://www.hostinger.com/tutorials/curl-error-28
to Disable Firewalls in Wordpress (There are NONE on)
to Disable All wordpress plugins (They have been disabled)
to Reconfigure/reinstall SSL certificates (running a check on them gives me an "A")
to check Curl Version (curl 7.74.0 (x86_64-pc-linux-gnu) libcurl/7.74.0 OpenSSL/1.1.1w zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3
Release-Date: 2020-12-09)
To increase PHP Limits and timeouts: (They have been increased. BUT the problem still exists, even on a site that has a Newer version of wordpress than the site I am talking about (Buddy-baker.com) I have 4 domains, and all of them act slow) Im beginning to wonder if this thing is screwed, cause there is no "FIX" here on that site, and I dont know WHAT files need to be changed, and I have wp-config.php for EACH site. and there are php.ini's that have been adjusted.
I would appreciate a response that tells me something like:
"This is an error that is caused by <Insert explanation>"
"You need to: Check/edit/change <Insert files and locations">
This would be more helpful than to tell me that the error is a Curl 28, and shooting solutions that dont tell me what and how to change the files that may be the problem. I am also wondering if my mysql data file is really BIG, so that the site is slow because of too many queries being called, and it cant get to wordpress website, and i cant download any updates from the dashnoard either!
Is there a WAY to fix this error from hell? My website used to be faster, and now its slow, and I am not sure why, and the resources to fix this are not solutions. They look like ads or blog posts with theroy, and no step-by-step instructions: I AM the site admin, hosting my OWN site, I am NOT being hosted by anyone, so there's NO "Contacting the host provider" as a solution.
I hope that I was able to give you the information you may need. Please feel free to ask for anything else you may require. I am sorry if this may be the wrong place for this, but I am at a loss :(
Thanks,
Brian
I am not sure how to proceed: Running:
========================================
brian@cardinal:/var/www$ uname -a
Linux cardinal 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux
brian@cardinal:/var/www$ uname -r
5.10.0-26-amd64
brian@cardinal:/var/www$
Whatever I do, with wordpress, which used to be FAST, and would load my sites like lightning, now, I cant get these sites to load fast. I look at the "Site Health" page, and it says:
The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.
The REST API request failed due to an error.
Error: cURL error 28: Resolving timed out after 10000 milliseconds (http_request_failed)
and:
Your site is unable to reach WordPress.org at 198.143.164.251, and returned the error: cURL error 28: Resolving timed out after 10000 milliseconds
and:
Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.
The loopback request to your site failed, this means features relying on them are not currently working as expected.
Error: cURL error 28: Resolving timed out after 10000 milliseconds (http_request_failed)
and
Background updates ensure that WordPress can auto-update if a security update is released for the version you are currently using.
Passed No version control systems were detected.
Passed Your installation of WordPress does not require FTP credentials to perform updates.
Warning Couldn't retrieve a list of the checksums for WordPress 6.0.3. This could mean that connections are failing to WordPress.org.
I am assuming that I am running what I should be, but curl is a PAIN: it was working before, and it apparently still does, but I cant troubleshoot the error because it tells me here:
https://www.hostinger.com/tutorials/curl-error-28
to Disable Firewalls in Wordpress (There are NONE on)
to Disable All wordpress plugins (They have been disabled)
to Reconfigure/reinstall SSL certificates (running a check on them gives me an "A")
to check Curl Version (curl 7.74.0 (x86_64-pc-linux-gnu) libcurl/7.74.0 OpenSSL/1.1.1w zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3
Release-Date: 2020-12-09)
To increase PHP Limits and timeouts: (They have been increased. BUT the problem still exists, even on a site that has a Newer version of wordpress than the site I am talking about (Buddy-baker.com) I have 4 domains, and all of them act slow) Im beginning to wonder if this thing is screwed, cause there is no "FIX" here on that site, and I dont know WHAT files need to be changed, and I have wp-config.php for EACH site. and there are php.ini's that have been adjusted.
I would appreciate a response that tells me something like:
"This is an error that is caused by <Insert explanation>"
"You need to: Check/edit/change <Insert files and locations">
This would be more helpful than to tell me that the error is a Curl 28, and shooting solutions that dont tell me what and how to change the files that may be the problem. I am also wondering if my mysql data file is really BIG, so that the site is slow because of too many queries being called, and it cant get to wordpress website, and i cant download any updates from the dashnoard either!
Is there a WAY to fix this error from hell? My website used to be faster, and now its slow, and I am not sure why, and the resources to fix this are not solutions. They look like ads or blog posts with theroy, and no step-by-step instructions: I AM the site admin, hosting my OWN site, I am NOT being hosted by anyone, so there's NO "Contacting the host provider" as a solution.
I hope that I was able to give you the information you may need. Please feel free to ask for anything else you may require. I am sorry if this may be the wrong place for this, but I am at a loss :(
Thanks,
Brian