Service Worker Registration - DOMException: Registration failed - could not retrieve the public key

944 views
Skip to first unread message

Sony Mathew

unread,
Jan 30, 2017, 12:54:26 AM1/30/17
to service-worker-discuss
In one of my devices (Chrome 55) I'm getting this error while registering the service worker. 

DOMException: Registration failed - could not retrieve the public key

But when I test it in other devices having Chrome 55, it works just fine. Can anybody throw some light on the cause of this error or in general in what situation this error is thrown.?

Hiroki Nakagawa

unread,
Jan 31, 2017, 2:34:57 PM1/31/17
to Sony Mathew, service-worker-discuss, push-notifi...@chromium.org
Hi,

This error message seems to be thrown from Push API when it’s failed to retrieve an encryption key. I'm not sure how this happen and how you can fix this (CC: push-notifications-dev)

--
You received this message because you are subscribed to the Google Groups "service-worker-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to service-worker-discuss+unsub...@chromium.org.
To post to this group, send email to service-worker-discuss@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/service-worker-discuss/62a0689b-8237-444b-a711-4144b1fcfd83%40chromium.org.

Sony Mathew

unread,
Jan 31, 2017, 7:35:40 PM1/31/17
to service-worker-discuss

Hi Hiroki,

Thanks for the reply. Sorry that I posted the same question twice in the forum.


Regards,
Sony
Reply all
Reply to author
Forward
0 new messages