Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New lighttpd response headers break device firmware update checks #620

Closed
hobbyquaker opened this issue May 5, 2019 · 1 comment

Comments

Projects
None yet
3 participants
@hobbyquaker
Copy link
Contributor

commented May 5, 2019

Refused to load the script 'https://ccu3-update.homematic.com:8443/firmware/api/firmware/search/DEVICE?ts=1557084332747' because it violates the following Content Security Policy directive: "script-src 'unsafe-inline' 'unsafe-eval' 'self' *.homematic.com https://gitcdn.xyz ". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

psytester added a commit to psytester/RaspberryMatic that referenced this issue May 5, 2019

Update setenv.conf
Issue jens-maus#620 shows that eQ-3 is using two different kinds of FW checks and both needs to be allowed in CSP
http://ccu3-update.homematic.com/firmware/download?cmd=js_check_version&version=....
https://ccu3-update.homematic.com:8443/firmware/api/firmware/search/...

==> *.homematic.com:8443 added too
@libertyx82

This comment has been minimized.

Copy link
Contributor

commented May 5, 2019

I have a similar problem by accessing the webui over a reverse proxy

Refused to load the script 'https://ajax.cloudflare.com/cdn-cgi/scripts/a2bd7673/cloudflare-static/rocket-loader.min.js' because it violates the following Content Security Policy directive: "script-src 'unsafe-inline' 'unsafe-eval' 'self' *.homematic.com https://gitcdn.xyz ". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.