Service Workers are not supported
See original GitHub issueAn app which works in mock fails when the origin is a safe://
URI. Here’s the error message:
serviceWorker.ts:97 Error during service worker registration: DOMException: Failed to register a ServiceWorker: The URL protocol of the current origin ('safe://solid-filemanager') is not supported
This may be an electron issue, see: https://github.com/electron/electron/issues/2831
You can reproduce the error by choosing a WebID, visiting safe://solid-filemanager
, waiting for the app to load and a popup to appear, and then clicking Login
. The code is at https://github.com/theWebalyst/solid-filemanager/blob/master/src/serviceWorker.ts
I’m using SB v0.14.1 on Ubuntu 18.10.
Any short term fudge I could try here?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Service worker is not supported in chrome (69.0.3497.81)
Chrome requires service workers to be served over https, but allows an exception for localhost for development. Share.
Read more >Using Service Workers - Web APIs | MDN
This article provides information on getting started with service workers, including basic architecture, registering a service worker, ...
Read more >I am getting "Service workers are not supported" : r/firefox
Everything works perfectly in Chrome(ium), but not in Firefox. No matter what I do, I get "Service workers are not supported.".
Read more >Service Workers | Can I use... Support tables for ... - CanIUse
Service Workers. - CR. Method that enables applications to take advantage of persistent background processing, including hooks to enable bootstrapping of ...
Read more >Handling 'service worker not supported' error in private browsers
Looking at our Airbrake logs, seeing that we get 'service worker not supported' errors when the user is in a private browser.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
sorry @johannesjo for the radio silence. browser has been fairly backburner lately (and then i’ve been on paternity).
Looks like this’ll get solved when we’re able to upgrade to latest electron if that fix sorts things. Browser is still reasonably backburner though atm.
Looks like a fix for this has been merged!
https://github.com/electron/electron/issues/20248#ref-pullrequest-837630595