web-push-php
web-push-php copied to clipboard
Uncompressed Key
NOTE: Please test in a least two browsers (i.e. Chrome and Firefox). This helps with diagnosing problems quicker.
Please confirm the following:
- [X ] I have read the README entirely
- [ X] I have verified in the issues that my problem hasn't already been resolved
Setup
Please provide the following details, the more info you can provide the better.
- Operating System: <OS X>
- PHP Version: <8.0>
- web-push-php Version: <1.0.0>
Please check that you have installed and enabled these PHP extensions :
- [x ] gmp
- [ x] mbstring
- [ x] curl
- [ x] openssl
Please select any browsers that you are experiencing problems with:
- [x ] Chrome
- [ x] Firefox
- [ ] Firefox for Mobile
- [ ] Opera for Android
- [ ] Samsung Internet Browser
- [ ] Other
Please specify the versions (i.e. Chrome Beta, Firefox Beta etc).
Problem
When trying to send the notification, I am getting an error: "Invalid data: only uncompressed keys are supported."
Expected
The notification to be sent
Features Used
- [ x] VAPID Support
- [ x] Sending with Payload
Example / Reproduce Case
I have pretty much the same code as referenced here: https://github.com/web-push-libs/web-push-php/issues/12#issuecomment-637545233
Other
Please put any remaining notes here.