• Resolved carolesrandomlife

    (@carolesrandomlife)


    I am trying to connect my wordpress user account to jetpack and keep getting the following error message:

    Invalid request, please go back and try again.
    Error Code: invalid_request
    Error Message: The URL stored by the Jetpack servers does not match your site. Please try disabling the Jetpack plugin, re-enable it, then connect again.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have had the same symptom on my blog since December 31, 2023. I checked everything I could, the hosting ensured that there was access to wordpress.com. I also reported the details to the Jetpack website by e-mail, but there has been no response so far, apart from e-mails probably from artificial intelligence.

    Today I sent such an email to Jetpack – maybe it will be useful in this case as well.

    I don’t know for sure (because I didn’t receive any feedback from Jetpack on my emails) whether the problem was also on the Jetpack side (wordpress.com) or only on the side of my hosting and the configuration of my blog.

    After six days, the lack of connection to WordPress.com was diagnosed and the connection was restored.

    It is probably worth adding to your pages about connection problems the issue of checking and at least temporarily disabling the Web Application Firewall (WAF) if something like this is installed on the users’ hosting. 

    In my case, the problem became even more complicated – it was described by the administrator as follows: 

    “If the .htaccess entry regarding WAF is commented out, WAF will be disabled, even though it may be visible as enabled in the DA panel. 

    Changes in the panel regarding WAF should be reflected in entry in .htaccess, but sometimes this does not happen, 

    so it is worth checking whether the entry in .htaccess is correct (commented or not).”
    I will also add that now on my website with xmlrpc.php

    with WAF enabled I get the message:
    XML-RPC server accepts POST requests only.

    And from the website: https://jptools.wordpress.com/debug/
    I have a message:
    Everything looks great!
    All tests have passed for blog.tripsoverpoland.pl and your Jetpack powered site looks good to go!

    But in the debugger in Chrome I see this:

    GET … xmlrpc.php 405 (Method Not Allowed)

    So it would be worth adding a small addition to the xmlrpc.php topic in your guide.


    I hope this helps with diagnosis.

    Plugin Support Bruce (a11n)

    (@bruceallen)

    Happiness Engineer

    Hi @carolesrandomlife

    I took a look, and while your site is publicly accessible, we cannot access your site’s XML-RPC file:

    This file is used by Jetpack and other plugins and apps to connect to your site. It must return the following message:

    • XML-RPC server accepts POST requests only.

    You can see a working example here:

    Since your site returns a 404 error for this page, I would recommend that you check the following:

    • Can you see the /xmlrpc.php file at the root of your WordPress installation when accessing your site via FTP? If you don’t, then please try re-installing WordPress. You can do this by going to the Dashboard -> Upgrades page, then click the “Reinstall” button.
    • Do you use any security plugins that may block access to this file? If so, could you try to disable them? You might also want to check your site’s .htaccess file for any rules that might be blocking access to the xmlrpc.php file.
    • Does your hosting provider block access to this file? If you don’t find any plugin that may block access to the file on your site, I would recommend that you get in touch with your host.

    Once we are able to access your site’s xmlrpc.php file, please try to reconnect your site:

    If you want to learn more details about XML-RPC and how it interacts with Jetpack, you can check out our detailed guide here: https://jetpack.com/support/jetpack-and-xml-rpc

    Looking forward to your reply on how it went and then we will check for the Jetpack connection for your site again to check if things started working properly after the above steps. ??

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi?@carolesrandomlife,

    Do you have updates about that? We usually close inactive threads after one week of no movement, but we want to make sure we’re all set before marking it as solved. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t connect wordpress.com account to Jetpack’ is closed to new replies.