Edujugon / PushNotification

PHP and Laravel Package to send push notifications to Android and IOS devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ErrorException

rajkumar-patidar opened this issue · comments

stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired in /vendor/edujugon/push-notification/src/Apn.php:184

Hi @rajkumar-patidar ,
As your message exposes, the issue is related to your certificate. it has expired.

Hello,
How i can disable this error using Config file when sending IOS notification PHP terminate script and showing fatal error. Please how i can disable this error using config level?

In order to solved that issue, you should release a new certificate.
If that wasn't possible, maybe wrapping the send call in a try/catch you could handle the error so it wouldn't end up in a server error.