{"id":15749678,"date":"2022-06-19T06:14:38","date_gmt":"2022-06-19T06:14:38","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/rest-api-error-when-activate-translatepress\/"},"modified":"2022-06-19T06:15:47","modified_gmt":"2022-06-19T06:15:47","slug":"rest-api-error-when-activate-translatepress","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/rest-api-error-when-activate-translatepress\/","title":{"rendered":"REST API error when activate TranslatePress"},"content":{"rendered":"<p>When TranslatePress is activated to my site then Site Health check Tool shows the following error:<\/p>\n<pre><code>The REST API request failed due to an error.\nError: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received (http_request_failed)<\/code><\/pre>\n<p>and Query Monitor plugin provides the following related info:<\/p>\n<pre><code>https:\/\/dev3.blumare.gr\/wp-json\/wp\/v2\/types\/post\n?context=edit\n\ncURL error 28: Operation timed out after 10002 milliseconds with 0 bytes received\n\nWordPress Core\n\nWP_Site_Health-&gt;get_test_rest_availability()\n    wp-admin\/includes\/class-wp-site-health.php:2056\n    WP_Site_Health-&gt;perform_test()\n    wp-admin\/includes\/class-wp-site-health.php:192\n    WP_Site_Health-&gt;enqueue_scripts()\n    wp-admin\/includes\/class-wp-site-health.php:137\n    do_action(&#039;admin_enqueue_scripts&#039;)\n    wp-includes\/plugin.php:476<\/code><\/pre>\n<p>The above error dissapeares when TranslatePress is deactivated.<\/p>\n<p>To mention also that this is a new dev environment that created in order to face this error that first appeared in my main production site for about a week now. Moreover TranslatePress is working in this production site for at least a year now without having any kind of problems. This problem appeared the last days and this is what i&#8217;m trying to solve now.<\/p>\n<p>Any help appreciated!<\/p>\n","protected":false},"template":"","class_list":["post-15749678","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15749678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15749678\/revisions"}],"predecessor-version":[{"id":15749679,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15749678\/revisions\/15749679"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15749678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}