Title: google_api_connection_fail
Last modified: June 14, 2024

---

# google_api_connection_fail

 *  Resolved [مهدی فرجی](https://wordpress.org/support/users/cyrus2161/)
 * (@cyrus2161)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/google_api_connection_fail-59/)
 * when I followed instruction to Set up Site Kit I faced the error below >>
 * Your site may not be ready for Site Kit
 * Looks like your site is having a technical issue with requesting data from Google
   services.
   [Click here](https://sitekit.withgoogle.com/support?error_id=google_api_connection_fail)
   for more information, or to get more help, ask a question on our [support forum](https://wordpress.org/support/plugin/google-site-kit/)
   and include the text of the original error message:google_api_connection_fail
 * the attached screenshot is >>
 * ![](https://i0.wp.com/s8.uupload.ir/files/screenshot_2024-06-14_123158_sege.png?
   ssl=1)
 * 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-59%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/google_api_connection_fail-59/#post-17824865)
 * Hi @cyrus2161, thanks for getting in touch and providing the information. We 
   have commonly seen this warning and error when there is an issue with your site
   connecting with IPv6.
 * Typically when IPv6 addresses are blocked, it is because your IP address falls
   within a specific range that includes users from regions where Google services
   are blocked. We do now have a solution for this.
 * Please can you follow the steps below:
    - Download [this mini-plugin,](https://gist.github.com/aaemnnosttv/baf4b8552f21f9dd994870d89c7b344e/archive/5fda14c44aa026442b17b3500fe0a3934196b3da.zip)
      which allows Site Kit setup over IPv4 instead of IPv6
    - Upload the plugin file on your site by going to **Plugins > Add New > Upload
      Plugin**
    - Once installed, try setting up Site Kit again
 * If this doesn’t resolve the issue then please can you share your [Site Health information](https://i.imgur.com/Rtkmsba.png).
   You can [use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
   to share privately if preferred. If you have any questions on the above information
   then let me know.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/google_api_connection_fail-59/#post-17841324)
 * As we didn’t receive a response I’ll mark this as resolved. Feel free to [open a new support topic](https://wordpress.org/support/plugin/google-site-kit/#new-post)
   if you continue to encounter issues, or reopen this topic and we’d be happy to
   assist.

Viewing 2 replies - 1 through 2 (of 2 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

 * [Site Kit](https://wordpress.org/support/topic-tag/site-kit/)

 * 2 replies
 * 2 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/google_api_connection_fail-59/#post-17841324)
 * Status: resolved