-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught error: ServiceWorker controller not found! #133
Comments
I've moved this issue to posit-dev/shinylive. What is a Webspace? |
A vserver at IONOS with a temporary domain using HTTPS. |
If you look in the JS console, does it say this somewhere?
That file sets up And then this code checks for that object (and is where you are getting the error): shinylive/src/Components/Viewer.tsx Lines 33 to 36 in b8911ae
|
That's surprising to me. It sounds like load-serviceworker-sw.js is not able to load shinylive-sw.js here: shinylive/src/load-shinylive-sw.ts Lines 33 to 42 in b8911ae
Here is the documentation for a 428 response code: Is the application deployed somewhere where I could access it? |
I sent you an email with the URL |
Hi @wgemm, I don't think I've received the email. Can you send it to [email protected]? |
I have sent the URL. I hope you received it. |
Hi, I have a similar issue here: "Error: ServiceWorker controller was not found!", however, it can work depending on the app location within my website. I have 2 directories: Public and Private (navigating to pages pointing to the Private directory requires authentication).
Did you find any solution @wgemm ? Thank you. |
Hello, I'm also getting a `ServiceWorker controller was not found!" error on a shinylive app requiring authentication and am interested if a solution exists! |
No I didn't find a solution. Sorry. |
I have the same problem. Edge and Chrome browsers render the Shinylive editor temporarily and attempt to load the viewer. After a few seconds, the editor/viewer block collapses into a gray line and the console shows exactly the same Serviceworker controller not found! errors. I just tried it in Firefox and it works. What a relief, though it would be nice to work in my familiar browser. I am new to web development things so I don't know how to fix the Edge and Chrome issue, but wanted to add my experience to the thread in case it's helpful. |
I am unsure if I am correct here or if the bug should go to posit-dev/shinylive.
My exported webassembly runs fine served localy with "python -m http.server ..." with Firefox, Chrome and Edge.
When served with a server over https from a Webspace it runs fine with Firefox, but not with Edge and Chrome.
I get the following error in Chrome:
Any ideas?
Wolfram
The text was updated successfully, but these errors were encountered: