• I am trying to set up a new website with Site Kit. After install I get the following error: google_api_connection_fail

    I went through your support docs and downloaded the mini plugin and tried again but received the same error. I have done this with many sites without issue with the same host (Hetzner, servers located on the east coast of USA).

    Tried this as well:

    root@aon:~# curl -I https://sitekit.withgoogle.com
    HTTP/2 403
    alt-svc: h3=”:443″; ma=2592000,h3-29=”:443″; ma=2592000

    root@aon:~# curl -6 -I https://sitekit.withgoogle.com
    HTTP/2 200
    content-type: text/html
    vary: Accept-Encoding
    x-cloud-trace-context: 70179c7d2b8fac448207cdf12c0a5681
    date: Tue, 26 Nov 2024 20:37:47 GMT
    server: Google Frontend
    alt-svc: h3=”:443″; ma=2592000,h3-29=”:443″; ma=2592000

    root@aon:~# curl -4 -I https://sitekit.withgoogle.com
    HTTP/2 403
    alt-svc: h3=”:443″; ma=2592000,h3-29=”:443″; ma=2592000

    • This topic was modified 3 days, 2 hours ago by graphiclux.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out @graphiclux, and also for sharing your command line checks. It looks like you’re not being able to connect to the Site Kit service over IPv4 as opposed to the more commonly raised issue with users impacted by an IPv6 block. The plugin you used ensures communication over IPv4 only. Please deactivate or uninstall this plugin before sharing the following the steps below, which can help rule out third party plugins impacting setup:

    1. Login to your live site from a Chrome browser incognito window.
    2. Install and activate the Health Check & Troubleshooting plugin.
    3. Navigate to “Plugins > Health Check & Troubleshooting > Troubleshoot”.
    4. From the same screen click on the “Available Plugins” tab at the top right and then click on the “Enable” option next to “Site Kit by Google“.
    5. Attempt to set up Site Kit once more.

    Let me know how you get on with the above. If the same error remains, please share whether you see any warnings or errors when checking your Site Health status? (Tools > Site Health > Status), which differs from your Site Health information that you already shared. Such errors may include indications as to why you can’t connect.

    Thread Starter graphiclux

    (@graphiclux)

    Thank you.

    I went through your steps. After installed and went to troubleshoot and clicked enable for Site Kit, the Site Kit plugin was not enabled so I could not set it up. I tried this several times. I then manually disabled all plugins but site kit and had the same issue.

    I went to site health and the only warnings I get (no errors) are the following:

    Disk space available to safely perform updates: Could not determine available disk space for updates. (There is plenty of disk space on the server, over 130GB left).

    Page cache is not detected but the server response time is OK.

    Those are the only warnings.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @graphiclux Thanks for sharing the information that James requested that’s useful to have. Could I ask you to next try performing a Site Kit reset? After performing the reset, do you encounter the same issue when trying to set up the plugin?

    Would it also be possible to try setting up a fresh new WordPress site on the same hosting setup if you have the availability and try installing Site Kit and setting up on this site without adding anything extra to the base setup? If this is not possible then no problem.

    Any recordings you can also share will be very helpful. Let us know if you have any further questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.