Severity: Warning
Message: fwrite() [function.fwrite]: SSL: Broken pipe
Filename: libraries/apn.php
Line Number: 206
Severity: Warning
Message: stream_socket_client() [function.stream-socket-client]: SSL: connection timeout
Filename: libraries/apn.php
Line Number: 81
Severity: Warning
Message: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto
Filename: libraries/apn.php
Line Number: 81
Severity: Warning
Message: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error)
Filename: libraries/apn.php
Line Number: 81
토큰중에서 invalid한 토큰일 경우 애플에서 접속을 끊는 것이라고 하네요.
http://stackoverflow.com/questions/2626054/get-ssl-broken-pipe-error-when-try-to-make-push-notification
에러 났을 때 예외처리로 하시거나 warning은 무시할 수도 있는 것이라 에러메세지가 안나타나도록 해도 됩니다.
단, 해당 토큰은 삭제를 하거나 삭제된 것으로 필드 처리를 하여 다음 번에 발송되지 않도록 해야겠죠.