edamov / pushok

PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key)
MIT License
368 stars 119 forks source link

Random "Send failure: Broken pipe" error #173

Open iworker opened 2 months ago

iworker commented 2 months ago

Hello everyone,

Sometimes when I send push notifications, I receive a Send failure: Broken pipe error. This doesn't always happen, but it's frequent enough to be concerning.

It seems to occur more often when we're sending a lot of notifications at once:

image

PHP version: 8.2.15 Laravel version: 10.33.0 laravel-notification-channels/apn version: 5.0.0 Pushok version: 0.15.6

Any advice or suggestions on how to address this would be greatly appreciated. Thank you!