• Register
  • Login
  • Pricing
  • Support
    • Support
    • Tutorials
    • Blog
    • Guide
    • Support Forum
  • Notification Settings Notification Settings
  • Private Messages Private Messages
  • All Messageboards
  • Help

Embedding pollunit from google sites throwing error

Started 2020-12-07 by EcoVadis Core Values

EcoVadis Core Values

2020-12-07

Hi,
I am having a problem embedding pollunit onto a google site, the console error shows:
Refused to frame 'https://pollunit.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' pollunit.com *.pollunit.com sites.google.com apis.google.com".
The site domain is https://sites.google.com/
I've tried whitelisting any combination of google.com sites.google etc. but none seem to get the job done… I'm using the google sites embed widget.
Any hints are welcome.
Thanks in advance,
M.

Philipp Großelfinger

2020-12-07

Hi,
Can you please send the direct link where the PollUnit is embedded to philipp@pollunit.com? Then I can have a look.
Kind regards
Philipp

EcoVadis Core Values

2020-12-08

Unfortunately the site is auth only and I am not allowed to share the access. Can we find out anything from the logs, e.g. to see exactly what domain the request is coming from so that I can whitelist it properly?
Best regards,
Martin

Philipp Großelfinger

2020-12-08

Hi Martin,
If you inspect the network requests, I think you should look for the "Referer" in the request headers of the network request that loads the iframe from PollUnit.
Kind regards
Philipp

EcoVadis Core Values

2020-12-08

referer: https://sites.google.com/ecovadis.com/culture/feedback-box?authuser=2
However, pollunit only allows me to input either sites.google.com or ecovadis.com (not sites.google.com/ecovadis.com) but none of them solve the issue…

Philipp Großelfinger

2020-12-08

I manually added "sites.google.com/ecovadis.com" to the allowed hosts. Can you try again if the embedding works now? And please don't change the allowed hosts now, because I think this entry might be rejected.

EcoVadis Core Values

2020-12-08

Refused to frame 'https://pollunit.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' pollunit.com *.pollunit.com ecovadis.com www.ecovadis.com sites.google.com apis.google.com sites.google.com/ecovadis.com".
:(

Philipp Großelfinger

2020-12-08

Ok, Sorry! I'm looking with a colleague tomorrow into this.

EcoVadis Core Values

2020-12-08

Thank you Philipp, much appreciated!

Philipp Großelfinger

2020-12-10

Hi Martin,
Sorry but we could not find out more. The easiest solution would be if you can give us access to a test page where you try the embedding. If you do so, please don't share it here in public, but send it to me by mail to philipp@pollunit.com.

Kind regards
Philipp

Drew Quinn

2021-02-13

I am having the same sort of problem with embedding Pollunit on my Google Site. Was there a solution found?

Philipp Großelfinger

2021-02-13

Hi Drew,
We could not find a solution, because the embedded PollUnits where requested each time from a different frame ancestor. So we could not whitelist them. Unfortunately we can't do anything to fix this.

Tools

  • Voting
  • Surveys
  • Free Tables
  • Collect Ideas and Feedback
  • Photo Contests
  • Video Contests
  • Music Contests
  • Landing Page
  • Pairwise Comparison
  • PollUnit Lab

Support

  • Get Started
  • PollUnit Help
  • Tutorials
  • Support Forum
  • support@pollunit.com

Tutorials

  • Create your first poll
  • Advanced poll features
  • Advanced survey branching logic
  • Distribute tasks online
  • Cast votes and rate options
  • Find a date
  • Vote on images
  • Create your own theme
  • Polls with your own logo
  • Evaluate your PollUnit
  • Dot Voting
  • Range Voting
  • Polls on your own website
  • Live Voting
  • Reach a consensus
  • Manage orga­nizations
  • Prevent multiple participation
  • Donations and participation fees

Legal

  • Privacy policy
  • Terms of use
  • Imprint

PollUnit

  • PollUnit Blog
  • About PollUnit
  • Press kit
  • © PollUnit
  • Register
  • Login
  • Pricing
  • Support
    • Support
    • Tutorials
    • Blog
    • Guide
    • Support Forum