Access to REST API requests is restricted by Solid Security

Site Health in wordpress is reporting the following errors:

When testing the REST API, an error was encountered:

REST API Endpoint:
REST API Response: (http_request_failed) cURL error 28: Connection timed out after 10001 milliseconds

When I visit the page, I see the following message:

{“code”:”itsec_rest_api_access_restricted”,”message”:”You do not have sufficient permission to access this endpoint. Access to REST API requests is restricted by Solid Security settings.”,”data”:{“status”:401}}

If I change the API access in Solid Security from ‘Restricted’ to ‘Default’ I receive a different message as follows:

{“code”:”rest_forbidden_context”,”message”:”Sorry, you are not allowed to edit posts in this post type.”,”data”:{“status”:401}}

Site Health still reports the same errors:

When testing the REST API, an error was encountered:

REST API Endpoint:
REST API Response: (http_request_failed) cURL error 28: Connection timed out after 10001 milliseconds

Site Health is also reporting that the following scheduled event is late:

The scheduled event, itsec_cron, is late to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.

I am logged in as an admin…Increased PHP memory limit to 512M, cleared caches and reset permalinks, but the errors still show in Site Health 🙁

Server: Linux 3.10.0-1160.53.1.el7.x86_64 x86_64
Web server: Apache
PHP version: 8.0.30
PHP SAPI: fpm-fcgi
cURL version: 7.29.0 NSS/3.53.1

What could be causing these errors? Do I need to change a value in Solid Security or increase a timeout value somewhere? Any help appreciated.

  • This topic was modified 5 hours, 13 minutes ago by kaoslink.
  • This topic was modified 5 hours, 11 minutes ago by kaoslink.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer