OneSignal exported endpoints cause "VAPID public key mismatch" in Firefox v2 push
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Compare the OneSignal-exported Firefox v2 endpoints with the PHP Web Push example linked in the issue, starting with how each handles the VAPID key and endpoint version. Reproduce the 401 response and verify whether setAutomaticPadding(false) changes it. Done means identifying the cause of the VAPID public key mismatch and documenting or fixing the library behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm encountering problem delivering push notifications to Firefox using endpoints exported from OneSignal database.
- Notifications sent to endpoints beginning with
https://updates.push.services.mozilla.com/wpush/v1/are working correctly. - However, endpoints starting with
https://updates.push.services.mozilla.com/wpush/v2/consistently return a401 Unauthorizederror:
{
"code": 401,
"errno": 109,
"error": "Unauthorized",
"message": "VAPID public key mismatch",
"more_info": "http://autopush.readthedocs.io/en/latest/http.html#error-codes"
}
Sending to Chrome and Edge works fine using the same VAPID key. OneSignal claims the VAPID key is the same.
Tried disabling automatic padding via setAutomaticPadding(false), but it had no effect.
PHP Web Push example works fine with the same Firefox for Windows v142.0.1.
What am I overlooking?
- Lingua principale
- PHP
- Stelle
- 1.9k
- Fork
- 312
- Merge medio
- 1g 15h
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di web-push-libs/web-push-php
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
web-push-libs/web-push-php#441 ·
-
Opera push not working? Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
web-push-libs/web-push-php#430 · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
web-push-libs/web-push-php#412 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
web-push-libs/web-push-php#411 · 5 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
web-push-libs/web-push-php#408 · 2 commenti ·
Tutte le issue di web-push-libs/web-push-php
Issue simili
-
tooling
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
UX
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ProfessionalWiki/NeoWiki#1525 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug customer-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MagnaCapax/PMSS#949 ·
-
responsive-media kses allow-list strips clipPathUnits, collapsing objectBoundingBox clip paths Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Automattic/static-site-importer#1829 ·