Open Sebiworld opened 8 years ago
Heyo. We're also running into this issue, but we're actually not sure what's causing it. Do you (still) have some insight about why this might be happening?
Oh. This was a long time ago. All I can say is, that we used the library with the two commented lines of my pull request since then. We have multiple servers that send push notifications with the library. But I cannot explain whats the reason for the error behind it. I think I can remember that setting $this->_sRootCertificationAuthorityFile
which you can get here didn't work for us.
Let me know if the fix still solves the issue - maybe @duccio would merge this request or make it configurable?
This fix does appear to resolve the issue we were having, the errors about connecting to Apple's push platform don't appear in the logs and the notifications seem to be sent like normally now. Thanks!
Push notifications could not be sent from server, "Unable to connect to 'tls://gateway.sandbox.push.apple.com:2195":(0)