# ServiceWorker script evaluation failed due to HTTP (not HTTPS)

**URL:** <https://meta.discourse.org/t/serviceworker-script-evaluation-failed-due-to-http-not-https/124800>\
**Category:** Product Support\
**Created:** [August 3, 2019, 7:19pm UTC](https://meta.discourse.org/t/serviceworker-script-evaluation-failed-due-to-http-not-https/124800 "2019-08-03T19:19:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![verilog15](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@verilog15](https://meta.discourse.org/u/verilog15)\
**Post date:** [August 3, 2019, 7:19pm UTC](https://meta.discourse.org/t/serviceworker-script-evaluation-failed-due-to-http-not-https/124800/1 "2019-08-03T19:19:14Z")

</div>

I have some problem with some JS. In the dev-tools I see (after installing some official plugins):

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/4/b48072f9ef407fa0663be397c16fcc2808789908.png)

I’m not sure where to start debugging this.  
Searching for the message “Failed to register Service Worker: TypeError: Failed to register a ServiceWorker: ServiceWorker script evaluation failed” on Google suggests there is a problem with the JS but I’m don’t know where it is coming from.  
Have anybody got this issue before?

---

_[View the full topic](https://meta.discourse.org/t/serviceworker-script-evaluation-failed-due-to-http-not-https/124800)._
