-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received #147
Comments
Can you run |
well @withinboredom it's a wordpress call around https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/class-wp-site-health.php#L2093 I've tried setting CURLOPT_VERBOSE to true in https://github.com/WordPress/WordPress/blob/master/wp-includes/Requests/src/Transport/Curl.php#L203 but all I get (in the STDERR of the frankenphp container) is:
|
Hmmm ... looking at the output, it looks like you received headers, so that means we are definitely getting a reply of some sort. Some experiments to try:
Do any other endpoints work? In other words, could it be that this endpoint takes more than 10s to reply and a timeout is too small somewhere? |
Could it be related to dunglas/frankenphp-wordpress#8? |
yes @dunglas it is, but i’m not sure it’s from the wordpress version of frankenphp. that’s why i posted here |
Wordpress REST API seems to fail because cURL times out after 10 seconds.
I noticed some comments that timeouts are broken because FrankenPHP uses ZTS? (probably for performance reasons?
)
I tried editing the Caddyfile main block and adding a
timeouts
directive in the frankenphp block but it doesn't seem to affect the error.Can someone point me in a solvable direction?
The text was updated successfully, but these errors were encountered: