Bug #8836
CSS and JS not loading on ProvONE documentation
100%
Description
I was looking at http://jenkins-1.dataone.org/jenkins/view/Documentation%20Projects/job/ProvONE-Documentation-trunk/ws/provenance/ProvONE/v1/provone.html today and Chrome and Safari are both upset with how its CSS and JS are set up and are refusing to load either. Steps to reproduce:
- Go to http://jenkins-1.dataone.org/jenkins/view/Documentation%20Projects/job/ProvONE-Documentation-trunk/ws/provenance/ProvONE/v1/provone.html
- See no styles are loaded, hide/show examples buttons don't work. See errors in devtools about CSP errors.
History
#1 Updated by Dave Vieglais over 5 years ago
- Assignee set to Dave Vieglais
- Status changed from New to Closed
- % Done changed from 0 to 100
Needed to set csp on the Jenkins server:
https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy
in /etc/defaults/jenkins
#2 Updated by Bryce Mecum over 5 years ago
Thanks! It's much better now. Do you care about the remaining CSP errors the page throws?
#3 Updated by Dave Vieglais over 5 years ago
Bryce Mecum wrote:
Thanks! It's much better now. Do you care about the remaining CSP errors the page throws?
Not seeing any errors on page load except 404 for favico.
#4 Updated by Bryce Mecum over 5 years ago
- File Screen Shot 2019-08-14 at 3.16.13 PM.png added
I get a litany of CSP errors:
#5 Updated by Dave Vieglais over 5 years ago
Bryce Mecum wrote:
I get a litany of CSP errors:
OK, should be sorted now.