Skip to content
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

Fixed "Unable to connect"-Error #112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sebiworld
Copy link

Push notifications could not be sent from server, "Unable to connect to 'tls://gateway.sandbox.push.apple.com:2195":(0)

Push notifications could not be sent from server, "Unable to connect to 'tls://gateway.sandbox.push.apple.com:2195":(0)
@svenluijten
Copy link

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?

@Sebiworld
Copy link
Author

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?

@svenluijten
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants