• Resolved lukegood

    (@lukegood)


    Hi Support Team,
    When I run the setup of the site kit and in the step “Verify site ownership”, it shows me the error “Oops! There was a problem during set up. Please try again.
    Unknown Error (code: http_request_failed).”
    I’ve tried these tips:
    Check your site settings;
    Deactivate all my wordpress plugins except the site kit;
    Deactivate all my plugins in Chrome and so on.
    But they didn’t work at all.
    Could you help me solve this problem?
    Thanks.

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

    (@jamesosborne)

    @lukegood Can you share your site URL and Site Health information and we can hopefully identify something which may be impacting setup?

    If you prefer to share privately you can submit via this form.

    Thread Starter lukegood

    (@lukegood)

    Thanks for your response. I have submitted the form.

    Plugin Support James Osborne

    (@jamesosborne)

    @lukegood Many thanks for providing the information. Can you confirm you have access to all Google services from your current location?

    Thread Starter lukegood

    (@lukegood)

    Yes, I think so. I have a VPN can help me use all Google services. But if I don’t use VPN, some Google services is not available.

    Plugin Support James Osborne

    (@jamesosborne)

    @lukegood That may be the problem, when connecting your site the authentication service may not have direct access to your site, regardless of whether there is a VPN setup on your machine.

    I will check with the team and get back to you on this.

    Plugin Support James Osborne

    (@jamesosborne)

    @lukegood I’ve created a GitHub issue so we can keep track of this issue. Feel free to add any input, such as screenshots and the steps you take before encountering this error.
    https://github.com/google/site-kit-wp/issues/1262

    I can keep you informed here with any updates on this.

    Thread Starter lukegood

    (@lukegood)

    Thanks. I have added some screenshots in Github. Hope they are usefull.

    Plugin Support James Osborne

    (@jamesosborne)

    @lukegood Many thanks, they should be useful. I will report back here once I have any updates.

    the problem is solved through adding your own code into google php
    though i cannot give the code now due to security reasons , here’s the solution:
    resolve your VPN service to a local host like 127.0.0.1 which should be resolved from localhost

    now try editing the google site kit php and insert the php code to guide all internet service to the host(HTTP HTTPS FTP)
    that should solve the problem

    I’ve comment on the post on Github

    best regards

    Plugin Support James Osborne

    (@jamesosborne)

    @lukegood Apologies for the late response. From testing various hosting providers I’ve been able to reproduce this issue with some hosting providers which require services to be whitelisted before successful connection.

    Can you check with your current host that traffic to/from *.withgoogle.com is enabled? You can perform some tests yourself following the steps mentioned in the related GitHub issue.

    Plugin Support James Osborne

    (@jamesosborne)

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues.

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

The topic ‘Unknown Error (code: http_request_failed).’ is closed to new replies.