Erro - push notification

14 views
Skip to first unread message

murilo_lisboa

unread,
Apr 20, 2011, 2:31:46 PM4/20/11
to Xcode Dev
Não estou conseguindo enviar o push notification. Qual seria
o valor de $passPhrase no arquivo apns.php?

a pagina retorna isso:


message {"aps":{"alert":"Teste menssagem","badge":
9,"sound":"default"}}


Warning: stream_socket_client() [function.stream-socket-client]:
unable to connect to ssl://gateway.sandbox.push.apple.com:2195
(Connection timed out) in /home/th53151/public_html/push/apns.php on
line 26

Warning: fwrite(): supplied argument is not a valid stream resource in
/home/th53151/public_html/push/apns.php on line 30
Failed to connect 110 Connection timed out

Retorno
Warning: fclose(): supplied argument is not a valid stream resource in
/home/th53151/public_html/push/apns.php on line 40

ferbass

unread,
Apr 21, 2011, 9:42:04 PM4/21/11
to Xcode Dev
Amigo vc configurou tudo certinho? colocou as chaves de permissão?


Abraço,

On Apr 20, 3:31 pm, murilo_lisboa <marcosmurilolis...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages