@gouletd As a first step, I’d recommend fixing the XML-RPC file on the site. It is returning a 404 error, which is preventing Jetpack from connecting.
The XML-RPC 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:
https://wp.cloud/xmlrpc.php
Since your site returns a 404 error for this page, I’d recommend checking the following:
- Can you see the xmlrpc.php file on your web host server? It should be in the same location as other WordPress files like wp-config.php. If you don’t see the xmlrpc.php file there, please try re-installing WordPress by going to the Dashboard -> Upgrades page and clicking the “Reinstall” button, or contact your web host.
- Do you use any security plugins that may block access to this file? If so, could you try deactivating 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 web host block access to this file? If you don’t find a plugin that may block access to the file, I would recommend contacting your host. If your host only offers XML-RPC access by allowlisting IP addresses, then they will need to allowlist the Jetpack IP addresses listed here:
https://jetpack.com/support/how-to-add-jetpack-ips-allowlist/
Once Jetpack is able to access your site’s XML-RPC file, please follow the steps in this guide to reconnect Jetpack:
https://jetpack.com/support/reconnecting-reinstalling-jetpack/#reconnecting-jetpack
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
Let us know how that goes!