REST API Encountered an Error
-
I am experiencing two “Critical Errors” when I use the Site Health tool on the backend of my wordpress website. Here’s some info of what’s happening & possible useful information to help fix the issue.
2 critical issues
Critical issues are items that may have a high impact on your sites performance or security, and resolving these issues should be prioritized.
--------------------------------------------------------------
The REST API encountered an error
Performance
The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.
When testing the REST API, an error was encountered:
REST API Endpoint: https://the-vibe-tribe.com/wp-json/wp/v2/types/post?context=edit
REST API Response: (http_request_failed) cURL error 28: Connection timed out after 10003 milliseconds
--------------------------------------------------------------
Your site could not complete a loopback request
Performance
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: Connection timed out after 10002 milliseconds (http_request_failed)Version 6.5.5 (Latest version: 6.6)
Site Language en_US
User Language en_US
Timezone +00:00
Home URL https://the-vibe-tribe.com
Site URL https://the-vibe-tribe.com
Permalink structure /%year%/%monthnum%/%postname%/
Is this site using HTTPS? Yes
Is this a multisite? No
Can anyone register on this site? Yes
Is this site discouraging search engines? No
Default comment status Open
Environment type production
User count 67
Communication with www.remarpro.com www.remarpro.com is reachableThe options shown below relate to your server setup. If changes are required, you may need your web host’s assistance.
Server architecture Linux 6.1.90-1.el9.elrepo.x86_64 x86_64
Web server Apache
PHP version 8.2.20 (Supports 64bit values)
PHP SAPI cgi-fcgi
PHP max input variables 10000
PHP time limit 300
PHP memory limit 256M
Max input time 60
Upload max filesize 100M
PHP post max size 100M
cURL version 8.5.0 OpenSSL/3.1.5
Is SUHOSIN installed? No
Is the Imagick library available? Yes
Are pretty permalinks supported? Yes
.htaccess rules Custom rules have been added to your .htaccess file.
Current time 2024-07-22T18:26:27+00:00
Current UTC time Monday, 22-Jul-24 18:26:27 UTC
Current Server time 2024-07-22T18:26:25+00:00PLEASE, help ASAP! the website I’m working on is: The-Vibe-Tribe.com
I was trying to speed up loading times for the website, which I will also take as much info on how to….
Also, when I do an SEO Analysis on my website, it gives me a rating of 87/100, says my loading time is under 0.2, but it doesn’t feel like it when I load the site… I fixed almost everything except alt image text — which, could someone please tell me the most efficient way to fix this…. (too)
I also get this notification:Your page makes 227 requests. More than 20 requests can result in slow page loading.
Images: 125
JavaScript: 98
CSS: 4
Try to replace embedded objects with HTML5 alternatives.How do I fix this, too??! Been struggling all damn day… D:
Pleaseeeeee help!!!! Much appreciated ^_^
- You must be logged in to reply to this topic.