# Refused to load preload-store.js

**URL:** https://meta.discourse.org/t/refused-to-load-preload-store-js/150700
**Category:** Support
**Created:** [May 7, 2020, 9:40am UTC](https://meta.discourse.org/t/refused-to-load-preload-store-js/150700 "2020-05-07T09:40:06Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![DBHacker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dbhacker/32/173072_2.png) [@DBHacker](https://meta.discourse.org/u/DBHacker)
#### Post date: [May 7, 2020, 9:40am UTC](https://meta.discourse.org/t/refused-to-load-preload-store-js/150700/1 "2020-05-07T09:40:06Z")

</div>

FYI:

![Screen Shot 2020-05-07 at 4.39.08 PM](https://global.discourse-cdn.com/meta/original/3X/4/7/47d5c4bbed0dd57907827b37745e1e6c9a796e41.jpeg)

Getting this error in chrome console after recent upgrade (was not seeing this console error before upgrade, FYI):

```plaintext
Refused to load the script 'https://staging.test-site.com/preload-store.js' because it violates the following Content Security Policy directive: "script-src https://staging.test-site.com/logs/ https://staging.test-site.com/sidekiq/ https://staging.test-site.com/mini-profiler-resources/ https://staging.test-site.com/assets/ https://staging.test-site.com/brotli_asset/ https://staging.test-site.com/extra-locales/ https://staging.test-site.com/highlight-js/ https://staging.test-site.com/javascripts/ https://staging.test-site.com/plugins/ https://staging.test-site.com/theme-javascripts/ https://staging.test-site.com/svg-sprite/ https://www.google-analytics.com/analytics.js". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fall

```

Same console error exists when browsing meta, FYI:

 ![Screen Shot 2020-05-07 at 4.59.59 PM](https://global.discourse-cdn.com/meta/original/3X/a/8/a8090d4583ce14604df3e0d7a07f57b95f78c50e.jpeg)

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [May 7, 2020, 11:33am UTC](https://meta.discourse.org/t/refused-to-load-preload-store-js/150700/2 "2020-05-07T11:33:02Z")

</div>

That’s a known issue. @eviltrout is working on it.

---

<div class="post-metadata">

### Author: ![DBHacker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dbhacker/32/173072_2.png) [@DBHacker](https://meta.discourse.org/u/DBHacker)
#### Post date: [May 7, 2020, 12:17pm UTC](https://meta.discourse.org/t/refused-to-load-preload-store-js/150700/3 "2020-05-07T12:17:44Z")

</div>

Fantastic!

Thanks for the update!

OBTW @gerhard

Is there a list of these “known issues” so when I see these things I can search the list first before asking a question or being generally annoying?

On this end, did a search but did not find any open Discourse or Ember issues on this.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 7, 2020, 12:45pm UTC](https://meta.discourse.org/t/refused-to-load-preload-store-js/150700/4 "2020-05-07T12:45:38Z")

</div>

No search is your best bet, it’s ok if you try to at least search first, no worries.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [May 7, 2020, 2:37pm UTC](https://meta.discourse.org/t/refused-to-load-preload-store-js/150700/5 "2020-05-07T14:37:37Z")

</div>

It should already be fixed if you get the latest version of Discourse.

edit: I see it’s still happening! I’ll look at it.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [May 7, 2020, 3:26pm UTC](https://meta.discourse.org/t/refused-to-load-preload-store-js/150700/6 "2020-05-07T15:26:17Z")

</div>

And now it’s fixed, for real this time!

---

<div class="post-metadata">

### Author: ![DBHacker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dbhacker/32/173072_2.png) [@DBHacker](https://meta.discourse.org/u/DBHacker)
#### Post date: [May 8, 2020, 2:20am UTC](https://meta.discourse.org/t/refused-to-load-preload-store-js/150700/7 "2020-05-08T02:20:49Z")

</div>

Hi Robin @eviltrout

Thanks and confirmed (seems you removed `preload-store.js`) !!

On a distantly related note, ran across your awesome 2014 screencast today during morning coffee, which seems even more relevant today than in 2014:

# How to debug an Ember.js application

[![](https://global.discourse-cdn.com/meta/original/4X/a/0/9/a09187d71a8911127ce88e0bcb406e102e866110.jpeg "How to debug an Ember.js application") ](https://www.youtube.com/watch?v=mXHzC0LdTuk)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 7, 2020, 2:21am UTC](https://meta.discourse.org/t/refused-to-load-preload-store-js/150700/8 "2020-06-07T02:21:06Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
