web-push-libs / web-push-php

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

Uncompressed Key #337

Closed asivaneswaran closed 6 months ago

asivaneswaran commented 3 years ago

NOTE: Please test in a least two browsers (i.e. Chrome and Firefox). This helps with diagnosing problems quicker.

Please confirm the following:

Setup

Please provide the following details, the more info you can provide the better.

Please check that you have installed and enabled these PHP extensions :

Please select any browsers that you are experiencing problems with:

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

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.