Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Crash when reading APNS response
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jerome Lanquetot  
View profile  
 More options May 21 2012, 2:11 am
From: Jerome Lanquetot <jerome.lanque...@gmail.com>
Date: Sun, 20 May 2012 23:11:03 -0700 (PDT)
Local: Mon, May 21 2012 2:11 am
Subject: Crash when reading APNS response

Hi,

I have the push notification working, but if I change the state of the iOS
app to not receive any notification anymore, easyapns is crashing at the
following location

PHP Warning:  unpack() [<a href='function.unpack'>function.unpack</a>]:
Type N: not enough input, need 4, have 0 in
/aspns_hs/classes/class_APNS.php on line 548
PHP Warning:  implode() [<a href='function.implode'>function.implode</a>]:
Invalid arguments passed in /aspns_hs/classes/class_APNS.php on line 548
PHP Notice:  APNS responded with command(0) status(0) pid().

1) APNS::processQueue -> File: samples.php (line 95)
2) APNS::_fetchMessages -> File: class_APNS.php (line 1087)
3) APNS::_iterateMessages -> File: class_APNS.php (line 381)
4) APNS::_pushMessage -> File: class_APNS.php (line 433)
5) APNS::_triggerError -> File: class_APNS.php (line 561)

I have the port 2195 and 2196 only open for outbound connections, I wonder
if that could be the cause of the issue?

Thanks for your help
Jerome


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luke Ollett  
View profile   Translate to Translated (View Original)
 More options Aug 27 2012, 3:34 am
From: Luke Ollett <oll...@gmail.com>
Date: Mon, 27 Aug 2012 00:34:23 -0700 (PDT)
Local: Mon, Aug 27 2012 3:34 am
Subject: Re: Crash when reading APNS response

did you get this resolved? I have the same problem.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Clark  
View profile  
 More options Oct 26 2012, 11:10 am
From: Matthew Clark <maffoocl...@gmail.com>
Date: Fri, 26 Oct 2012 08:10:12 -0700 (PDT)
Local: Fri, Oct 26 2012 11:10 am
Subject: Re: Crash when reading APNS response

Looks like you're not the only one.  And, as usual, the authors are no help
at all.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matthew Clark  
View profile  
 More options Oct 26 2012, 12:20 pm
From: Matthew Clark <maffoocl...@gmail.com>
Date: Fri, 26 Oct 2012 09:20:43 -0700 (PDT)
Local: Fri, Oct 26 2012 12:20 pm
Subject: Re: Crash when reading APNS response

I figured out the problem, and it's not with EasyAPNS at all.  For me, I
didn't export the certificates correctly.  Once I corrected this, the error
went away, and my app receives APNs in sandbox and production again.

I followed steps 6 through 10 the instructions here:
http://code.google.com/p/apns-php/wiki/CertificateCreation


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »