내 서버 (전용 IP가있는 Bluehost 및 tcp 용으로 열리는 포트 2195를 사용하여 apns-php (http://code.google.com/p/apns-php/))를 만들려고합니다. udp 발신).푸시 알림 서버 구현
는이 오류 받고 있어요 :
Fatal error: Uncaught exception 'ApnsPHP_Exception' with message 'Unable to connect to 'ssl://gateway.sandbox.push.apple.com:2195': (0)' in /home2/xxxxx/public_html/xxxxx/pns/ApnsPHP/Abstract.php:352 Stack trace: #0 /home2/xxxxx/public_html/xxxxx/pns/ApnsPHP/Abstract.php(295): ApnsPHP_Abstract->_connect() #1 /home2/xxxxx/public_html/xxxxx/pns/sample_push.php(41): ApnsPHP_Abstract->connect() #2 {main} thrown in /home2/xxxxx/public_html/xxxxx/pns/ApnsPHP/Abstract.php on line 352
내가 Bluehost를 지원팀에 문의를하고 나에게이 이야기 : 이것을 해결하기 위해
Thanks for contacting us. If seems as though the server ssl://gateway.sandbox.push.apple.com:2195* is refusing to accept the connection made from your account. Is there a way you can whitelist your dedicated ip or accept incoming connections on their end?
누군가가 나를 도울 수 있습니까? 어떤 아이디어? 감사!
나를 위해 일한 아래의 잘못, SSL 클라이언트 인증 및 루트 CA에 대한 동일한 인증서를 제공하고 한 일 서버 (Windows 7의 WAMP)가 작동하고 있습니다. – Sebastian
체크 아웃 할 수도 있습니다. https://groups.google.com/forum/#!topic/apns-php/IdzCrxPze7A – Jacksonkr
즉, Entrust Root CA를 사용하여 피어 확인을 사용 중지하고 루트 CA를 다시 확인해야합니다. SSL 클라이언트 인증 및 루트 CA에 대해 동일한 파일을 사용 중일 수 있습니다. – Nish