• Resolved crpeng

    (@crpeng)


    Upon activation of the plugin, I receive this error:

    Your site may not be ready for Site Kit
    Looks like your site is having a technical issue with requesting data from Google services.
    To get more help, ask a question on our support forum and include the text of the original error message:
    google_api_connection_fail

    If I sign-in anyway, and complete the connection process, I will eventually get this error:

    Unknown Error (code: cURL error 77: error setting certificate verify locations: CAfile: C:phpcacert.pem CApath: none). To fix this, redo the plugin setup.

    Can you please help?

    Thank you.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out. The “google_api_connection_fail” notice you encounter may be as a result of any web application firewall or hosting restriction, with some checks possible at host level here.

    Please perform those checks with your host before then checking for the same notice.

    The cURL error you are encounter may also be hosting related, with more details contained within this GitHub issue. If you’d like to share your Site Health information privately via this form we can check your current hosting environment.

    Thread Starter crpeng

    (@crpeng)

    I have submitted the Google Form. Thanky you.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for providing an update. From looking at your Site Health information it looks like you’re using Windows hosting, with any fix applicable at hosting level.

    Firstly as you encountered a “google_api_connection_fail” did you contact your hosting provider or check to ensure that your site is able to communicate with “https://sitekit.withgoogle.com”? There are instructions on how to check with the link provided, or you can ask your host to run the below cURL command to ensure you can access the Site Kit service:
    curl -I https://sitekit.withgoogle.com

    Providing there are no issues with connecting to the Site Kit service please try and reinstall your ca-certificate, or follow the steps in this article. Other Site Kit users reported their own fixes on this GitHub issue, all with similar cURL related issues that require correct configuration of the cURL library at host level.

    Let us know if you have any questions on the above.

    Thread Starter crpeng

    (@crpeng)

    I would like to report that he problem is solved. Turns out that my php.ini refers to a PEM file that’s never there. I downloaded the PEM file, and now I can connect to Google Site Kit. Thank you very much.

    Plugin Support James Osborne

    (@jamesosborne)

    Great troubleshooting, nice find! This will be useful should others encounter the same issue.

    Be sure to reach out should you have any further queries, and if you have a moment please share your plugin feedback. We’d love to hear how you’re finding the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Your site may not be ready for Site Kit – google_api_connection_fail’ is closed to new replies.