Categories: I found a bug! : Text Chat : Mobile Device :

Google Talk on Android constantly loses connection after switching from googlemail.com to gmail.com + circle contacts missing

Showing 1-6 of 6 messages
Google Talk on Android constantly loses connection after switching from googlemail.com to gmail.com + circle contacts missing michikrug 6/29/12 4:19 AM
Hi,

i am from Germany and recently we were given the opportunity to switch from a @googlemail.com address to a @gmail.com one.
I did this two days ago. After this the problems startet to appear.
FIrst of all, Google Talk in Gmail on the web works without any problems.
But I had to invite many contacts again and all contacts from the Google+ circles where offline (not authorized).
I removed the rights of the circles in the privacy settings on Google+ und checked the boxes for some circles again.
Now they appear as offline and invited in my list, but as i heard, they do not get any notice of that.
That does not bother me so much.
Now follows the problem that does.
After switching Google Talk on my Android constantly loses its connection to the server.
I receive messages, but when i select the chat via the notification bar Talk shows that red information, that the connection was lost.
So i can not answer, because the message would be lost. I have to go back to the Talk contact list, wait until it reconnects and can answer after that.
But also during a conversation Talk very often loses the connection.
On the help page at Google there was the advice to turn on the airplane mode after one day.
That did not help. I even rebooted often and cleared the data of Google Talk.
Nothing helps. This bothers me a lot.

I hope somebody can help me with this issues, which also where reported the same way by two of my friends.
Re: Google Talk on Android constantly loses connection after switching from googlemail.com to gmail.com + circle contacts missing mattes13 6/30/12 10:31 AM
Hello,

I have exactly the same problem. I also tried to clear data. My final idea would be a factory reset and reconnect the phone with the new @gmail.com account name. But I haven't done that yet due to the lot of data I'd have to restore.

So if somebody's got an easier idea, please let us know.

Since I had a look at logcat, I can say that there are frequent entries like the following:

06-30 19:02:05.671: D/GTalkService(1889): [GTalkImSession] login: cut-user-name@googlemail.com, hostConn.connState = RECONNECTION_SCHEDULED, hostConn.error=CONNECTION FAILED
06-30 19:02:05.691: D/GTalkService(1889): [GTalkConnection.9] setInternalNetworkState: type=1, state=CONNECTED
06-30 19:02:05.691: D/GTalkService(1889): [RosterListenerImpl] onLoggedIn
06-30 19:02:05.821: D/GTalkService(1889): [GTalkConnection.90] setInternalNetworkState: type=1, state=CONNECTED
06-30 19:02:09.281: D/GTalkService(1889): [RosterListenerImpl] removeTalkPresence for account=1, deleted=0
06-30 19:02:09.331: D/GTalkService(1889): [ContactPresence] removeAllContactsPresence: account=1, set null presence for 0
06-30 19:02:10.001: D/GTalkService(1889): [GTalkConnection.25] EVENT_REQUEST_ROSTER: already ONLINE, ignore
06-30 19:02:10.691: D/GTalkService(1889): [ChatMgr] closeChatSessions: prune chats, expire=1341061330679, expireForChatsOnOtherClient=1341072130679
06-30 19:02:10.771: D/GTalkService(1889): [RosterMgr] roster not modified
06-30 19:02:10.971: E/TalkProvider(1889): replaceContactWithContactId: contactId==0!!! cut-user-name@gmail.com, acct=1
06-30 19:02:11.031: E/TalkProvider(1889): insert presence failed for account=1 username=cut-user-name@gmail.com client_type=0 status=Yep, I'm here. cap=11 priority=0 mode=5
06-30 19:02:11.391: D/GTalkService(1889): [OtrMgr] OTR not modified
06-30 19:02:24.561: D/GTalkService(1889): [GTalkConnection.1] setInternalNetworkState: type=1, state=CONNECTED
06-30 19:02:27.061: D/GTalkService(1889): [ChatMgr] closeChatSessions: prune chats, expire=1341061347064, expireForChatsOnOtherClient=1341072147064
06-30 19:02:29.401: D/GTalkService(1889): [RosterListenerImpl] removeTalkPresence for account=1, deleted=14
06-30 19:02:29.461: D/GTalkService(1889): [ContactPresence] removeAllContactsPresence: account=1, set null presence for 14
06-30 19:02:29.691: W/Smack/Packet(1889): notify conn break (IOEx), close connection
06-30 19:02:29.691: D/Smack(1889): [XMPPConn] close connection, notifyClosed=false
06-30 19:02:29.841: D/GTalkService(1889): [GTalkConnection.25] connectionClosed: connId=12733, error=CONNECTION FAILED

What I can read from this is:
  • It logs in with the @googlemail.com (since the account of the phone is still assigned to this domain?)
  • It tries to do something with the @gmail.com (replaceContactWithContactId)
  • Then, there is some close-connection procedure
  • (My status note was lately set by Miranda-IM: Yep, I'm here.) ;)

Anybody got ideas?


Re: Google Talk on Android constantly loses connection after switching from googlemail.com to gmail.com + circle contacts missing mattes13 6/30/12 10:34 AM
I forgot: I don't use the Google+ App. For me it's (mainly?) GTalk.
Re: Google Talk on Android constantly loses connection after switching from googlemail.com to gmail.com + circle contacts missing michikrug 6/30/12 4:29 PM
I tried to reset my Google account information in my Android by deleting the accounts.db (I have rooted my device).
This removes all account information and you can reenter your data. This worked for all services but not for Talk.
Talk perfectly signed on but there were no contacts anymore. The hole contact list was empty. Messages could be received but not answered.

So i did a factory reset and used my "new" gmail.com account as the default one.
Now everything works just fine. Just as before the switch.

But this can not be the solution for users who switched, because it causes a lot of work and costs a bunch of time, reinstalling and configuring everything.

Also the authorization problem for circle contacts remains.

FYI: A friend of mine reverted her account back to googlemail.com and Talk was working nicely again.
Re: Google Talk on Android constantly loses connection after switching from googlemail.com to gmail.com + circle contacts missing mattes13 7/2/12 9:56 AM
Since I'm also using a rooted device, I tried the accounts.db-way. 

And as far as I can see that from know, it's working. So here is what I did:
  1. delete the /data/system/accounts.db (e.g. via Root Explorer)
  2. delete the data of Talk and Google Services (or something like that)
  3. reboot
  4. setup all accounts again (Google, Exchange, Dropbox, whatever (since sign-up-data is lost))
  5. now, everything seems to be fine (even contact list)
Took me 5 min and I did not lose any other data or app.
Re: Google Talk on Android constantly loses connection after switching from googlemail.com to gmail.com + circle contacts missing susannha 7/26/12 2:51 AM
I have the same problem and reseting my phone is not an option for me.
A friend of mine fixed the problem by switching back to googlemail. But I hoped that it would be fixed soon :/ Any idea except switching back or deleting accounts.db?