question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Service Workers are not supported

See original GitHub issue

An 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:open
  • Created 4 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

1reaction
joshuefcommented, May 17, 2021

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.

0reactions
happybeingcommented, Mar 23, 2021
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found