• Resolved gouletd

    (@gouletd)


    I cannot connect Jetpack on my site (psri.us) . I get “An error occurred. Please try again” each time I try. Jetpack was installed and working on the site, although there may have been a conflict with a clone of the site I use for development. I have deactivated the Jetpack on the clone site which is on another host, and that did not resolve the problem. The site psri.us is hosted on DailyRazor.

    I have deactivated, deleted and loaded a new copy of Jetpack and the error still persists. I cannot connect Jetpack to WordPress.

    Any guidance or thoughts are appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • @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:

    1. 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.
    2. 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.
    3. 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!

    Thread Starter gouletd

    (@gouletd)

    Thanks you for your advice and guidance.

    DailyRazor has whitelisted the Jetpack IP addresses. I now receive a proper return to sending https://my-site/xmlrpc.php where I did not before the whitelisting.

    I deactivated and deleted Jetpack, and installed the plugin again. Unfortunately, I still cannot make the connection to Jetpack/WordPress to complete the setup.

    I don’t think this is a contributing issue since Jetpack has worked well until end of March, but the website is located in a subfolder of the website address. If you want specifics I can provide that via a secure means.

    Another issue I just noticed. In the Dashboard, the information blocks cannot expand or be reduced using the arrow in the upper left of the box. I had a friend access the Dashboard for the site and he has the same experience.

    I’ll be updating the status to DailyRazor.

    Thank you.

    @gouletd The site’s XML-RPC file is still showing a 404 not found error.

    I understand your host has allowlisted the Jetpack IP addresses. However, the XML-RPC file is still not accessible. Please make sure you also follow these steps:

    1. 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.
    2. 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.

    Let us know how that goes!

    Thread Starter gouletd

    (@gouletd)

    The xmlrpc.php file is located in a subfolder (psricms) along with all the website files, where they have been for the last 15 years. When I send https://psri.us/psricms/xmlrpc.php I get thh reply XML-RPC server accepts POST requests only.

    I do not have any security plugins that would be blocking Jetpack.

    I have also checked the .htaccess file and don’t have any rules blocking access.<span style=”font-size:11.0pt;font-family:"Calibri","sans-serif"; mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font: minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language: EN-US;mso-bidi-language:AR-SA”> </span>

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @gouletd

    Can you share the address of the clone site? I am thinking that Jetpack may be getting the URLs mixed up.

    Once we have that, we can look into this more.

    Thread Starter gouletd

    (@gouletd)

    Hi,

    The cloned site is in the URL dagtest.us/psricms??? Using dagtest.us in the browser gets me to it.

    Thanks,
    Dennis

    Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hey Dennis – I did some changes in URL for your https://psri.us site. Could you please try to connect Jetpack to this site again. It should work now.

    Thread Starter gouletd

    (@gouletd)

    HI Animesh,

    Yes, that did fix the problem. I can now connect and have added the site to my WordPress.com account.

    A assume the changes you made will not affect access to the site by users.

    Thank you, thank you, thank you.

    Best regards,

    Dennis Goulet

    Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hey Dennis – yes correct the changes I made for URL on our side will not affect access of site by users. It was just to help Jetpack connect to your site. I also checked the Jetpack connection for your site and it looks good now so you are all set.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Jetpack does not connect; An error has occurred.’ is closed to new replies.