-
Notifications
You must be signed in to change notification settings - Fork 117
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
SSL related errors when trying to add service worker #347
Comments
You shouldn't need SSL anymore, as |
Thanks Mike - love all your courses by the way! |
@gigamesh do you have any errors in your terminal? I would try to run the app on At the time we recorded this course there were some nasty chrome bugs that required each student to generate a self-signed certificate, but as far as I can tell they've all been straightened out. |
|
@mike-north I am not sure if this is related but I am going step by step by README.MD but getting Privacy Error on localhost:3000 Certificate is invalid, not trusted. I tried to delete whole project and do it again and again but not use. |
@tymochko you can get around this chrome error by typing |
I am also experiencing some trouble with this. For me, it does not work on Chrome. Interestingly, Chrome marks the certificate as "Invalid", even though it seems valid when you inspect it: This leads to an error when I try to register the SW:
I wonder if this might have something to do with the certificate validity being too long? Anyway, it does seem to work in Safari, and the SW registration was successful there. |
Hello - I'm up to the service worker section of the course, but I'm running into these errors when adding the service worker:
Relevant code in index.js:
I have Chrome set to not require SSL on localhost, but it still seems to be asking for a certificate. This is what it looks like when I comment out the above code:
Any ideas how to fix this?
The text was updated successfully, but these errors were encountered: