Package: netdata
Version: 1.16.0-1

When the netdata GUI is proxied through an apache web server with csp on, the 
browser
delivers the following errors:

Cannot load required JS library: 
https://netdata.bfh.science/netdata/lib/bootstrap-3.3.7.min.js
Cannot load required JS library: 
https://netdata.bfh.science/netdata/lib/perfect-scrollbar-0.6.15.min.js
Cannot load required JS library: 
https://netdata.bfh.science/netdata/lib/bootstrap-toggle-2.2.2.min.js
Cannot load required JS library: 
https://netdata.bfh.science/netdata/dashboard_info.js?v20181019-1
Cannot load required JS library: 
https://netdata.bfh.science/netdata/dashboard_info.js?v20181019-1
ERROR 100: Cannot load chart library: 
https://netdata.bfh.science/netdata/lib/dygraph-c91c859.min.js
ERROR 100: Cannot load chart library: 
https://netdata.bfh.science/netdata/lib/jquery.easypiechart-97b5824.min.js
ERROR 100: Cannot load chart library: 
https://netdata.bfh.science/netdata/lib/gauge-1.3.2.min.js

After the web site is loaded, the graphs are all empty resp. replaced by 
message:
"system.(swap|cpu|load|disk|...): chart library "easypiechart" is not enabled."

When the content security policy is switched off, the site loads OK.

Our apache settings for csp are:
Header always set Content-Security-Policy "default-src 'https:' 'self'; 
style-src 'https:' 'self' 'unsafe-inline'"

Regards
Katharina

Reply via email to