페이로드 데이터를 보내는 동안 PHP 스크립트에서이 오류가 발생합니다.서버 스크립트의 APN 오류
Warning: stream_socket_client() [function.stream-socket-client]:
Unable to set private key file `/Applications/XAMPP/xamppfiles/htdocs/test/apn/apns-dev.pem'
in /Applications/XAMPP/xamppfiles/htdocs/test/apn/push.php on line 42
Warning: stream_socket_client() [function.stream-socket-client]:
failed to create an SSL handle
in /Applications/XAMPP/xamppfiles/htdocs/test/apn/push.php on line 42
Warning: stream_socket_client() [function.stream-socket-client]:
Failed to enable crypto
in /Applications/XAMPP/xamppfiles/htdocs/test/apn/push.php on line 42
Warning: stream_socket_client() [function.stream-socket-client]:
unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error)
in /Applications/XAMPP/xamppfiles/htdocs/test/apn/push.php on line 42
왜 그럴까요? 설정을 변경해야합니까? 또한 .pem 파일을 서버에 설치했습니다.
감사
나는'telnet gateway.sandbox.push.apple.com 2195'을 시도했는데 외국 호스트에 의해 계속 닫혀있다. –