jakearchibald / jakearchibald/simple-serviceworker-tutorial
service worker on local host with virtual host ... doesn't work
- Dominant language
- JavaScript
- Stars
- 397
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
I have enabled https on my local server
however the ssl certifcate is obviously self signed and chrome gives error
SW register fail DOMException: Failed to register a ServiceWorker: An SSL certificate error occurred when fetching the script.
and it throws net::ERR_INSECURE_RESPONSE while trying to fetch worker.js
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the ServiceWorker registration failure in Chrome on a local HTTPS virtual host, then inspect the worker.js fetch and the reported net::ERR_INSECURE_RESPONSE error. Confirm the certificate and browser conditions involved before determining what change or documentation is needed; done means the registration behavior is verified against the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100