chrome-extension-boilerplate-react
chrome-extension-boilerplate-react copied to clipboard
index.js:1205 Uncaught Error: SecurityError: An insecure SockJS connection may not be initiated from a page loaded over HTTPS
I get the error. please tell me how to fix it?
is there any fix for that error ?
Hmm, I haven't been able to reproduce. Would you try adding https: false
to the webserver config?
content script error, when open a third-part page:

Anyone help?
This is definitely an issue with the WebPack or Web Dev Server and I am not proficient enough at either to know how to fix it.
However I cloned @octohedron's updated fork with a completely custom web server. I was able to install, unpack, and try it out and it had no web socket errors and the content scripts loaded without issues and I could see the console logs it does from the template.
Yes this is an issue with content script not loading on any page due to this error
This error still happens. Any update to fix this issue?
Content script not working due to this... it kind of makes the whole boilerplate unusable. any help?
@hadnet @uri3000 Use this fork instead, it has a better and working dev server.
In webserver.js, change https
property to true
**. This will get things working, even though you will still see errors on the console. Probably need to configure a local cert to completely silence this, but at least the content script will be loading/running.
** Better yet, replace https: true
with server: 'https'
, as the https
property is deprecated.
Was anyone able to configure the local cert to silence the error?
** Edit: by making the change @shawnvoss suggests, the error no longer appears