mwkirk / javapns

Test import of svn javapns repo from Google Code
3 stars 0 forks source link

Duplicate sending #161

Open mwkirk opened 11 years ago

mwkirk commented 11 years ago

Original author: zephyr....@gmail.com (December 26, 2012 11:00:05)

Today many users complain that receive duplicated notifications after several hours.

2012-12-26 09:37:10 [javapns.notification.PushNotificationManager]-[DEBUG(JavaPNS standalone notification thread in QUEUE mode)] Reading responses 2012-12-26 09:37:10 [javapns.notification.PushNotificationManager]-[DEBUG(JavaPNS standalone notification thread in QUEUE mode)] Found 115 notifications that must be re-sent

Server run at Linux.

Original issue: http://code.google.com/p/javapns/issues/detail?id=161

mwkirk commented 11 years ago

From zephyr....@gmail.com on December 26, 2012 11:24:20

2012-12-26 09:37:14 [javapns.notification.PushNotificationManager]-[DEBUG(JavaPNS standalone notification thread in QUEUE mode)] Found 0 notifications that must be re-sent 2012-12-26 09:37:14 [javapns.notification.PushNotificationManager]-[DEBUG(JavaPNS standalone notification thread in QUEUE mode)] No notifications remaining to be resent

2012-12-26 09:37:47 [javapns.notification.PushNotificationManager]-[DEBUG(JavaPNS standalone notification thread in QUEUE mode)] Reading responses 2012-12-26 09:37:47 [javapns.notification.PushNotificationManager]-[DEBUG(JavaPNS standalone notification thread in QUEUE mode)] Found 115 notifications that must be re-sent

mwkirk commented 11 years ago

From sype...@gmail.com on February 05, 2013 19:43:37 The "automatic re-send" feature was created to deal with a rather strange APNS behavior that was observed a long time ago: during a given connection, any invalid push notification that triggers an error-response packet apparently causes APNS to stop processing all push notifications streamed after that first invalid one. Thus, if an error-response packet was received, we would have to try again all following notifications.

See http://code.google.com/p/javapns/issues/detail?id=69

If Apple changed the behavior recently, this would have to be confirmed and our re-send feature would have to be disabled.

mwkirk commented 11 years ago

From sype...@gmail.com on March 01, 2013 17:20:54 Are you still experiencing this issue? or is anyone else experiencing it?