gavla / apns-php

Automatically exported from code.google.com/p/apns-php
0 stars 0 forks source link

Production: Unable to connect to 'ssl://gateway.push.apple.com:2195': #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use production certificates
2. Try to use sample_push.php

What is the expected output? What do you see instead?
ERROR: Unable to connect to 'ssl://gateway.push.apple.com:2195':  (0)

What version of the product are you using? On what operating system?
r060
Mac OS X
Apache
PHP 5.3.3

Please provide any additional information below.
Sandbox requests works just fine.

Original issue reported on code.google.com by e.pt...@gmail.com on 6 Dec 2010 at 10:59

GoogleCodeExporter commented 8 years ago
Hi,

I have the same problem on Ubuntu 10.04.1 LTS.

PHP 5 Version: 5.3.2-1ubuntu4.5

Original comment by philipp....@gmail.com on 6 Dec 2010 at 11:15

GoogleCodeExporter commented 8 years ago
Has anybody figured out a solution to this?

Original comment by okuy...@gmail.com on 10 Dec 2010 at 10:38

GoogleCodeExporter commented 8 years ago
No, was forced to build my own class for use in a critic production. But if 
this gets fixed, we'll go back!

Original comment by e.pt...@gmail.com on 10 Dec 2010 at 11:14

GoogleCodeExporter commented 8 years ago
To solve this issue disable the verification of the Apple remote peer or see 
[http://code.google.com/p/apns-php/wiki/CertificateCreation#Verify_peer_using_En
trust_Root_Certification_Authority] #3: usage of different Entrust Root 
Certificates for the Sandbox or the Production environment.

Original comment by aldo.arm...@gmail.com on 10 Dec 2010 at 7:44