Title: google_api_connection_fail when activating plugin
Last modified: October 31, 2023

---

# google_api_connection_fail when activating plugin

 *  Resolved [ochoppee](https://wordpress.org/support/users/ochoppee/)
 * (@ochoppee)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/)
 * Re: I am a amateur at this!
 * The message I get when I try to activate sitekit is:
 * “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](https://wordpress.org/support/plugin/google-site-kit/)
   and include the text of the original error message:google_api_connection_fail”
 * When I click signin “[https://staging.therockiestours.ca/therockiestours.ca/wp-admin/index.php?action=googlesitekit_proxy_setup_start&nonce=bbb3592ead&#8221](https://staging.therockiestours.ca/therockiestours.ca/wp-admin/index.php?action=googlesitekit_proxy_setup_start&nonce=bbb3592ead&#8221);
   I get:
 * “The request to the authentication proxy has failed with an error: request_failed
   [Get help](https://sitekit.withgoogle.com/support?error_id=request_to_auth_proxy_failed).”
 * When check curl I get
 * [root@vps197 ~]# curl -I [https://sitekit.withgoogle.com](https://sitekit.withgoogle.com/)
   
   HTTP/2 403alt-svc: h3=”:443″; ma=2592000,h3-29=”:443″; ma=2592000
 * 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-when-activating-plugin-2%2Fpage%2F2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 16 through 30 (of 31 total)

[←](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/?output_format=md)
[1](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/?output_format=md)
2 [3](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/3/?output_format=md)

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17169273)
 * Thanks for the update [@ochoppee](https://wordpress.org/support/users/ochoppee/).
   I’ll request a check for this IPv6 address now. Also please do go ahead and request
   a restart of your server, which seems to be a private VPS while I’m doing so.
 * Note that it may take a few days before I hear back from any potential IPv6 related
   block, but I’ll update you as soon as I hear back from this request.
 *  Thread Starter [ochoppee](https://wordpress.org/support/users/ochoppee/)
 * (@ochoppee)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17170300)
 * Additional Info: Primary IPv4’s
 * **Primary IP**
 * 54.39.23.128
 * **Assigned IPs**
 * 54.39.23.128
   54.39.84.129
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17177345)
 * [@ochoppee](https://wordpress.org/support/users/ochoppee/) Thanks for the additional
   information. We are still awaiting the check on your IPv6 address. Once we have
   the result we will update here.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17182012)
 * [@ochoppee](https://wordpress.org/support/users/ochoppee/) Just to let you know
   that we heard back from the request for your site. From doing so, it looks like
   your IPv6 address is indeed blocked. What I did was I reached out to your hosting
   provider, via the info@ email listed on the contact page of their website, with
   some suggestions on how to address this. You may wish to reach out to them asking
   whether there are any updates.
 * For additional context, blocks such as the one you are encountering are not any
   blocks at Site Kit level, they are more IPv6 only blocks to Google related URLs,
   based on the IP Range including IP addresses from regions where Google services
   are blocked.
 * Note also that such blocks can be temporary, however, they do fall outside the
   scope of what we can address here on the plugin site. I’ll keep you updated should
   we have any updates on this, thank you!
 *  Thread Starter [ochoppee](https://wordpress.org/support/users/ochoppee/)
 * (@ochoppee)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17182516)
 * My hosting provider was wondering if there is a way in the plugin settings to
   force IPv4 was their question?
 *  Thread Starter [ochoppee](https://wordpress.org/support/users/ochoppee/)
 * (@ochoppee)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17182520)
 * They are also wondering if the plugin has specific settings that tell it to use
   only IPv4?
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17185103)
 * Thanks for the update [@ochoppee](https://wordpress.org/support/users/ochoppee/).
 * > My hosting provider was wondering if there is a way in the plugin settings 
   > to force IPv4 was their question?
 * This is a great question, and something we have been discussing. The problem 
   isn’t with the Site Kit service communication specifically, it’s an issue when
   connecting with the various Google API’s that Site Kit uses. We are still looking
   into this.
 * > They are also wondering if the plugin has specific settings that tell it to
   > use only IPv4?
 * There is no such setting at present, but I will keep you updated with any developments
   on these Google API limitations.
 * Note also that if you can temporarily deactivate IPv6, this may allow you to 
   use complete setup. I also checked your site just now and I can also confirm 
   that Site Kit has the Google Analytics snippet placed, despite the warning. This
   means you can view Analytics data from analytics.google.com with this Site Kit
   placed snippet.
 * Please do also let me know if you wish for me to perform another IPv6 check for
   your site once your hosting provider has added a Geofeed based on the instructions
   I provided.
 *  Thread Starter [ochoppee](https://wordpress.org/support/users/ochoppee/)
 * (@ochoppee)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17189833)
 * Can you resend those instructions to CanSpace Solutions Tech Support [support@canspace.ca](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/support@canspace.ca?output_format=md)
 * with subject line as follows
 * Re: [Ticket ID: 382141] [https://staging.therockiestours.ca/therockiestours.ca/](https://staging.therockiestours.ca/therockiestours.ca/)
   and [https://therockiestours.ca/](https://therockiestours.ca/) [MERGED]
 * they seem to can’t find it in there info inbox no more.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17191087)
 * No problem [@ochoppee](https://wordpress.org/support/users/ochoppee/), that’s
   done now. I previously sent this on Tuesday, but to the info@ address. It’s forwarded
   now to the support@ address.
 * Let me know if you have any further questions on this.
 *  Thread Starter [ochoppee](https://wordpress.org/support/users/ochoppee/)
 * (@ochoppee)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17212381)
 * Their answer!
 * Hello Peter,
 * The ticket was seen and replied to and there is a staff side note here referencing
   it. One of the solutions he provides has already been applied (removing your 
   IPV6 address) and as noted in the ongoing thread you have and here in the earlier
   replies this resolved the issue and the Sitekit is working, per this Google representative
   in your VPS. None of the other suggestions would apply here.
 * Your VPS is not in a banned region nor are the IPs and as we do not control the
   IPV6 blocks directly we can not affect the published geolocation. We would not
   add an unsupported IPGeoFeed within the VPS itself and, as removing the address
   allowed the sitekit to work there would be no reason to do so.
 * The actual cause of the issue, as noted in the thread referenced in his email,
   is related to different google APIs that are not functioning as they should and
   are incorrectly blocking certain IPV6 ranges. That is something they need to 
   resolve on their side.
 * As the sitekit is working in your service what else would you like us to assist
   with in this?
 * Support, CanSpace
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17214847)
 * [@ochoppee](https://wordpress.org/support/users/ochoppee/) Thank you for sharing
   the updates. Could I check with you once more if you are still encountering this
   issue as these blocks can over time clear. If you are still facing this then 
   please note that we are now actively working on a solution for this to allow 
   users to connect using IPv4 when IPv6 is blocked. Please feel free to follow 
   this issue for further updates.
 *  Thread Starter [ochoppee](https://wordpress.org/support/users/ochoppee/)
 * (@ochoppee)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17222638)
 * Sure that is fine
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17267821)
 * [@ochoppee](https://wordpress.org/support/users/ochoppee/) Just a check up to
   ask whether the issue remains on your site, or can you now connect as expected?
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17296958)
 * As we didn’t receive a response I’ll mark this as resolved [@ochoppee](https://wordpress.org/support/users/ochoppee/).
   While we didn’t hear back from you, not that we have since created a mini plugin
   as a workaround for those impacted by an IPv6 block, as you were previously. 
   The details of this can be found [on this guide](https://sitekit.withgoogle.com/documentation/troubleshooting/setup/#google_api_connection_fail).
   Let me know if you have any further questions on this.
 *  Thread Starter [ochoppee](https://wordpress.org/support/users/ochoppee/)
 * (@ochoppee)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/2/#post-17297555)
 * I believe the issue remains, but have not verified since the change by my hosting
   provider would need to be reversed. I will check out your mini plugin, and let
   you know.

Viewing 15 replies - 16 through 30 (of 31 total)

[←](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/?output_format=md)
[1](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/?output_format=md)
2 [3](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/3/?output_format=md)

The topic ‘google_api_connection_fail when activating plugin’ 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/)

 * 31 replies
 * 3 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/google_api_connection_fail-when-activating-plugin-2/page/3/#post-17305275)
 * Status: resolved