4
我一直从我的PHP代码中收到这个错误消息,用于发送消息到APNS ...有没有人遇到同样的问题?错误使用PHP的iPhone APNS
Warning: stream_socket_client() [function.stream-socket-client]: SSL operation
failed with code 1. OpenSSL Error messages: error:14094410:SSL routines:
SSL3_READ_BYTES:sslv3 alert handshake failure in
/Library/WebServer/Documents/anish/apns/2.php on line 8
Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable
crypto in /Library/WebServer/Documents/anish/apns/2.php on line 8
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect
to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in /Library/WebServer
/Documents/anish/apns/2.php on line 8
Failed to connect: 0
Warning: fclose(): supplied argument is not a valid stream resource in
/Library/WebServer/Documents/anish/apns/2.php on line 20*
此外,它似乎总是无法连接到gateway.sandbox.push.apple.com。我甚至用PushMeBaby尝试过,并且它也无法连接到网关.soundbox.push.apple.com
给出证书的正确路径 – rajesh 2011-08-23 07:08:22