-
Notifications
You must be signed in to change notification settings - Fork 260
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: tls://gateway.push.apple.com:2195 #174
Comments
Same error |
Same error on ubuntu 16 |
I just solved this; my dev certificate had expired. I suggest using fastlane pem to renew your cert. I had spent half a day on this and fixed it in 15 minutes when I decided to just renew all of my certs. |
Thank you @tvillafane it worked for me, didn't know about fastlane and it really speeds up the process |
Same error using Homestead. Unable to connect: tls://gateway.sandbox.push.apple.com:2195: 2 (stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: Will check certificates and report back. |
The certificate that i use is valid. It seems like it's not enough to give the path to the certificate in the config. In addition the certificate needs to be installed on the server it seems. I will do that and report back. |
Yes, your cert has to live on your server. |
"Has to live"....as in "installed on the server", yes? |
it's of course located on the server, with the correct chmod. |
any other suggestions? |
@martinhschei |
turns out that those that had made the certificate had made an error. the certificate was valid (not expired), but it was merged in a way that made it fail the authentication on the push server. with the correct certificate it works fine. |
@martinhschei is this correct way? Please help me out |
Do you get any error messages? I did not generate the certificate myself, i just used it in a application. Here is how to do it: |
Unable to connect: tls://gateway.push.apple.com:2195: 2 (stream_socket_client(): Unable to set local cert chain file `Certif/ainayatiPush12.p12'; Check that your cafile/capath settings include details of your certificate and its issuer) |
[ZendService\Apple\Exception\RuntimeException]
Unable to connect: tls://gateway.push.apple.com:2195: 2 (stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error)
The text was updated successfully, but these errors were encountered: