You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had a few reports of self-pings taking a long time, specifically the dispatch() calls that can make the pageload appear to hang when posting new content.
After some experimentation (including a local installation where I was experiencing the problem) I discovered that the cURL requests were failing because of DNS lookup issues. If I filtered bpges_async_request_query_url and replaced the domain name with the IP address, the problem went away. Something like this:
I've had mixed results with the solution above. Another possibility is that you can reduce the timeout back to the default in wp-background-processing, though then you have to be sure to monitor that the emails are actually going out:
I ran into an edge case where if the main site is not secure and served over HTTP, the GES query URL might be forced to use HTTPS (by another plugin or code snippet filtering site_url or something like that).
If that is the case, doing something like what Boone mentions in the first post works.
I've had a few reports of self-pings taking a long time, specifically the
dispatch()
calls that can make the pageload appear to hang when posting new content.After some experimentation (including a local installation where I was experiencing the problem) I discovered that the cURL requests were failing because of DNS lookup issues. If I filtered
bpges_async_request_query_url
and replaced the domain name with the IP address, the problem went away. Something like this:I'm unsure whether this is safe or wise to do in the plugin itself. I'm opening the ticket to track the issue and possibly gather feedback.
The text was updated successfully, but these errors were encountered: