Create-react-app: ServiceWorker "SecurityError" on Firefox, served from non-standard port

Created on 22 Feb 2018  路  1Comment  路  Source: facebook/create-react-app

I have basic CRA app running on a non-standard port (8880, HTTP), some simple functionality, two pages, React Router, Material-UI. It's working great in Chrome and Edge, but on Firefox I get:

Error during service worker registration:

code: 18
columnNumber: 0
data: null
filename: "(...)/js/main.36e5ed39.js"
lineNumber: 1
message: "The operation is insecure."
name: "SecurityError"
result: 2152923154

Is this a known issue having to do with serving from non-standard ports, or do you need more information?

React 16.2.0

Most helpful comment

Service workers only work when your page is rendered using https. Does your site use https?

>All comments

Service workers only work when your page is rendered using https. Does your site use https?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ericdfields picture ericdfields  路  78Comments

Timer picture Timer  路  144Comments

rovansteen picture rovansteen  路  192Comments

gaearon picture gaearon  路  85Comments

ericvicenti picture ericvicenti  路  83Comments