• Resolved weeegooo

    (@weeegooo)


    Hello…

    Activating plugin shows error “amp_cdn_restricted”
    i am based in egypt, and also for your info i have logged off every google signed in page and used incognito browser, but still having the same.

    thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter weeegooo

    (@weeegooo)

    also i am using cloudflare CDN.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out. Unfortunately there may be regional restrictions which are outside of our control which may impact setup. We have a GitHub issue which you can find below, with other users reported similar issues:
    https://github.com/google/site-kit-wp/issues/1466

    have you found a solution plz ???

    Plugin Support James Osborne

    (@jamesosborne)

    @twins22 If you are in a region with AMP or Google service restrictions won’t work as expected. While some users in the Github issue were able to successfully setup Site Kit the solutions or workarounds are not possible by changes to the plugin.

    Hello
    my site Looks like the AMP CDN is restricted in my region, which could interfere with setup on the Site Kit service.

    thank you

    I’m getting this message too. I’m based in Japan, but my server is in the US, which I think should be where you are checking, so I don’t understand why this error is being displayed. Is it checking my physical location? And is Japan really not supported?

    Update: I found that this URL was being blocked by my Content Security Policy. Adding this to the connect-src solved the problem for me.

    https://cdn.ampproject.org

    Plugin Support James Osborne

    (@jamesosborne)

    @martin_bailey Many thanks for sharing what worked for you in this case. The plugin does perform a check based on whether AMP library resources are accessible. You’re correct that such CSP configurations can indeed result in setup failure. I will check for that same specific “amp_cdn_restricted” notice after applying similar CSP restrictions.

    We can also keep a note of this as an additional check for impacted users, many thanks for sharing.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘amp cdn restricted’ is closed to new replies.