FAQ
We send daily push notifications(around 80000 to 100000 in number) using
GCM. The users complained that the notifications arrive late, about 12
hours late. So, we changed time_to_live to 0 and delay_while_idle as false.
Even after two weeks of changing these values, the notifications are
reaching very late.

Also the GCM message status in developer console shows more than 50% of
messages in stored state.

Any help or guidance to resolve the issue will be well appreciated

--
You received this message because you are subscribed to the Google Groups "android-gcm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm+unsubscribe@googlegroups.com.
To post to this group, send email to android-gcm@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/f344b539-05a5-4f60-a27e-057acdf5c35d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Costin Manolache at Mar 28, 2014 at 5:54 pm
    Are you seeing messages with TTL=0 that are delivered > 5 min late ? Please
    send me sample message id / registration id for this case.
    TTL=0 should be dropped if the device is not found connected, it would be a
    bug if it is not.

    50% stored is not unusual - it means the device was not connected when the
    message was sent. With a lot of tablets on wifi,
    and phones without network - it is not unexpected.

    Costin

    On Thu, Mar 27, 2014 at 10:39 AM, Abhishek Kumar Gupta wrote:

    We send daily push notifications(around 80000 to 100000 in number) using
    GCM. The users complained that the notifications arrive late, about 12
    hours late. So, we changed time_to_live to 0 and delay_while_idle as false.
    Even after two weeks of changing these values, the notifications are
    reaching very late.

    Also the GCM message status in developer console shows more than 50% of
    messages in stored state.

    Any help or guidance to resolve the issue will be well appreciated

    --
    You received this message because you are subscribed to the Google Groups
    "android-gcm" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to android-gcm+unsubscribe@googlegroups.com.
    To post to this group, send email to android-gcm@googlegroups.com.
    To view this discussion on the web visit
    https://groups.google.com/d/msgid/android-gcm/f344b539-05a5-4f60-a27e-057acdf5c35d%40googlegroups.com<https://groups.google.com/d/msgid/android-gcm/f344b539-05a5-4f60-a27e-057acdf5c35d%40googlegroups.com?utm_medium=email&utm_source=footer>
    .
    For more options, visit https://groups.google.com/d/optout.
    --
    You received this message because you are subscribed to the Google Groups "android-gcm" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm+unsubscribe@googlegroups.com.
    To post to this group, send email to android-gcm@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/CAP8-FqmLr36VrgJ2Mk2k4Lb8RgpAS8hhzs5U%3DoEaYOBeF%3DSjpw%40mail.gmail.com.
    For more options, visit https://groups.google.com/d/optout.
  • Abhishek Kumar Gupta at Mar 31, 2014 at 8:03 am
    Hi Costin Manolache, thanks for the reply. Please find some messages those
    took >5minutes:

    Message 1:
    *Send Time : **2014-03-31 12:06:02*
    Data:{"delay_while_idle":false,"time_to_live":0,"registration_ids":["APA91bGDP1RRS-7m-DeiMJonFoPUvLWk--9gRnySa4SeBBfrO-_Up2C28rMc3CzG7R9TG5mV5DdtWk7QU_k7azCg9B4-Lpi-Xszv3LWS732J4hE3FOB77x2dcllbvytF-bolm13tekQs_cseke2HhZq1CxVZcZz2Eg"],"data":{"message":{"MLP":{"Id":"IN_1","Value":"A
    recruiter has sent you a job
    offer."},"pushId":"10650467","uid":"43a5ef613bd1eb3c5ba3669af105e282f426d223e91af6329f1ca78edb4bc87d"}}}
    Response from
    GCM:{"multicast_id":8435043718794004247,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1396247762729317%88ce056ef9fd7ecd"}]}
    Received At: *2014-03-31 12:24:06*


    Message 2:
    *Send Time : **2014-03-31 12:02:05*
    Data:{"delay_while_idle":false,"time_to_live":0,"registration_ids":["APA91bEPr-FK1g0LAJsJADDhYr6aMOROfnFPVfa7EfPNtkcNapWgEkD6IUTRYZ5YvQOLQfyMFPd1hjEJRvfNY_khIFx1nWlHqY9ik7O-tTEsG-Q9sQ6vEdacvCqCkxrJyj54R83rhNzQnTnzf4UNLBpaellHXV16UA"],"data":{"message":{"MLP":{"Id":"IN_1","Value":"A
    recruiter has sent you a job
    offer."},"pushId":"10650091","uid":"d0b2b9e113063695de9270c87303aa1e0be2e1c2561971a8af635c233958b0b9a797c701d64ea236"}}}
    Response from GCM
    :{"multicast_id":6797307906689570261,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1396247525322905%88ce056ef9fd7ecd"}]}
    *Received At: **2014-03-31 12:24:52*


    Message 3:
    *Send Time**: 2014-03-31 11:36:02*
    Data:{"delay_while_idle":false,"time_to_live":0,"registration_ids":["APA91bH-1eBebliwvcLx6fven0qAELXDJsRPjVA8YdlDXkn_G0GXmRzP3gVute43YRNtXtwGPhzc9YjU-dzqAERIEcdUty6PY6eovVMjxiQ9EBPdmNnn5Of7ZSQChyCf__t-gBQjFRO6Odgj4KaDOYFdT9bvXHUsCw"],"data":{"message":{"MLP":{"Id":"IN_1","Value":"A
    recruiter has sent you a job
    offer."},"pushId":"10644903","uid":"28b72b45787f9a88072f2adbcf9b4edf858cd52063f4fdcc3b63bbb74ecb9040"}}}
    Response from GCM
    :{"multicast_id":4957950410713029653,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1396245962479601%88ce056ef9fd7ecd"}]}
    *Received At: **2014-03-31 12:26:18*


    Message 4:
    *Send Time**: 2014-03-31 11:48:08*
    Data:{"delay_while_idle":false,"time_to_live":0,"registration_ids":["APA91bFmG89JB0Tqeefu5HSDBfOw4IJcu2od0Qi7cfuxWaRtWRiFC1lK9m3o8nHTZL9bgLQ72xthHd3u2AJ3Hqel0psQNMJ7yg_7Xj2p5_HU-3HgdkHpYZu91wW5y4aQfnlPozRqiUMseaMrCOSuvZZHI4Dj3j0-CAMiRCvyzckL_-FGs7IJ8Y4"],"data":{"message":{"MLP":{"Id":"IN_1","Value":"A
    recruiter has sent you a job
    offer."},"pushId":"10647685","uid":"b53048ba36a8986e8b45334b89edec6a4cc8817c427d0cf1076e1a5621fe878a92d2d6ac5f21f68f"}}}
    Response from GCM
    :{"multicast_id":6096679578549763749,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1396246688602402%88ce056ef9fd7ecd"}]}
    *Received At: **2014-03-31 12:26:45*



    Message 5:
    *Send Time**:2014-03-31 10:56:04*
    Data:{"delay_while_idle":false,"time_to_live":0,"registration_ids":["APA91bGlxbCm6emJO9Ls-91JmYhfN94K_EiQFvN1PiPodmJRJokOiVMpIxDEejMiIDp6Pvnu65YH7c4t8L1j10fNvJxUodP3Ffwp01Gd6Ctf7eEk2mJOVgTutX4XxVBkpKnXSqxmcB0a3wXWyvb7dzgd8u6YY7wUFw"],"data":{"message":{"MLP":{"Id":"IN_1","Value":"A
    recruiter has sent you a job
    offer."},"pushId":"10639467","uid":"7c0a21eac9a5d115b5988d5fd8a152e975e590671407a33cb0f2f7784efc5ff2a797c701d64ea236"}}}
    Response from
    GCM:{"multicast_id":6992492474471459467,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1396243564146290%88ce056ef9fd7ecd"}]}
    *Received At: **2014-03-31 12:26:56*

    --
    You received this message because you are subscribed to the Google Groups "android-gcm" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm+unsubscribe@googlegroups.com.
    To post to this group, send email to android-gcm@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/496c9e6b-4e1e-444b-889d-8e3eb69f95dc%40googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Abhishek Kumar Gupta at Mar 31, 2014 at 9:06 am
    Hi Costin Manolache, thanks for the reply. Please find the some of the
    messages those taken >5min:

    Message 1:
    *Send Time : **2014-03-31 12:06:02*
    Data:{"delay_while_idle":false,"time_to_live":0,"registration_ids":["APA91bGDP1RRS-7m-DeiMJonFoPUvLWk--9gRnySa4SeBBfrO-_Up2C28rMc3CzG7R9TG5mV5DdtWk7QU_k7azCg9B4-Lpi-Xszv3LWS732J4hE3FOB77x2dcllbvytF-bolm13tekQs_cseke2HhZq1CxVZcZz2Eg"],"data":{"message":{}
    Response from
    GCM:{"multicast_id":8435043718794004247,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1396247762729317%88ce056ef9fd7ecd"}]}
    Received At: *2014-03-31 12:24:06*


    Message 2:
    *Send Time : **2014-03-31 12:02:05*
    Data:{"delay_while_idle":false,"time_to_live":0,"registration_ids":["APA91bEPr-FK1g0LAJsJADDhYr6aMOROfnFPVfa7EfPNtkcNapWgEkD6IUTRYZ5YvQOLQfyMFPd1hjEJRvfNY_khIFx1nWlHqY9ik7O-tTEsG-Q9sQ6vEdacvCqCkxrJyj54R83rhNzQnTnzf4UNLBpaellHXV16UA"],"data":{"message":{}
    Response from GCM
    :{"multicast_id":6797307906689570261,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1396247525322905%88ce056ef9fd7ecd"}]}
    *Received At: **2014-03-31 12:24:52*


    Message 3:
    *Send Time**: 2014-03-31 11:36:02*
    Data:{"delay_while_idle":false,"time_to_live":0,"registration_ids":["APA91bH-1eBebliwvcLx6fven0qAELXDJsRPjVA8YdlDXkn_G0GXmRzP3gVute43YRNtXtwGPhzc9YjU-dzqAERIEcdUty6PY6eovVMjxiQ9EBPdmNnn5Of7ZSQChyCf__t-gBQjFRO6Odgj4KaDOYFdT9bvXHUsCw"],"data":{"message":{}
    Response from GCM
    :{"multicast_id":4957950410713029653,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1396245962479601%88ce056ef9fd7ecd"}]}
    *Received At: **2014-03-31 12:26:18*


    Message 4:
    *Send Time**: 2014-03-31 11:48:08*
    Data:{"delay_while_idle":false,"time_to_live":0,"registration_ids":["APA91bFmG89JB0Tqeefu5HSDBfOw4IJcu2od0Qi7cfuxWaRtWRiFC1lK9m3o8nHTZL9bgLQ72xthHd3u2AJ3Hqel0psQNMJ7yg_7Xj2p5_HU-3HgdkHpYZu91wW5y4aQfnlPozRqiUMseaMrCOSuvZZHI4Dj3j0-CAMiRCvyzckL_-FGs7IJ8Y4"],"data":{"message":{}
    Response from GCM
    :{"multicast_id":6096679578549763749,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1396246688602402%88ce056ef9fd7ecd"}]}
    *Received At: **2014-03-31 12:26:45*



    Message 5:
    *Send Time**:2014-03-31 10:56:04*
    Data:{"delay_while_idle":false,"time_to_live":0,"registration_ids":["APA91bGlxbCm6emJO9Ls-91JmYhfN94K_EiQFvN1PiPodmJRJokOiVMpIxDEejMiIDp6Pvnu65YH7c4t8L1j10fNvJxUodP3Ffwp01Gd6Ctf7eEk2mJOVgTutX4XxVBkpKnXSqxmcB0a3wXWyvb7dzgd8u6YY7wUFw"],"data":{"message":{}
    Response from
    GCM:{"multicast_id":6992492474471459467,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1396243564146290%88ce056ef9fd7ecd"}]}
    *Received At: **2014-03-31 12:26:56*

    --
    You received this message because you are subscribed to the Google Groups "android-gcm" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm+unsubscribe@googlegroups.com.
    To post to this group, send email to android-gcm@googlegroups.com.
    To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/0094ed46-905b-419b-8390-7987924f40b1%40googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupandroid-gcm @
categoriesandroid
postedMar 27, '14 at 5:39p
activeMar 31, '14 at 9:06a
posts4
users2
websitedeveloper.android.com...

People

Translate

site design / logo © 2019 Grokbase