[Aerogear-users] Problems to deliver PushNotification to all configured variants

Christoph Kettler seykota at gmx.net
Fri Mar 2 10:25:18 EST 2018


Hello AG-Team,

we are currently confrontet with serious problems regarding the delivery of
push messages to variants/devices.

Our system is running Aerogear UnifiedPush Server V1.2.0 on a Wildfly
10.1.0.final.

We have currently 11 Variants in an Application, and are pushing against
this Application. According to the log file (see below), all variants shall
be processed by the server. However, this is not true.

The configuration for "App <-> PushServer (Variant)" and for "PushService
(Google FCM) <-> PushServer" ist valid for each. 
We are able to sent a PushNotification directly from the Firebase console to
the app, and also directly from the AeroGear UI using "Send Notification To
This App". The PushNotifications will always be delivered.

Here is a listing from the Logging. You can see in the first line that the
server prepare for 11 Variants, but only 6 are handled:

2018-02-02 12:27:32,862 INFO 
[org.jboss.aerogear.unifiedpush.message.token.TokenLoader] (Thread-5
(ActiveMQ-client-global-threads-1362505470)) Preparing message delivery and
loading tokens for the ANDROID 3rd-party Push Network (for 11 variants)
// push for 11 variants, fits with the configuration in the application

2018-02-02 12:27:32,871 INFO 
[org.jboss.aerogear.unifiedpush.message.NotificationDispatcher] (Thread-4
(ActiveMQ-client-global-threads-1362505470)) Received UnifiedPushMessage
from JMS queue, will now trigger the Push Notification delivery for the
android variant (1a954f3a-xxxx-xxxx-xxxx-xxxxXXXXxxxx)
//variant no. 1/11

2018-02-02 12:27:32,871 INFO 
[org.jboss.aerogear.unifiedpush.message.sender.FCMPushNotificationSender]
(Thread-4 (ActiveMQ-client-global-threads-1362505470)) Sent push
notification to FCM topic: /topics/1a954f3a-xxxx-xxxx-xxxx-xxxxXXXXxxxx

2018-02-02 12:27:32,879 INFO 
[org.jboss.aerogear.unifiedpush.message.token.TokenLoader] (Thread-5
(ActiveMQ-client-global-threads-1362505470)) Loaded batch #1, containing 1
tokens, for android variant (1a954f3a-xxxx-xxxx-xxxx-xxxxXXXXxxxx)

2018-02-02 12:27:32,898 INFO 
[org.jboss.aerogear.unifiedpush.message.NotificationDispatcher] (Thread-10
(ActiveMQ-client-global-threads-1362505470)) Received UnifiedPushMessage
from JMS queue, will now trigger the Push Notification delivery for the
android variant (2bced2f9-xxxx-xxxx-xxxx-xxxxXXXXxxxx)
//variant no. 2/11

2018-02-02 12:27:32,898 INFO 
[org.jboss.aerogear.unifiedpush.message.token.TokenLoader] (Thread-5
(ActiveMQ-client-global-threads-1362505470)) Loaded batch #7, containing 25
tokens, for android variant (2bced2f9-xxxx-xxxx-xxxx-xxxxXXXXxxxx)

2018-02-02 12:27:32,898 INFO 
[org.jboss.aerogear.unifiedpush.message.sender.FCMPushNotificationSender]
(Thread-10 (ActiveMQ-client-global-threads-1362505470)) Sent push
notification to FCM Server for 25 registrationIDs

2018-02-02 12:27:32,915 INFO 
[org.jboss.aerogear.unifiedpush.message.NotificationDispatcher] (Thread-14
(ActiveMQ-client-global-threads-1362505470)) Received UnifiedPushMessage
from JMS queue, will now trigger the Push Notification delivery for the
android variant (3c4dc8c3-xxxx-xxxx-xxxx-xxxxXXXXxxxx)
//variant no. 3/11

