@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.
Thanks for your response. I have submitted the form.
@lukegood Many thanks for providing the information. Can you confirm you have access to all Google services from your current location?
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.
@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.
@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.
Thanks. I have added some screenshots in Github. Hope they are usefull.
@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
@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.
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.