DOMException: registration failed - could not connect to push server.

8 views
Skip to first unread message

Ольга Горбатюк

unread,
Dec 5, 2024, 7:05:16 AM12/5/24
to service-worker-discuss
Good day,
When I try to subscribe, I get an error like in the subject.

registration.pushManager.subscribe({
    userVisibleOnly: true,
    applicationServerKey: urlB64ToUint8Array('BIzwHJzJXHkqjncpDVSZGbwbbIvoHT6LH4Z6oIpFwiZyArDPeHMuuQzWo_ncBWzidBhAvI_mh7QWrSndRnaneCE')
})

There is another question. I am trying to create notifications on a local network without access to the external Internet. Is it possible to do this?

Ольга Горбатюк

unread,
Dec 5, 2024, 7:06:33 AM12/5/24
to service-worker-discuss, Ольга Горбатюк
English version

Good afternoon,

When I try to subscribe, I get an error like in the subject.

There is another question. I am trying to create notifications on a local network without access to the external Internet. Is it possible to do this?

четверг, 5 декабря 2024 г. в 15:05:16 UTC+3, Ольга Горбатюк:
Reply all
Reply to author
Forward
0 new messages