web-push-libs / web-push-php

Web Push library for PHP
MIT License
1.69k stars 295 forks source link

Hi, I have the same problem, the web push notifications for edge #348

Closed raulfdeztdo closed 6 months ago

raulfdeztdo commented 2 years ago

Hi, I have the same problem, the web push notifications for chrome and for firefox are sent without problem, however for Edge they do not arrive and I get the following error back:

Client error: POST https://wns2-db5p.notify.windows.com/w/?token=BQYAAADuof2gokJoLSVIKIfsv0zYCQE2FwGAEXcrhE5k9Z%2f5NvhkH%2ffAVvW41p31sJ1hRqHhvN3Eya4Ax6g9vECDaJWeJzmvKB8h8Qb68yB%2blp4L6W%2bMtybken0cdIAcPfTwJt%2b5G%2foh4VDc%2fA%2biTxl%2frnDESRIsSnlFIiKnp38PZiuwsjsdr0D%2f2e7UbTXQyFQhFiGvy1YM2tPjZ5UfyYmeuc0bxfpB9MFvztXt%2fskVVWAXNyIbH9CR2L%2ble5hTwAC93XGZBBgf8Vi%2bVHkv%2fbkKoHhkTfbyHpS0n5VvYafr5L2p87Ruf24EqMOrXz94trgsxY805F0KKHG9mIsrEBIb%2fKol resulted in a 406 Not Acceptable response

Any solution?

I use Microsoft Edge - Versión 98.0.1108.50 (Compilación oficial) (64 bits)

Originally posted by @raulfdeztdo in https://github.com/web-push-libs/web-push-php/issues/335#issuecomment-1040572594

s0xDk commented 1 year ago

https://learn.microsoft.com/en-us/answers/questions/940324/406-not-acceptable-may-be-returned-when-sending-a.html