As of this morning, the Ember app I work on wasn’t loading in Chrome, in production (it works in Firefox). It was working fine yesterday, and we haven’t done a deploy in three days. I only tested it in Chrome/FF on Linux, not sure if things are different for other OS/browser combinations.
The issue appears to be an incompatibility with a recent update to Chrome. The error in the console was:
Failed to find a valid digest in the 'integrity' attribute for resource 'https://www.my-orientation.com/assets/vendor-3490848894f35dc09a765bd6d92c451d.js' with computed SHA-256 integrity 'CEWiFoCoI5mT8LnEhhETXdTArxMyLvhThCtMTVrylUg='. The resource has been blocked.
I posted about this in #needhelp on the Ember Slack community and @jonathanKingston provided the following short-term fix:
Change the line
<script integrity="" src="assets/vendor.js"></script>
See https://github.com/jonathanKingston/ember-cli-sri/issues/5 for more info.