-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unable to connect to 'ssl://gateway.sandbox.push.apple.com:2195': (0) #1
Comments
Pem file is invalid or the port is blocked |
Thanks for the reply. |
Do I need to set 'ProviderCertificatePassphrase' and 'RootCertificationAuthority' in 'options' section in 'main.php' ? |
you can try it. i'm not sure.. all I did is to create a Wrapper for Yii framework using https://github.com/duccio/ApnsPHP/ |
Just in case someone stumbles across this, calling setProviderCertificatePassphrase worked for me, after combining my cert and key files as described here http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1 under the "Making a PEM File" section. |
I am now closing this issue. it looks like that the issue is because of the PEM file and not the library itself |
Error when trying Yii::app()->apns->send() method.
Tried to use solution from here - immobiliare/ApnsPHP#29
It didn't work for me.
The text was updated successfully, but these errors were encountered: