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