• Hello Google people!

    I’m in dire need for your wishdom. I had Site kit installed and working just fine, untill yesterday when I suddenly got a lot of JSON errors. I tried reinstalling the plugin, but now it won’t even let me connect! I’m getting this error: google_sk_service_connection_fail and when i try to connect my account i’m getting the following error: request_failed.

    In the console (screenshot): https://ibb.co/n84vZ9v

    I tried troubleshooting with the health check, disabled all the plugins but site kit and it still failed to connect (same output). What can i do next?

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

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

    (@jamesosborne)

    Thanks for reaching out @daan920, and sharing details of the troubleshooting you performed. Based on the error you’re encountering, I suspect you may be facing a block based on your host servers IPv6 address. So we can determine more on this, please share the followng:

    1. Your Site Health information, using this form to share privately.??
    2. A screen recording of your experience. You can use a service such as Loom or RecordIt to share a screen recording, while including this in the form above when sharing your Site Health information.

    Within the recording, if you can keep your developer tools open showing any console errors. We can then provide you with the most suitable troubleshooting checks, which may include some cURL commands to check at host level to confirm any block based on your IP address.

    Let me know if you have any questions with the above.

    Thread Starter Daniel Lichthart

    (@daan920)

    Done ??

    Plugin Support James Osborne

    (@jamesosborne)

    Many thanks for the recording and additional details, very useful to see what’s occurring.

    Based on you not being able to reach the Site Kit service, which is hosted on a Google domain, I suspect your IPv6 address in falls within a range that includes some users from regions where Google services are blocked, with all IPv5 address’s within that range then impacted. I’m happy to reach out to your hosting provider for assistance with this, however, before doing so can you can check if you’re able to perform the following cURL commands from your hosts web terminal?

    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 IPv6

    If you’re not sure on the above, your hosting provider may be able to assist. I suspect you will have be able to connected over IPv4, with a 200 response. You’re IPv6 check may result in an error code.

    Let me know if you need any assistance with the above.

    Thread Starter Daniel Lichthart

    (@daan920)

    I just got a response from the hosting company (translated to english):

    “Below are the results of the tests. Since a connection can be made over both IPv4 and IPv6 but Google returns a 403 forbidden over the IPv6 connection there will be a blockage on the side of Google. When Google will allow the IPv6 range 2a05:1500::/29 the web server will be able to connect to Google’s service.

    curl -4 -I https://sitekit.withgoogle.com
    HTTP/2 200
    content-type: text/html
    vary: Accept-Encoding
    x-cloud-trace-context: 61b896e9c4f67fc7dc11212a049c69ff
    date: Fri, 07 Jul 2023 09:50:34 GMT
    server: Google Frontend
    alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
    
    [machtien@web-1016 machtien]# curl -6 -I https://sitekit.withgoogle.com
    HTTP/2 403
    alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
    
    [machtien@web-1016 machtien]# curl https://sitekit.withgoogle.com
    <!DOCTYPE html>
    <html lang=en>
      <meta charset=utf-8>
      <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
      <title>Error 403 (Forbidden)!!1</title>
      <style>
        *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
      </style>
      <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
      <p><b>403.</b> <ins>That’s an error.</ins>
      <p>Your client does not have permission to get URL <code>/</code> from this server.  <ins>That’s all we know.</ins>
    
    Plugin Support James Osborne

    (@jamesosborne)

    Many thanks for the update @daan920. I also heard word back that this was indeed a block. This should have been cleared at some stage on Friday. Can you attempt Site Kit set up once more and let me know if you are able to proceed?

    Thread Starter Daniel Lichthart

    (@daan920)

    I’m still getting the same errors sadly :-(.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for the update @daan920, and sorry to hear you remain blocked. Can you confirm your IPv6 address once more? From the records I’m checking on your domain this may be 2a05:1500:600:7:1c00:eff:fe00:f41.

    Note also that if you want to initially set up Site Kit you can temporarily disable IPv6 during the setup process.

    Thread Starter Daniel Lichthart

    (@daan920)

    The IP is correct, the full range used is 2a05:1500::/29.

    I tried setting it up from the start again but the error message will immediatly come up, is there anything else i should do to disable ipv6?

    Plugin Support James Osborne

    (@jamesosborne)

    @daan920 I’ll request another check for your IP address and keep you updated.

    I tried setting it up from the start again but the error message will immediatly come up, is there anything else i should do to disable ipv6?

    You can disable IPv6 temporarily using the following, checking can you complete the Site Kit setup process:
    sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
    sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1

    I’ve also reached out to your hosting provider with some steps they can take to whitelist your address.

    Thread Starter Daniel Lichthart

    (@daan920)

    Ah perfect, thanks for all the help so far! I will await the response from my hosting provider.

    Plugin Support James Osborne

    (@jamesosborne)

    No problem. While you’re waiting, please do go ahead and see if you’re able to connect Site Kit successfully by temporarily disabling IPv6. You can enable once more after connection.

    Thread Starter Daniel Lichthart

    (@daan920)

    I’m on shared hosting so I have to wait till I get a response from my hoster. For now, I implemented the head tag for analytics so I guess that’s fine also.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for the update @daan920. Manually adding your Analaytics snippet is a good idea for the meantime, to ensure your site visits are counting. I’ll keep this support topic open in the meantime. I also didn’t hear back from your hosting provider but I will let you know know should that change.

    Plugin Support James Osborne

    (@jamesosborne)

    Hi @daan920,

    I’m just following up with you to check whether you’ve heard anything back from your hosting provider, or if you’ve since attempted to set up Site Kit?

    Plugin Support James Osborne

    (@jamesosborne)

    Just to confirm that I also heard back from the check requested for your sites IPv6 address. There were previous blocks, with your IPv6 address geolocating between Iran and the Netherlands. In the case of the Iran it’s normal that such blocks will occur. It’s appearing as from the Netherlands for me at present, so it might be a worthwhile check to attempt set up once more.

    Let me know how you get on, or ask if you have any questions. If the same occurs please share your current location and whether you may be using a VPN.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘google_sk_service_connection_fail’ is closed to new replies.