2018-02-02 12:27:32,916 INFO 
[org.jboss.aerogear.unifiedpush.message.sender.FCMPushNotificationSender]
(Thread-14 (ActiveMQ-client-global-threads-1362505470)) Sent push
notification to FCM Server for 9 registrationIDs

2018-02-02 12:27:32,924 INFO 
[org.jboss.aerogear.unifiedpush.message.token.TokenLoader] (Thread-5
(ActiveMQ-client-global-threads-1362505470)) Loaded batch #9, containing 9
tokens, for android variant (3c4dc8c3-xxxx-xxxx-xxxx-xxxxXXXXxxxx)

2018-02-02 12:27:32,929 INFO 
[org.jboss.aerogear.unifiedpush.message.NotificationDispatcher] (Thread-12
(ActiveMQ-client-global-threads-1362505470)) Received UnifiedPushMessage
from JMS queue, will now trigger the Push Notification delivery for the
android variant (4d1799d9-xxxx-xxxx-xxxx-xxxxXXXXxxxx)
//variant no. 4/11

2018-02-02 12:27:32,929 INFO 
[org.jboss.aerogear.unifiedpush.message.sender.FCMPushNotificationSender]
(Thread-12 (ActiveMQ-client-global-threads-1362505470)) Sent push
notification to FCM Server for 11 registrationIDs

2018-02-02 12:27:32,931 INFO 
[org.jboss.aerogear.unifiedpush.message.token.TokenLoader] (Thread-5
(ActiveMQ-client-global-threads-1362505470)) Loaded batch #12, containing 11
tokens, for android variant (4d1799d9-xxxx-xxxx-xxxx-xxxxXXXXxxxx)

2018-02-02 12:27:32,939 INFO 
[org.jboss.aerogear.unifiedpush.message.NotificationDispatcher] (Thread-9
(ActiveMQ-client-global-threads-1362505470)) Received UnifiedPushMessage
from JMS queue, will now trigger the Push Notification delivery for the
android variant (5e2ef234-xxxx-xxxx-xxxx-xxxXXXxxx)
//variant no. 5/11

2018-02-02 12:27:32,940 INFO 
[org.jboss.aerogear.unifiedpush.message.sender.FCMPushNotificationSender]
(Thread-9 (ActiveMQ-client-global-threads-1362505470)) Sent push
notification to FCM Server for 10 registrationIDs

2018-02-02 12:27:32,940 INFO 
[org.jboss.aerogear.unifiedpush.message.token.TokenLoader] (Thread-5
(ActiveMQ-client-global-threads-1362505470)) Loaded batch #14, containing 10
tokens, for android variant (5e2ef234-xxxx-xxxx-xxxx-xxxXXXxxx)

2018-02-02 12:27:32,945 INFO 
[org.jboss.aerogear.unifiedpush.message.NotificationDispatcher] (Thread-2
(ActiveMQ-client-global-threads-1362505470)) Received UnifiedPushMessage
from JMS queue, will now trigger the Push Notification delivery for the
android variant (6fe1c2b9-xxxx-xxxx-xxxx-xxxxXXXXxxxx)
//variant no. 6/11

2018-02-02 12:27:32,946 INFO 
[org.jboss.aerogear.unifiedpush.message.sender.FCMPushNotificationSender]
(Thread-2 (ActiveMQ-client-global-threads-1362505470)) Sent push
notification to FCM Server for 3 registrationIDs

2018-02-02 12:27:32,946 INFO 
[org.jboss.aerogear.unifiedpush.message.token.TokenLoader] (Thread-5
(ActiveMQ-client-global-threads-1362505470)) Loaded batch #16, containing 3
tokens, for android variant (6fe1c2b9-xxxx-xxxx-xxxx-xxxxXXXXxxxx)
// logging ends here


Any known issues on that? Or, is there an "upper limit" for variants within
an application which should not be exceeded and maybe it can be configurated
to scale upwards?

Thanks for any help and feedback.

Best regards,
Chris




--
Sent from: http://aerogear-users.1116366.n5.nabble.com/


More information about the Aerogear-users mailing list