Rest API Encountered An Error
My normal page load time per query monitor is 40-70 seconds. This makes it hard to do anything and its been like this for days. At first I thought it was bot traffic but with all bots blocked and under attack mode on its still like this.
I used site health troubleshooting (so everything turned off). With the theme reset and all plugins deactivated it still has a 10 second load time.
When I updated a plugin it seems to clear the processes and works again for 5-10 minutes at less than a second load time.
I downloaded w3 total cache and turned on object and page cacheing but that did nothing
Site health says critical issue
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://awesomefreebie.com/wp-json/wp/v2/types/post?context=edit
REST API Response: (http_request_failed) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received
QM also shows a ton of duplicate and slow queries
It also shows in red an api call
GET
Certificate verification disabled (sslverify=false)
https://awesomefreebie.com/wp-json/wp/v2/types/post?context=edit
Error: cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received
WP_Site_Health->get_test_rest_availability()
wp-admin/includes/class-wp-site-health.php:2233
WP_Site_Health->perform_test()
wp-admin/includes/class-wp-site-health.php:204
WP_Site_Health->enqueue_scripts()
wp-admin/includes/class-wp-site-health.php:139
do_action('admin_enqueue_scripts')
wp-admin/admin-header.php:123
Host support said its due to high cpu usage so everything gets slowed down and processes can't run but didn't say how to fix it unless I paid for a full support plan.
How do I fix the above?
[link] [comments]