[Aerogear-users] iOS Push issue when having multiple Installations

Bourillon, Matthias Matthias.Bourillon at saint-gobain.com
Mon Jun 20 12:10:45 EDT 2016


Hello Matthias,
Last week we migrated from 1.0.0 to 1.1.0.
Today, after a Push Notification got sent, we had following errors in logs :

16:53:11,978 WARN  [com.notnoop.apns.internal.ApnsConnectionImpl] (MonitoringThread-1) Received error for message that wasn't in the cache...
16:53:11,978 WARNING [org.jboss.aerogear.unifiedpush.message.sender.APNsPushNotificationSender] (MonitoringThread-1) Internal cache size exceeded, new size is: 150
16:53:11,978 SEVERE [org.jboss.aerogear.unifiedpush.message.sender.APNsPushNotificationSender] (MonitoringThread-1) Error sending payload to APNs server: com.notnoop.exceptions.ApnsDeliveryErrorException: Failed to deliver notification with error code 8
                at com.notnoop.apns.internal.ApnsConnectionImpl$2.run(ApnsConnectionImpl.java:199) [apns-1.0.0.Beta6.jar:]
                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]

Does this means some invalid tokens were found?
In that case, do they get deleted from Installations and is the Push server able to recover by himself and send other push to other tokens?
Or do we need to re-send the message again ?

Thanks,
Matthias


De : aerogear-users-bounces at lists.jboss.org [mailto:aerogear-users-bounces at lists.jboss.org] De la part de Matthias Wessendorf
Envoyé : lundi 6 juin 2016 12:40
À : aerogear-users at lists.jboss.org
Objet : Re: [Aerogear-users] iOS Push issue when having multiple Installations

I think yes, the problem was the a mix of tokens for different profiles (e.g. dev vs. prod)

-M

On Mon, Jun 6, 2016 at 11:32 AM, Bourillon, Matthias <Matthias.Bourillon at saint-gobain.com<mailto:Matthias.Bourillon at saint-gobain.com>> wrote:
Matthias,
Does the behaviour I described makes sense?
In 1.0.0, if one of the token is invalid, can it block the whole push sending to other tokens?

Matthias

De : aerogear-users-bounces at lists.jboss.org<mailto:aerogear-users-bounces at lists.jboss.org> [mailto:aerogear-users-bounces at lists.jboss.org<mailto:aerogear-users-bounces at lists.jboss.org>] De la part de Matthias Wessendorf
Envoyé : lundi 6 juin 2016 11:20
À : aerogear-users at lists.jboss.org<mailto:aerogear-users at lists.jboss.org>
Objet : Re: [Aerogear-users] iOS Push issue when having multiple Installations

Hi,

I think you are hitting a a bug. in the 1.1.0 series we did add a catch for reported invalid tokens:
https://github.com/aerogear/aerogear-unifiedpush-server/commit/a44773a8dba1d9ce57a99de2dc11463f16e8e79f

-Matthias

On Mon, Jun 6, 2016 at 11:14 AM, Bourillon, Matthias <Matthias.Bourillon at saint-gobain.com<mailto:Matthias.Bourillon at saint-gobain.com>> wrote:
Hello,
We are facing an issue while using Aerogear Push Server with an iOS variant.
Here is the scenario :

1.       We have 89 installations registered against an iOS Production Variant

2.       We send a message

3.       No one receive the message on our iOS App

4.       We disable ALL installations but 1

5.       We send a message

6.       The 1 device receives the push notification and works as expected

We have other iOS variants with thousands of registrations working without any problem like this.

Can the number of registered device impact the sending behavior? Can a wrong token or anything else block the notification sending to Apple? Logs do not seem to complain about any particular issue.
We are using Aerogear Push Server 1.0.0.

Thanks,
Matthias

_______________________________________________
Aerogear-users mailing list
Aerogear-users at lists.jboss.org<mailto:Aerogear-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/aerogear-users



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf

_______________________________________________
Aerogear-users mailing list
Aerogear-users at lists.jboss.org<mailto:Aerogear-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/aerogear-users



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160620/614eb4b6/attachment-0001.html 


More information about the Aerogear-users mailing list