lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Service worker is not being detected even though it is being installed and works

Open nitinkaveriappa opened this issue 9 years ago • 10 comments

nitinkaveriappa avatar Feb 02 '17 02:02 nitinkaveriappa

possible dupe of #599 or #1296

@nitinkaveriappa do you have any additional information, possibly the URL, to provide? Is it just the offline test that's failing or no detection at all?

patrickhulce avatar Feb 02 '17 17:02 patrickhulce

It was the Has a registered Service Worker test that was failing which seems to be working now. Sorry for the false issue raised.

nitinkaveriappa avatar Feb 02 '17 17:02 nitinkaveriappa

No worries thanks for reporting!

patrickhulce avatar Feb 02 '17 17:02 patrickhulce

I'm also facing the same problem for my site https://www.curlpad.com/

jenkinsshubham avatar Aug 10 '17 11:08 jenkinsshubham

@jenkinsshubham when I navigate to your site there is no installed service worker in the Application panel.

image

patrickhulce avatar Aug 10 '17 17:08 patrickhulce

service worker in my site gets installed after user logs in. And I tried testing after logging in only. screenshot from 2017-08-11 18-07-43

jenkinsshubham avatar Aug 11 '17 12:08 jenkinsshubham

And you only use cookies for authentication (see #1418)? This sounds like a more complicated case then, you should probably file a new issue with as much detail about your setup as possible. If you don't install the service worker on the load of the page that LH makes then it'll be failing the checks (even if it was registered before since we remove all active service workers before loading).

patrickhulce avatar Aug 11 '17 16:08 patrickhulce

Facing the same issue on https://www.oyorooms.com. Can you please help?

image

ShashankJainOYO avatar Sep 19 '17 07:09 ShashankJainOYO

I just checked via Lighthouse test and the site seems to register and detect the service worker. Could you explain more in detail the problem your facing? capture

nitinkaveriappa avatar Sep 19 '17 15:09 nitinkaveriappa

This doesn't ever happen for me. It continues to show service worker not registered.

[image: Inline image 1]

On Tue, Sep 19, 2017 at 8:53 PM, Nitin Kaveriappa Udiyanda Muthanna < [email protected]> wrote:

I just checked via Lighthouse test and the site seems to register and detect the service worker. Could you explain more in detail the problem your facing? [image: capture] https://user-images.githubusercontent.com/6459566/30600181-c74279ba-9d2c-11e7-8656-aeadee8a8120.PNG

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GoogleChrome/lighthouse/issues/1600#issuecomment-330575289, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad1Ej1l3ujgMksf-UbpBiycU1cdPDLqpks5sj9xsgaJpZM4L0o2q .

-- Regards,

Shashank Jain Engineering Manager, Consumer Web and Mobile Web +91 7838370102 | [email protected] [image: https://www.facebook.com/shashank.jain89] https://www.facebook.com/shashank.jain89 https://www.linkedin.com/in/shashankjain89/ https://twitter.com/shashank89jain https://play.google.com/store/apps/details?id=com.oyo.consumer https://itunes.apple.com/us/app/oyo-rooms/id988141624?mt=8

ShashankJainOYO avatar Sep 21 '17 07:09 ShashankJainOYO