Description
I’m trying to integrate the Omnichannel LiveChat widget in my we and I’m having a hard time trying to set up the CSP. I’ve tried setting the metas in the page, setting the headers in my apache server (all combinations: VirtualHost / .htaccess / securiry.conf), and although the server is replying with the correct headers (at least I think they’re correct), the web is always showing me this error and the widget never loads:
Refused to frame ‘https://rocket.gelpiu.com/’ because an ancestor violates the following Content Security Policy directive: “frame-ancestors ‘none’”.
Server Setup Information
- Version of Rocket.Chat Server: 3.8.0
- Operating System: Debian 10
- Deployment Method: Git Clone
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 12.19
- MongoDB Version: 4.2.10
- Proxy: none
- Firewalls involved: none
Any additional Information
Response Headers:
-
Accept-Ranges:
bytes -
Access-Control-Allow-Origin:
-
Connection:
Keep-Alive
- Content-Encoding:
gzip
- Content-Length:
10668
- Content-Security-Policy:
frame-ancestors ‘self’ gelpiu.com;
- Content-Type:
text/html
- Date:
Thu, 19 Nov 2020 08:00:27 GMT
- ETag:
“b049-5b470ea2f9fc8-gzip”
- Keep-Alive:
timeout=5, max=100
- Last-Modified:
Thu, 19 Nov 2020 07:45:41 GMT
- Server:
Apache/2.4.38 (Debian)
- Vary:
Accept-Encoding
- X-Frame-Options:
SAMEORIGIN
- X-Frame-Options:
allow-from *