• Resolved pknoepfl

    (@pknoepfl)


    My host WP Engine has opened XML-RPC, but my Site Health debugger displays test__wpcom_connection_test status code 200 communication error. I tried deleting and reactivating Jetpack. No luck.

    WP Engine tried other things to fix this connection error, but also no luck. If you clear the stale connection cache on the WordPress.com side for ipscell.com might that help? Or some other idea to fix this? On the Jetpack debugger site I keep getting “unable to make an XML-RPC request to your website” error. On their side, WP Engine says the connection should work.

    This all started after I installed an update to the Jetpack plugin on Sept. 30. Thanks, Paul

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

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @pknoepfl,

    Thanks for the additional details. I took a closer look from our side and can confirm that Jetpack is currently unable to complete the XML-RPC connection check.

    The request is reaching the site, but it is being sent to the homepage instead of being handled by XML-RPC. This points to something in front of WordPress, such as a redirect or security rule, rather than XML-RPC simply being disabled.

    Since Cloudflare is active on the site, could you or WP Engine check for any redirect or security rules that might affect these requests? In particular, the problem seems to occur when the request contains a timestamp parameter.

    As a quick test, you could also temporarily pause Cloudflare and run the Jetpack debugger again. If the connection works while Cloudflare is paused, that would help narrow this down considerably.

    Jetpack and Cloudflare are normally compatible, but some Cloudflare configurations can require adjustments.

    Please let us know what you find after trying that.

    Thread Starter pknoepfl

    (@pknoepfl)

    I paused Cloudflare, tried to reestablish the connection via Jetpack for my site, but still no luck (the Jetpack connection error remains there for my site under Site Health), and the Jetpack debugger still says “We were unable to make an XML-RPC request to your website.” Thanks for helping me as we continue to try to fix this!

    Plugin Support Jay (a11n)

    (@bluejay77)

    Hi @pknoepfl,

    Thanks for trying those steps and for pausing Cloudflare. I ran our connection diagnostics again, and the results confirm that Jetpack is installed and connected, but WordPress.com can’t complete a request to your site’s xmlrpc.php file. That’s the file Jetpack uses to communicate with WordPress.com, so when something blocks it, you get exactly the error you’re seeing.

    Since pausing Cloudflare didn’t clear it, the block is most likely one of these three things. Would you try the following narrow it down?

    1. Check the file directly. Visit https://ipscell.com/xmlrpc.php in your browser. On a healthy site it shows a single line: “XML-RPC server accepts POST requests only.” If you instead get a 403, 404, or “Not Found,” something is blocking the file. If you see that message but with extra text or blank lines above it, that means a plugin or theme is interfering. Please refer to our guide: https://jetpack.com/support/getting-started-with-jetpack/troubleshoot-jetpack-connection-error-messages/blank-lines-xmlrpc/
    2. Check other Cloudflare configs. Pausing Cloudflare (and Development Mode) doesn’t always disable WAF or managed firewall rules, which can keep blocking xmlrpc.php. Look for any firewall or WAF rule that touches xmlrpc.php, or add Jetpack’s IP addresses to your allowlist: https://jetpack.com/support/how-to-add-jetpack-ips-allowlist/
    3. Check your security plugins. Plugins like Wordfence, Solid Security, or All In One WP Security can restrict access to xmlrpc.php. If you have one active, either allow access to that file or allowlist Jetpack’s IPs (same link as above).

    If step 1 shows a 403 or 404 and you don’t have a security plugin causing it, that usually means your host is blocking xmlrpc.php at the server level. In that case, please ask your hosting provider to enable access to xmlrpc.php for Jetpack, and to confirm the PHP-XML extension is installed and active on your server.

    If you can let me know what you see at https://ipscell.com/xmlrpc.php, that’ll tell us exactly where the block is and we can go from there.

    Thread Starter pknoepfl

    (@pknoepfl)

    1. Visiting https://ipscell.com/xmlrpc.php it returns “XML-RPC server accepts POST requests only.” Originally it listed a 403 error on Monday but then yesterday I chatted with WP Engine and I already did what you suggested, “ask your hosting provider to enable access to xmlrpc.php for Jetpack, and to confirm the PHP-XML extension is installed and active on your server.” They said they did these things.
    2. I added Jetpack’s IP addresses to my allow list (I said “Skip”) in Cloudflare for my site and put this rule as “first”, but it didn’t help.
    3. I don’t have any security plugins that I know of. Maybe some other random plugin has a conflict with Jetpack now?

    Other ideas? Thanks!

    Plugin Support Forum Fern (a11n)

    (@forumfern)

    Hi @pknoepfl,

    Thanks for giving those steps a try. It looks like the XML-RPC is now accessible, but when our servers send the same request to access the XML-RPC, they get your homepage HTML instead. This suggests that Cloudflare is treating requests from WordPress.com’s IP addresses differently than other traffic. Even though you added Jetpack’s IPs to your allowlist, something is still catching and redirecting those requests.

    A few things to check:

    1. Verify your allowlist rule setup
    In Cloudflare, the rule needs to match on IP Source Address (not User-Agent or other fields), and the action should be Skip (or “Allow” depending on your Cloudflare plan).

    2. Check Security Events
    Go to Security → Events in Cloudflare. Filter by your domain and look for any entries showing blocked or challenged requests from the past day or two. This log will show exactly what rule is triggering on WordPress.com’s traffic.

    3. Check Bot Fight Mode
    Go to Security → Bots. If “Bot Fight Mode” is enabled, it can override your allowlist for traffic it considers automated, which would include WordPress.com’s servers. Try disabling it temporarily and running the Jetpack debugger again.

    Let us know what you find!

    Thread Starter pknoepfl

    (@pknoepfl)

    Regarding your list of stuff to check:

    1. The IP’s of Jetpack are listed by my rule in Cloudflare as “skip” and I set this rule as “First”
    2. Lots of events are listed as “Blocked” today and all by “Managed rules” but I have no managed rules. So maybe these blocks are Cloudflare’s own managed rules that I can’t change? But importantly none of the blocked IPs seem to be related to Jetpack. When I manually checked some of these IPs on the web, all were associated with known spam sites.
    3. Bot fight mode has been off almost all day today.

    Two more things. Note more generally, that earlier today I entirely paused Cloudflare and still my site couldn’t connected to Jetpack.

    Also, I’m seeing tons of skipping events in the Cloudflare event log for IPs that are Jetpack’s IPs so my rule is working, but somehow I still cannot connect my site to Jetpack.

    Thanks.

    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hi @pknoepfl,

    Thanks for checking all of that. Our xmlrpc.php requests are working for the time being.

    However, as mentioned earlier, it seems any URL on your site that includes a numeric “timestamp” parameter gets redirected to your homepage.

    Jetpack adds that parameter to xmlrpc.php requests it sends from WordPress.com, so those requests receive your homepage instead of reaching XML-RPC. You can see it yourself here: https://ipscell.com/xmlrpc.php?timestamp=1

    Could you check your Cloudflare settings for any redirect rules that match query strings or “timestamp”, and ask your host to check for the same on their side?

    Once the link above shows “XML-RPC server accepts POST requests only”, please run the Jetpack debugger again and let us know what you get.

    Best,

    Thread Starter pknoepfl

    (@pknoepfl)

    I worked with WP Engine for 4 hours on this but no luck. They tried everything they can think of. I even deleted and reinstalled Jetpack, no luck. I deactivated all other plugins — no luck. Both they and I have allowed (skip) the Jetpack IP addresses. I tried turning off Cloudflare entirely. Even when Cloudflare is on there are no redirects I can see related to timestamp or anything else relevant. We can find no reason for the https://ipscell.com/xmlrpc.php?timestamp=1 to keep redirecting causing my site not being able to connect with Jetpack. I don’t know what to try next.

    • This reply was modified 1 month, 1 week ago by pknoepfl.
    Plugin Support Forum Fern (a11n)

    (@forumfern)

    Hi @pknoepfl,

    Thanks for contacting WP Engine. We’ve done additional testing, and it looks like the redirect to your homepage is being issued by Cloudflare, not WP Engine. Here’s what we found:

    • Your post loads fine on its own (returns 200, served by WP Engine).
    • Add ?timestamp=1 and the same URL returns a 301 redirect to your homepage, with no WP Engine headers at all, which suggests Cloudflare is answering it at the edge before the request ever reaches your host.

    Jetpack adds that ?timestamp parameter to its requests, so it gets redirected to your homepage instead of reaching XML-RPC.

    On why pausing Cloudflare earlier didn’t fix it: a 301 is a “permanent” redirect, which Cloudflare caches aggressively, and a pause can take time to fully propagate. So a cached copy of the redirect was most likely still being served during your test. That’s why the next step includes a cache purge, not just a rule change.

    The section to check is Cloudflare’s Rules (not Security, where you looked before). Please look in:

    • Rules → Redirect Rules
    • Rules → Page Rules (a “Forwarding URL” rule)
    • Bulk Redirects

    for anything that matches a query string or “timestamp” and sends it to your homepage. Remove or fix that rule, then purge your Cloudflare cache and re-test.

    If you don’t find any matching rule, do a Cloudflare “Purge Everything” and test again, as it may be a cached redirect being replayed from the edge.

    Once https://ipscell.com/xmlrpc.php?timestamp=1 shows “XML-RPC server accepts POST requests only,” run the Jetpack debugger again and let us know how it looks.

    Thread Starter pknoepfl

    (@pknoepfl)

    Maybe some progress, but not solved. I found one rule in Cloudflare from long ago that seemed to be the issue. I don’t know why it never caused problems before. Anyway, paused it to test and purged everything in Cloudflare. Now https://ipscell.com/xmlrpc.php?timestamp=1 shows “XML-RPC server accepts POST requests only.” Sounds good, but sadly Jetpack debugger now says “Unknown error” instead of connection error. Plus within Site Health it still has the error of Jetpack not connected. When I try to re-connect, no help.

    Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @pknoepfl,

    I have some good news!

    I took another look at your site’s connection settings and noticed that Jetpack was using an alternative XML-RPC endpoint that wasn’t responding correctly.

    I switched it back to the traditional XML-RPC endpoint, and that seems to have done the trick! Jetpack is now passing all 16 connection tests, and the connection looks healthy on our end.

    It also looks like the Cloudflare rule you found and disabled helped resolve the earlier redirects, so we may have had two separate issues contributing to this.

    Could you check Site Health once more and let me know if the connection error has disappeared on your end too?

    Thanks again for sticking with us through all this!

    Thread Starter pknoepfl

    (@pknoepfl)

    Looks good on my end too. Thanks for helping solve this.

    Plugin Support Chatoxz (a11n)

    (@chatoxz)

    Hi @pknoepfl, Sebastian here. I hope you are doing well.

    Great to hear that Site Health now shows a healthy connection. Thank you for sticking with us through all the testing, including the hours spent with WP Engine. Finding that old Cloudflare rule was a big part of getting this sorted.

    Since that rule was redirecting Jetpack requests, I’d keep it paused or remove it rather than turn it back on. If the connection ever shows an error again, the Jetpack Debugger is a good first check, since it tells you right away whether WordPress.com can reach your site: https://jetpack.com/support/debug/

    If Jetpack has been useful to you, we would really appreciate a 5-star review of the plugin here: https://wordpress.org/support/plugin/jetpack/reviews/#new-post

    Your feedback helps other site owners find Jetpack and helps our team keep improving it.

    Cheers,

    Thread Starter pknoepfl

    (@pknoepfl)

    Unfortunately, I just noticed that despite the connection issue being resolved (thanks again on helping on that), Stats via Jetpack for my site still apparently is not working. Jetpack Stats is dramatically undercounting visits to my site. Can you help on this front too? The stats issue seemed to appear at the same time as the connection issue around Oct. 2, but while the connection seems fixed, Stats still seems to be missing most traffic. Yet there’s no drop in search traffic to my site per Google Search Console, roughly the same number of people are clicking on links to visit my site from my email post announcements and newsletters, etc. Thanks.

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @pknoepfl –

    We’re happy to take a look at this. While the timing lines up, this is unrelated to the reconnection.

    Instead, there are a few things that could be happening here:

    As a start, no two analytics systems (for example Jetpack Stats and Google Analytics) will ever match as all stats tracking systems collect and report information differently.

    Additionally, there are certain search engine robots and “spiders” that Jetpack doesn’t count, and referrers that are considered spam referrers by Akismet (our spam-catching plugin) will not be reported in your stats. Other tracking systems may be less discerning in what they count toward the stats they report to you, and therefore give you different numbers than we do. We’re likely being more aggressive in filtering out certain types of traffic.

    Finally, the different rates at which all these trackers are blocked by the different ad-blocking browser extensions can also affect your stats.

    For all of those reasons, different stat tracking methods will rarely, if ever, be in sync. You may find it worthwhile to use tracking data from a variety of stats systems to develop a broad picture of your visitors’ behavior.

    Something else that could be causing an issue on your site is the WPConsent – Cookie Banner & Cookie Consent for Privacy Compliance. Such plugins can block analytics trackers until users consent.

    I hope that helps explain the discrepancy.

Viewing 15 replies - 1 through 15 (of 19 total)

You must be logged in to reply to this topic.