Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API Encountered an error - Site Health #362

Open
jaidevel opened this issue Nov 25, 2024 · 1 comment
Open

REST API Encountered an error - Site Health #362

jaidevel opened this issue Nov 25, 2024 · 1 comment

Comments

@jaidevel
Copy link

jaidevel commented Nov 25, 2024

OS: Linux Fedora 41
Desktop: KDE PLASMA 6.8.0
Command line: wp-now start --php=8.2 --blueprint=/home/hsolo/.wp-now/blueprint-wp-dbug.json
Blueprint:
{ "landingPage": "/wp-admin/", "preferredVersions": { "php": "latest", "wp": "latest" }, "steps": [ { "step": "defineWpConfigConsts", "consts": { "WP_DEBUG": true, "WP_DEBUG_DISPLAY": false, "WP_DEBUG_LOG": true, "WP_ENVIRONMENT_TYPE": "development", "WP_DEVELOPMENT_MODE": "theme" } } ] }

When spinning up from a wp-content folder (have not tested from plugin or theme folder). site health gives the following 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: http://localhost:8882/index.php?rest_route=%2Fwp%2Fv2%2Ftypes%2Fpost&context=edit
REST API Response: (http_request_failed) fsocket timed out"

As a result embedding Vimeo video with Vimeo Block, does not work, as an example.

@adamziel
Copy link
Collaborator

@adamziel adamziel moved this from Inbox to Needs Author's Reply in Playground Board Nov 25, 2024
@adamziel adamziel moved this from Needs Reply to Backlog in Playground Board Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants