No internet connection
  1. Home
  2. Support

How to fix sameSite cookie issue

By Mohamed Albgal @malb
    2020-08-31 19:56:26.307Z

    On my gatsby static site, the comments iframe appears in my local environment but when deployed I get the error: "Refused to frame 'https://discussions.yarcenter.talkyard.net/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors https://yarcenter.org"."

    Is there something I should add to my gatsby-config file. I could not find anything in the admin panel here on talkyard when logged in as admin.

    • 1 replies
    1. Hmm that error message doesn't sound like a SameSite cookie problem. You have a link to a page at your website, with blog comments embedded? Then I can have a look.

      I wouldn't expect this to work right now, anyway, since HTTPS won't work with the dot in discussions.yarcenter — the HTTPS cert is for *.talkyard.net but in * there must be no additional dots.
      Here, HTTPS would work: https://no-extra-dot.talkyard.net/.
      (This is something I should improve in the UX, so one cannot type extra dots)