My site has been showing problems under sitehealth for some weeks. It randomly / intermitently times out browsers connections and is not running scheduled tacks. Sometimes it’s a problem in Chrome and sometimes in Firefox.
I had three sites running together perfectly for a long while until, I think, the DSM 7.2 update.
I have taken down two sites and rebuilt the third. If I try and run two sites only one of them will connect.
All of the sites have been set up using a manual setup, not the pre-installed WP application.
Running PHP V8.2.
W3 Total Cache set to using disk cache.
Latest versions of WP, plugins and all things Synology.
The REST API encountered an Error
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://www.jgw-photography.co.uk/wp-json/wp/v2/types/post?context=edit
REST API Response: (http_request_failed) cURL error 28: Connection timed out after 10001 milliseconds
Your site could not complete a loopback request
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 10001 milliseconds (http_request_failed)
Testing Results
Nothing related shows in the Wordpress Logs or Synology logs.
I set up a test site with a clean WP install and added one Plugin at a time. As soon as I added the W3 Total Cache plugin the health warnings showed up.
I would hugely appreciate any help with this, please!