NotRegistered and messageID question

28 views
Skip to first unread message

Luca Morettoni

unread,
May 23, 2012, 8:56:54 AM5/23/12
to androi...@googlegroups.com
Hello again list, I post a question about a problem that sometimes I
have while my server post to google a new message. For the same device
sometimes I get back an "NotRegistered" error, but if I try again to
send the message later (one or two minutes after the error response) I
get back the ID of the sent message. Why? This append random (not on
the same device registration).
Any hints about?

Another question is about the messageID that I get back on the
response from the google server: for some message I find the same
messageID, is normal?

--
Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net
gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni
Google+ profile: http://bit.ly/morettoni_plus
Member of Python User Group Perugia: http://www.pypg.org/

Anders Metnik

unread,
May 23, 2012, 10:37:35 AM5/23/12
to androi...@googlegroups.com
Make sure that your registrationID gets updated on the server.
Android C2DM refreshes the registration ID periodically.

Luca Morettoni

unread,
May 23, 2012, 4:47:28 PM5/23/12
to androi...@googlegroups.com
On Wed, May 23, 2012 at 4:37 PM, Anders Metnik <surh...@gmail.com> wrote:
> Make sure that your registrationID gets updated on the server.
> Android C2DM refreshes the registration ID periodically.

do you mean that the android client don't send me the updated
registrationID? But why if I retry to push the message again I got the
message accepted by the server?

Anders Metnik

unread,
May 24, 2012, 1:27:39 AM5/24/12
to androi...@googlegroups.com
Didnt you say to another device?
Else please rephrase your question, because it's in my humble oppinion, very hard to understand your english.

Ralph Pina

unread,
May 25, 2012, 1:47:05 AM5/25/12
to androi...@googlegroups.com
I too have seen this. I get the error randomly as well. Although I have only experienced it when testing the out of the box app locally. I have not seen it when I deploy it and debug it remotely. So while I have no idea regarding the source, it could be a lag in the setup Eclipse has to do to get a local connected app fully set up.

Ralph Pina

Reply all
Reply to author
Forward
0 new messages