Title: google_api_connection_fail
Last modified: November 25, 2023

---

# google_api_connection_fail

 *  Resolved [raulmego](https://wordpress.org/support/users/raulmego/)
 * (@raulmego)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-55/)
 * Good day My Google site kit in all my wordpress instances in the same server 
   stop Working,
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle_api_connection_fail-55%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-55/#post-17231712)
 * [@raulmego](https://wordpress.org/support/users/raulmego/) Thanks for opening
   a support topic and for sharing the information. As nothing stands out here, 
   this could be and based on the error you’re encountering, it is possible that
   your host IP address is blocked, however, this may only be from your IPv6 address(
   if your IP is within a specific range that includes some users from regions where
   Google services are blocked).
 * To check this further, please could you confirm your IPv6 address. You can share
   this here or via the site health form privately. If you are unsure on how to 
   get this then you’ll be able to get this from your hosting provider. Once shared,
   I will get this checked to see if we can find any such block.
 * You can also perform the below cURL commands, which can help indicate whether
   this is a block specific to IPv6 if you are comfortable doing this:
 * `curl -4 -I https://sitekit.withgoogle.com`
   _The above will check the status 
   if communication over IPv4_`curl -6 -I https://sitekit.withgoogle.com`_The above
   will check the status if communication over IPv_6
 * If there is a block, I suspect this will be over IPv6 only, with a 500 error.
   Let me know if you have any questions about the above.
 *  Thread Starter [raulmego](https://wordpress.org/support/users/raulmego/)
 * (@raulmego)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-55/#post-17234401)
 * Thanks for the response, I alredy send the IPv6 thru the form
 *     ```wp-block-code
       [root@miranda ~]# curl -6 -I https://sitekit.withgoogle.com
       HTTP/2 403
       alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
   
       [root@miranda ~]# curl -4 -I https://sitekit.withgoogle.com
       HTTP/2 200
       content-type: text/html
       vary: Accept-Encoding
       x-cloud-trace-context: 80f71628d9f9ec6aff347ee66713bd69
       date: Tue, 28 Nov 2023 03:37:56 GMT
       server: Google Frontend
       alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
       ```
   
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-55/#post-17234786)
 * [@raulmego](https://wordpress.org/support/users/raulmego/) Thank you for sharing
   the information. From those responses you have shared it does look like your 
   IPv6 address is blocked. I will confirm this first with the team and update you
   once I hear back from them.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-55/#post-17241233)
 * [@raulmego](https://wordpress.org/support/users/raulmego/) Thanks for your patience
   with this while I awaited the response from the check. I can confirm now that
   your IPv6 address is blocked. These blocks are out of our control unfortunately
   but we are currently working on a solution for users impacted by these. You can
   follow our GitHub issue for more updates [here](https://github.com/google/site-kit-wp/issues/7864).
 * You may also be able to get around this if you have the option to disable IPv6
   from your hosting platform. If this is an option, you can disable this while 
   connecting Site Kit. It is recommended that you then enable once Site Kit is 
   up and running.
 *  Thread Starter [raulmego](https://wordpress.org/support/users/raulmego/)
 * (@raulmego)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-55/#post-17243874)
 * GREAT!!!
 * Disable IPV6 on the server just temporaly if the server reboot IPV6 start again.
 * Only useful on CentOs Linux
 *     ```wp-block-code
       echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
       ```
   
    - Uninstall SiteKit
    - Reinstall
    - Reconnect
 * Voila!
 * Thanks in advance, I prefer to keep IPV6 enable because the plugin fail when 
   I enable IPV6 service. But is a start point to solve the issue.
 * Best Regards.
   Raul Mendez
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-55/#post-17244590)
 * [@raulmego](https://wordpress.org/support/users/raulmego/) Delighted to hear 
   you were able to use this as a workaround in the meantime. Please do feel free
   to follow updates on the issue with regards to a solution but if you have any
   other questions then please let me know and I will be happy to help!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘google_api_connection_fail’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

## Tags

 * [Google API](https://wordpress.org/support/topic-tag/google-api/)

 * 6 replies
 * 2 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-55/#post-17244590)
 * Status: resolved