payload problem?

335 views
Skip to first unread message

Mariano Patafio

unread,
Dec 10, 2012, 6:52:42 PM12/10/12
to apns...@googlegroups.com
Probably my problem isn't caused by host but for some char and escape error, here's my log:

Tue, 11 Dec 2012 00:52:20 +0100 ApnsPHP[16174]: INFO: Trying ssl://gateway.push.apple.com:2195... Tue, 11 Dec 2012 00:52:21 +0100 ApnsPHP[16174]: INFO: Connected to ssl://gateway.push.apple.com:2195. Tue, 11 Dec 2012 00:52:21 +0100 ApnsPHP[16174]: INFO: Sending messages queue, run #1: 1 message(s) left in queue. Tue, 11 Dec 2012 00:52:21 +0100 ApnsPHP[16174]: STATUS: Sending message ID 1 [custom identifier: Message-Badge-3] (1/3): 45 bytes. Tue, 11 Dec 2012 00:52:21 +0100 ApnsPHP[16174]: ERROR: Unable to send message ID 1: Missing payload (4). Tue, 11 Dec 2012 00:52:21 +0100 ApnsPHP[16174]: INFO: Disconnected. Tue, 11 Dec 2012 00:52:21 +0100 ApnsPHP[16174]: INFO: Trying ssl://gateway.push.apple.com:2195... Tue, 11 Dec 2012 00:52:21 +0100 ApnsPHP[16174]: INFO: Connected to ssl://gateway.push.apple.com:2195. Tue, 11 Dec 2012 00:52:21 +0100 ApnsPHP[16174]: INFO: Sending messages queue, run #2: 1 message(s) left in queue. Tue, 11 Dec 2012 00:52:21 +0100 ApnsPHP[16174]: WARNING: Message ID 1 [custom identifier: Message-Badge-3] has an unrecoverable error (4), removing from queue without retrying... Tue, 11 Dec 2012 00:52:22 +0100 ApnsPHP[16174]: INFO: Disconnected. array(1) { [1]=> array(3) { ["MESSAGE"]=> object(ApnsPHP_Message)#3 (9) { ["_bAutoAdjustLongPayload:protected"]=> bool(true) ["_aDeviceTokens:protected"]=> array(1) { [0]=> string(64) "1fdd9a6ee90bb3a5adc8e006c439d137961fd0cf60c160c3599b6c6058acef0d" } ["_sText:protected"]=> string(26) "Hello APNs-enabled device!" ["_nBadge:protected"]=> int(3) ["_sSound:protected"]=> string(7) "default" ["_bContentAvailable:protected"]=> NULL ["_aCustomProperties:protected"]=> array(2) { ["acme2"]=> array(2) { [0]=> string(4) "bang" [1]=> string(4) "whiz" } ["acme3"]=> array(2) { [0]=> string(4) "bing" [1]=> string(4) "bong" } } ["_nExpiryValue:protected"]=> int(30) ["_mCustomIdentifier:protected"]=> string(15) "Message-Badge-3" } ["BINARY_NOTIFICATION"]=> string(45) " PÆuÓ Ýšné ³¥­Èà Ä9Ñ7– ÐÏ`Á`ÃY›l`X¬ï " ["ERRORS"]=> array(1) { [0]=> array(5) { ["command"]=> int(8) ["statusCode"]=> int(4) ["identifier"]=> int(1) ["time"]=> int(1355183541) ["statusMessage"]=> string(15) "Missing payload" } } } }

Mariano Patafio

unread,
Dec 10, 2012, 7:15:14 PM12/10/12
to apns...@googlegroups.com

Aldo Armiento

unread,
Dec 10, 2012, 8:39:02 PM12/10/12
to apns...@googlegroups.com
I'm sorry, what is the solution?

Thanks,

Aldo 

welco...@gmail.com

unread,
Jan 21, 2013, 2:53:47 AM1/21/13
to apns...@googlegroups.com
i am having same issue payload missing :( any help plz

Sam

unread,
Apr 18, 2013, 5:17:05 AM4/18/13
to apns...@googlegroups.com, welco...@gmail.com
I am facing the same issue with Payload Missing...Can anyone guide me to solve the issue??? On my local machine, it works fine but on live server it showed me the error message mentioned in thread.
Reply all
Reply to author
Forward
0 new messages