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

38 views
Skip to first unread message

Hiroki Nakagawa

unread,
Jan 30, 2017, 10:15:55 AM1/30/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)

2017-01-26 13:56 GMT-08:00 Sony Mathew <ynos...@gmail.com>:
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.?

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

Reply all
Reply to author
Forward
0 new messages