emad-elsaid / devtools

A set of simple tools every developer needs, collected in one application.
http://www.emadelsaid.com/devtools
MIT License
15 stars 6 forks source link

App Doesn't Load #26

Closed AmrEldib closed 8 years ago

AmrEldib commented 8 years ago

Application doesn't load at all, it's just a blank page. Console error is as follows: In Firefox Nightly (Today's) None of the "sha512" hashes in the integrity attribute match the content of the subresource. In Chrome 47.0.2526.106 m Failed to find a valid digest in the 'integrity' attribute for resource 'http://www.blazeboy.me/devtools/assets/devtools-dbd1b6be46db16eb5d3270d709c9174b.js' with computed SHA-256 integrity '2qXoHfZSfB9ceWJu5I1MjnrRdLXs89gKSjAcT6MtPJ0='. The resource has been blocked. Side note: I think it would be useful to test the deployment with clear cache or private browser mode.

emad-elsaid commented 8 years ago

will investigate noe

AmrEldib commented 8 years ago

There's another error in the console, but it's not related The resource at "http://www.google-analytics.com/analytics.js" was blocked because tracking protection is enabled.[Learn More] devtools I have 'Do Not Track' turned on

emad-elsaid commented 8 years ago

aha it's irrelevant

MohamedBassem commented 8 years ago

I'm also currently facing this issue.

AmrEldib commented 8 years ago

It's not fixed for me either. Tried clearing the cache, private mode, and different browser. Still there on Firefox and Chrome. Same error message. SHA-256 integrity doesn't match.

MohamedBassem commented 8 years ago

This may be relevant : https://github.com/ember-cli/ember-cli/issues/5040

emad-elsaid commented 8 years ago

Weird, it's loading correctly on my firefox, i'll investigate further

emad-elsaid commented 8 years ago

@AmrEldib @MohamedBassem can we check if this solved the bug?

MohamedBassem commented 8 years ago

It did, but seems like this is a temporary fix, if you found the commit that introduced this thing maybe we can find a better way to fix it

emad-elsaid commented 8 years ago

Sure, i'll dig more after finishing this tool #25

MohamedBassem commented 8 years ago

Cool, good luck!

AmrEldib commented 8 years ago

Seems resolved now. Thanks!

emad-elsaid commented 8 years ago

Ok, the ember-cli main developer said that adding integrity to script tags is the solution not a work around, it's just ember-cli blueprint didn't add it by default and the new versions will.

jonathanKingston commented 8 years ago

@blazeeboy was the integrity failing on the testem script out of interest? (just seen this)

emad-elsaid commented 8 years ago

I didn't get that error, neither when running tests not the app itself, but @AmrEldib had it on firefox with the main app. couldn't regenerate the issue on my machine.

AmrEldib commented 8 years ago

I found the problem while trying to use the app. You can find a description of the error above.