-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel 7.3 - PHP 7.2 - APN 2.3 - Not working #118
Comments
I'm not sure if it's related, but I suddenly started getting errors in production 7 days ago. Occurs in
Laravel 8.2.1 Not sure if it's worth noting - my server is on AWS EC2 as well (provisioned by Forge). |
It is related and I had the same issue when I manually updated the package to the latest version. And then based on pushok issue thread I found this: edamov/pushok#121 (comment) But I would like to find out the exact reason and how to fix it in a right way rather than hacking it. |
I had the same problem -> No notifications on production (local was doing fine), so I upgraded to the lastest version of apn (3.2). Now i see the error:
I use LetsEncrypt SSL, I am wondering if something changed regarding that. |
I have had issues with this recently and I have resolved it by updating the trusted certificate in linux. It seems that the required trusted cert which is needed to verify secure connections between server and push notification service has been removed. The removal of this certificate was due to a linux unattended upgrade and putting the cert back in place has resolved the issue immediately. Running this on the server should replace the certificate:
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962596 for the reported bug. @kniyer007 This solution is much better than disabling the ssl verification. Disabling it would be insecure. |
I am experiencing same problem. No Push Notifications got fired from production. Getting following error in laravel.log: SSL certificate problem: unable to get local issuer certificate {"exception":"[object] (Exception(code: 0): SSL certificate problem: unable to get local issuer certificate at /home/forge/my-app/vendor/edamov/pushok/src/Client.php:161) |
I have Laravel 8.0 and APN 3.3 I have no errors but pushes not sended. In Pushok client $responseCollection is empty after pushes send. ==================== up: |
Sir i tried updating but it sayd the resource was not found at that geotrust url do u have working certificate? |
Try this GeoTrust_Global_CA.pem
|
@andrew-bibby sir i am using https://github.com/davibennun/laravel-push-notification/ but push notification doesn't go to ios device any more i even installed the certificate you provided but it didn't sent push |
you use 6 years old package that uses different APNS type. |
I have a AWS EC2 instance running a Laravel 7.3 application with Laravel notification APN channel (2.3). Up until two weeks back the push notifications were working just fine. But now it is not working. I'm not getting any errors and the push notification requests are processed from the server but push notifications are not getting delivered. Can anyone guide me what could be the reason?
FYI: I haven't made any server side or code level changes within the last two weeks.
The text was updated successfully, but these errors were encountered: