yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] AmesCell:
I've never seen anything other than blue and I'm getting disconnected. I'll try to pay more attention just in case I've been missing it, but it sounds really obvious.
[Samsung Galaxy Nexus] oscillik:
UPDATE: Problem still occurs even when the SIM card has been removed.
[Samsung Galaxy Nexus] Chirality:
Have you been testing this all on the same WiFi access point? Or is this occurring with several access points?
[Samsung Galaxy Nexus] oscillik:
It occurs regardless of the WiFi access point I am on. I have this problem when I go to friend's houses, to my sister's house, and when using public WiFi access points.

It also occurs regardless of whether I'm connected by WiFi or by mobile data.
[Samsung Galaxy Nexus] El Daddy:
It has to be something on Google's end. Its happening on all of my devices. On both wifi and T-Mobile USA. Its been going on for the last couple months.

I can confirm this same issue is happening with many of my friends on multiple networks with multiple devices.
[Samsung Galaxy Nexus] oscillik:
Yes, I had previously supposed that the issue was at Google's end but hadn't gone so far as to conduct the tests I have carried out today.

At this point, I am convinced that this is purely a problem with Google's C2DM servers, or whatever equipment they have that handles push notifications for Android.
[Samsung Galaxy Nexus] qwerp_:
this is what i used to believe as well, when i first had the problem. and i was surprised that the solution has nothing to do with google at all.

the problem lies between your phone and C2DM servers. not with the servers.

if somehow your connection to the server (lets forget for a moment on wifi or mobile data) has somesort of timeout issue that is not able to constantly keep the session open, the push notification that was sent down the stale connection will not be able to get to your phone.

if you don't believe me, take gtalk for examole, when you are in so call delayed/disconnected/stale mode, if someone send you like 10-20 lines of chat, when you eventually get back online connected to google's server, all this spooled notification are all pushed to you at the same time. google C2DM is trying to send the notification down a stale session to your phone with no success, hence its being piled behind (spooled), untill it gets a connection and sent it all out again.

please also note that, wifi access point, some of the connection has some extra ttl setting on it that might affect this as well, hence is not a reliable test.

i work in VOIP field, and to keep a certain session open all the time on the VOIP network, our servers sends a PING packet to the phone every now and then to make sure the session is not stale, else we have problem ring the phone as well. the same logic applies to your issue.

on final note on wifi, some ADSL provider does mangle with your data traffic, so you need to make sure you do have a clean ADSL connection.

hence i am recommending you to do the simplest test using a o2 sim card that we know works. (at lease that i am using and sure that it works).
[Samsung Galaxy Nexus] oscillik:
This doesn't explain how the issue is:

1. Affecting me regardless of ISP and broadband connection type. For example, I have cable broadband at home, yet my sister has ADSL with an entirely different provider.

2. Affecting me even when on mobile data.

3. Affects not only me, but other people, on different carriers and on different handsets and even different versions of Android.

4. Only just recently (within the past 6 months) started occurring - there was no issue with regard to this up until 6 months ago.

Do you have any more insight, after taking these points into account? I do appreciate your input here qwerp_ :)
[Samsung Galaxy Nexus] kristovaher:
Well, I had that issue constantly for months and I don't have it anymore now that I replaced HTC Desire with Galaxy Nexus. And that is with the same Google account and SIM card.

Of course that may be a coincidence that they fixed it on my account around the same time when I switched the phone.
[Samsung Galaxy Nexus] qwerp_:
there is no stright answer here. and i know how frustrate you are as i have been in your position before.

below is what happened to me.

i originally owned a nexus one with a o2 work sim. there has not been any issue with push notification.

when the nexus s was released, i got the bugger and at that time sign-up for a tesco contract £10 per month sim. i plugged that into my nexus s and the problem start occuring on my nexus s. it bugged me for quite some time till suddenly i think of swapping the sims, and guess what, the problem now happens on the nexus one as well. this got me thinking that this has 100% to do with the data network, i then somehow played with the APN settings on both phone, and worked out that the MMS proxy was causing some problem. back then i wasn't the only one with the issue and i did manage to help some others on fixing the issue.

http://www.google.com/support/forum/p/Google+Mobile/thread?tid=56f54d35a6a0da29&hl=en

this link shows my original report on the nexus S with my findings and helped some other users as well.

i am 100% sure this has something to do with the data connection between the phone and the server (mobile data or wifi).
[Samsung Galaxy Nexus] oscillik:
Currently attempting to test with an O2 SIM. shall report back...
[Samsung Galaxy Nexus] dinan:
I've had this problem on my Nexus S and SGS2... was hoping the Galaxy Nexus would fix it but I suppose I now know that it won't =(

Seems to be just a google problem and people that claim they don't have the problem actually do after I look at their phone more carefully... it effects the arrival of push emails/notifications so it's a global data loss, not just google talk as you mentioned.

Really hope a fix can be found or maybe a "problem" application is the culprit but based on the amount of results you get for googling "Google talk disconnecting" I think it's just an Android problem.
[Samsung Galaxy Nexus] oscillik:
from the testing I have carried out today, I can confirm that it is nothing whatsoever to do with any third-party installed app, or even any extra Google developed app installed aside from the already built-in applications.
[Samsung Galaxy Nexus] AmesCell:
I had same wifi, same SIM on ATT, same Google account, and same apps on my SGII. It's fine. It's even fine with the SIM pulled and just on wifi. GN has issues; SGII doesn't.
[Samsung Galaxy Nexus] oscillik:
I have a friend who has a Samsung Galaxy S II who is having the exact same problem as me. And as I've already stated earlier in the thread, other people I know who are using entirely different handsets are also suffering the same symptoms. The problem is not relegated just to the Galaxy Nexus, not by a long shot.
[Samsung Galaxy Nexus] copkay:
For what it's worth, I've had a similar problem with every Android phone I've owned (Droid, Droid 2, Fascinate); I gave up on using Google Talk a long time ago because it was completely unreliable and I would miss conversations randomly or they wouldn't go through. I now use Kik instead, and I personally find it much more reliable to use, although the one major annoyance for me is that you can't choose a notification sound; it's just the default.

I do realize that it affects all other push communications as well, but sadly I've just come to accept that as an Android quirk.
[Samsung Galaxy Nexus] AmesCell:
Just noticed I wasn't getting notifications... my signal icons were grey. I tried to force a Gmail sync and they stayed grey. Turned off wifi and they went blue. Turned on wifi and they stayed blue.
[Samsung Galaxy Nexus] qwerp_:
shall we wait for the new coming update to fix the volume bug to see if that somehow indirectly included something else to help this?
[Samsung Galaxy Nexus] oscillik:
UPDATE: I have just encountered the exact same problem while having an O2 SIM card in my phone.
[Samsung Galaxy Nexus] Chirality:
Try it on a desktop computer connected to a landline ISP, and use any of the gtalk clients. Do they also sign out every once in a while?
[Samsung Galaxy Nexus] oscillik:
I use Google Talk via the Gmail client on my computer when I'm in Windows, and via Pidgin while running Linux. I have also used the standalone official Windows client in the past, as well as Pidgin on my Windows partition. I do not encounter sign outs or missed messages and have never encountered them via computer access.

But that is beside the point - Those clients do not use Android C2DM for relaying messages.
[Samsung Galaxy Nexus] qwerp_:
can you tell me what APN settings are you using?
[Samsung Galaxy Nexus] oscillik:
APN: payandgo.o2.co.uk

Proxy: 193.113.200.195

Port: 8080

Username: payandgo

Password: password

Server: <not set>

MMSC: <not set>

MMS proxy: <not set>

MMS port: <not set>

MCC: 234

MNC: 10

Authentication type: <not set>

APN Type: default,supl
[Samsung Galaxy Nexus] qwerp_:
i believe it always has some issue with the proxy side of the settings. somehow connecting via proxy seems to time out. (the connection).

these are my o2 APN settings. that worked for me.

APN: mobile.o2.co.uk

Proxy: <not set>

Port: <not set>

Username: o2web

Password: password

Server: <not set>

MMSC: <not set>

MMS proxy: <not set>

MMS port: <not set>

MCC: 234

MNC: 10

Authentication type: <not set>

APN Type: default
[Samsung Galaxy Nexus] oscillik:
I cannot use those settings since those are the settings for a Contract user, and my SIM is PAYG.

Also, I have connected to giffgaff without any proxy settings and still encountered the fault.
[Samsung Galaxy Nexus] qwerp_:
yes, i know that. i am just trying to share what i have.

i am thinking what other things we could try.

---------- Post added at 01:37 PM ---------- Previous post was at 01:31 PM ----------

oscillik, can i confirm if this is what you have?

APN: giffgaff.com

Proxy: <not set>

Port: <not set>

Username: giffgaff

Password: password

Server: <not set>

MMSC: <not set>

MMS proxy: <not set>

MMS port: <not set>

MCC: 234

MNC: 10

Authentication type: <not set>

APN Type: default
[Samsung Galaxy Nexus] oscillik:
Indeed, those are the settings I am using for connecting to giffgaff, after your suggestion of removing MMS related settings.
[Samsung Galaxy Nexus] qwerp_:
did you manage to try something like this?

FOR WINDMOBILE users who are having this issue in regards to PUSH notifications for GMAIL and Google Talk / Google Chat.

The WIND network automatically restores default APN settings, which include MMS. I went through my entire Applications and saw which apps runned MMS, it seems as though, my internet was working on MMS proxy rather than the actual data plan.

So the app that was doing this was the "Messaging" app which is actually called, android.mms.com

I FORCE closed that app and installed Handcent. I deleted the cache/data for Google Talk and Gmail

After that, my chat messages and emails come within 7 seconds and I am continously in contact with Google servers even if the phone is in sleep mode.

Shahed, try that and it should work.

not sure if that will help.
[Samsung Galaxy Nexus] oscillik:
Nope, I don't believe that will help since (to my knowledge) no UK based network is capable of sending SMS based OTA APN settings for Android at all. Every SIM card I have tried (O2, Orange, giffgaff, T-Mobile) with Android handsets have always sent messages claiming to have sent me internet settings, but these settings never appear anywhere on the phone.

I also believe this issue has absolutely nothing to do with APN settings at all, due to the fact that the problem still occurs when the phone has no SIM card or any APN settings on the phone whatsoever.
[Samsung Galaxy Nexus] clearym:
Thought I'd share my experience(s) and what has worked for me.

When I first got my Nexus S, I switched my T-mobile USA SIM from my Nexus 1. In the first week I experienced data connectivity issues like what you are describing. I was able to get this resolved after MANY calls to T-mobile customer service reps. I finally got a hold of a CSR that said I needed an Android data plan. I thought it was BS but whatever settings she updated on her end solved my problem. I don't actually think your issue is because your data plan needs to be updated to an "Android data plan" but contacting your provider may help. I know that you will think this won't work because you experience it on wifi only, but see below.

I experience intermittent Gtalk connection issues on my Nexus S while on wifi or mobile data that resolve themselves as soon as I open the gtalk app. The app reconnects and the problem is solved. This happens maybe once every couple days (maybe more, I'm not sure). It doesn't sound like this is your problem... but can you see if you see the same issue if in airplane mode with only wifi connected? I'm wondering if you are able to quickly reconnect to gtalk by opening the app when your mobile connection is not a factor.

HTH

Good luck
[Samsung Galaxy Nexus] oscillik:
Thanks for giving me a breakdown of your own personal experience :)

Regarding the data plan with my network provider, there is no such thing as a separate 'Android' data plan on any of the networks here in the UK, as far as I am aware. If a network makes any distinction between APNs it is between contract and PAYG customers. Maybe also Blackberry users. In any case, as I've said - the problem occurs without a SIM having been inserted in the phone or any APNs set up.

Regarding your last point, I don't think I understand. If the phone is in Airplane Mode, there is no internet connection and so the phone wouldn't receive any C2DM notifications anyway. Opening up Google Talk while in Airplane Mode just gives the same 'grey overlay' as shown in my original post.
[Samsung Galaxy Nexus] clearym:
If you put your phone into airplane mode, and then turn on wifi, the mobile radios (2g/3g/4g) remain off.
[Samsung Galaxy Nexus] oscillik:
Ok, but surely the same effect is achieved by removing the SIM card completely?
[Samsung Galaxy Nexus] clearym:
I don't think that disables those radios, it just prevents you from achieving a connection to any of the networks.

I'm really hoping this isn't GN problem (sorry) and is an isolated issue. I just received my tracking info on the Nexus I ordered yesterday and can't wait for it to get here...
[Samsung Galaxy Nexus] oscillik:
I don't see how having the radios on would affect the connection by WiFi, when I have already proven that I have a solid WiFi connection when the issue occurs.

Also, the issue isn't isolated to the Galaxy Nexus - it affects multiple handsets, running various different versions of Android, and on different carriers, in different countries.
[Samsung Galaxy Nexus] clearym:
Sorry, I should have specified that I was just trying to help troubleshoot. I suggested the airplane mode test because that would most likely rule out your mobile network provider. I know that you've tried SIMless and different SIMs, but I seem to remember reading (i think on this forum: http://www.google.com/support/forum/p/Google+Mobile/thread?tid=747f398a6c1bb2b9&hl=en),

that the ?baseband radio? can crash causing you to lose data connectivity.

I could be (and very likely am) wrong.

Hope you're able to get this resolved.
[Samsung Galaxy Nexus] oscillik:
Thanks for trying to help, I do appreciate it :)

I can confirm though that I do not lose data connectivity when the problem occurs - I have been mid-conversation in a Skype call many times when this problem occurs. No drop outs in the call at all.
[Samsung Galaxy Nexus] cranch:
Bumping this as it is really been bothering my phone for the past few days.

Anyone have any better luck getting it resolved?
[Samsung Galaxy Nexus] ehh2112:
I'm interested in seeing if this problem begins occurring at the same time for people with the same devices/carriers. I have an AT&T Galaxy S2 and just started having this problem a few days ago (maybe 4 days ago?). To my knowledge, I did nothing around that time to tweak my system/APN/etc. settings, and in the months prior, I had absolutely no problems with GTalk/push connectivity. Anyone else with an AT&T GS2 start having this problem recently for the first time?
[Samsung Galaxy Nexus] baggy247:
I have had this problem on both a Xoom and Galaxy Nexus but only on wifi... however on the Xoom, setting it to use a static IP address on my home wifi seems to help a lot, but no dice on the Nexus. Interesting thing is I never had the problem on my Desire.

Also, has anyone else with the problem noticed increased battery drain when it occurs? All the connecting/disconnecting from Google seems to use up my batter quicker than usual.
[Samsung Galaxy Nexus] chrisn0123:
Try signing out of any google chat on any desktop web browsers. I found mine was conflicting like mad.
[Samsung Galaxy Nexus] kam187:
I had exactly the same problem on my N1, and same as you it started about 3 to 6 months ago.

It seems a lot better on the GN, but it still happens. The signal bar goes grey and gtalk shows as online but with zero contacts showing online. Mail also stops working.

Same as the OP, only airplane mode or a reboot seems to work. Even if i switch wifi off and try to switch to data, most of the data i see no data symbol at all (H, 3 or G). VERY annoying!
[Samsung Galaxy Nexus] mvpeterson:
Is it just Google services that are giving trouble? Can you browse the net without any issues on wifi or sim? Can you also use other services like VNC or VOIP without any issues?

Just trying to see if it's happening on all ports but 80...
[Samsung Galaxy Nexus] xupru:
Bumping this since I posted the exact question but it got lost in the explosion of Q&A thread and I didn't feel like double posting.

Google Talk doesn't update in real time, whereas with my RAZR I just returned it did. I'm using a new Galaxy Nexus Verizon Style.

I wondered if it's because of some setting of background data, but i can find no option in the nexus nor Google Talk to turn on/off background data.

Also having terrible hotspot problems, usually sees signal but with the yellow triangle status showing limited access... which basically means you have no internet, but i don't believe it's related?
[Samsung Galaxy Nexus] Benedictvantrigt:
I am having this same problem but on my Galaxy S, there pretty large topic on the problem on the google help forums (Nexus S section). I can´t post links because i don´t have 8 posts yet... so i cannot link to it

But this is how you get there

Help forum > Google Mobile > Android Devices > Other Google Products > Nexus S Google connection on & off

So far no solutions, but there are some responses from google employee´s in there so that's nice.

I have been having this problem since i updated to CM7, now running ICS and still have the problem.
[Samsung Galaxy Nexus] XfrostX:
yeah the ICS gtalk isn't updating real time either. it also disconnects frequently for me
[Samsung Galaxy Nexus] XfrostX:
anyone have a fix for this?
[Samsung Galaxy Nexus] apratomo:
happened to me as well, has been a plague since N1.

currently I'm trying to clear cache and data from gmail and gtalk, remove any proxy from APN setting, see if that helps.

I think this problem also killing my battery as gsf (google service framework) keep showing on top of wakelock and prevent my device to sleep properly
[Samsung Galaxy Nexus] M3drvr:
I'm having this same problem too. I tried changing apn settings and uninstalling all apps. Full wipe too but no help. And its not just Google apps for me. Its any instant messenger. And its more noticeable on Wi-Fi but it happens on mobile network too. I'll get no notification or they'll be between 10 minutes delayed up to a few hours delayed! Gtalk will sign me out from time to time or show me online but no one else. Never had this issue on my galaxy s and it still doesn't have this issue. But it didn't happen immediately upon switching to galaxy nexus. Was probably about a week after. And what happens is I'll go into an app such as, whatsapp and it won't get a down arrow for data, just an up arrow. And when that happens I can go to browser and same thing happens, and it'll never load a page. Either I wait a minute or two and it'll start working for browser or I switch off Wi-Fi and go to mobile network and everything immediately syncs up. Then I can switch back to Wi-Fi and everything will work good again. But only for about 10 minutes and all this happens again. My old galaxy s though, which is still being used in the house, doesn't have any of these issues. Any ideas for me to try?
[Samsung Galaxy Nexus] burnduck:
Sorry for bumping this old thread but I've recently started to notice this issue as well.

The connectivity issue seem to affect all 3 of my android devices regardless whether it's on 3G or WiFi, and it seemed to be worse with WiFi.

All of them are signed into the same account and every 16 minutes my phone will get disconnected from Google server, it does recover itself after 2 3 minutes but it's just really annoying.

When that happens it will be logged in *#*#8255#*#* and my connection uptime seldom goes over the Heartbeat Interval (28 minutes for 3G and 15 for WiFi).

And of course I've tested all 3 of my devices on different WiFi networks but no joy.

Signs do point to Google side or something preventing the heartbeat to come through.
[Samsung Galaxy Nexus] Eddie1506:
I have the same issue, but with mobile data. I never noticed it on my WiFi, just mobile data. It almost looks like some timeout is happening in Google Talk, disconnecting when the phone is idle for specified amount of time or simillar.

I never had to manually login to Google Talk, it does it automatically, but ever since I had GNex (half a year), it was doing its little dance. Connect/disconnect on data every couple of minutes.

Factory reset doesn't help and flashing stock images instead of CM10.1 doesn't help either.

I didn't try to debug the issue with my service provider yet, but I will.
[Samsung Galaxy Nexus] pedromarga:
I have the exact same problem here. Losing C2DM connection after the phone sleeps. Wifi or 3G, doesn't matter.

Does someone notice if it is related to the Google account itself? Because it is independent of phone model, type of connection, configs, ROM, carrier, etc.
[Samsung Galaxy Nexus] mhdsanto85:
i have a similar issue..... after some minutes, My device stop receiving any notifications, when I try to enter gtalk,it reconnects after the signal bars become grey and blue again. only when using mobile data, in wifi its normal.

ive tried many things... messing with apn settings, reflashing roms, factory resets, clear app caches.....

Im very disapointed.... :(

Do you guys have any ideia (different from all the ones described in this thread, ive tried all of them)
[Samsung Galaxy Nexus] andQlimax:
it depends from the routers (if u have problem under wifi) or by ur carrier (if u have problem with mobile data), or both if u are unlucky

in my case it happens only when connected to the wifi, under 3g push notifications are always instalntly

basically the push notifications needs a long stable connection ( tcp connection on the port 5228) between ur phone and the google servers, what happen is that ur wifi router (or ur mobile carrier ) can close this connection if there is no activities for some time

basically some crap routers have a tcp idle timeout set to a low value, example 300 seconds...so if in those 5 minutes u dont send/receive any push notification, the router kill/close the tcp connection because it thinks it is an unused connection, the problem is that ur phone will not going to check if this connection is open, because its how push notifications must works

so u will have no push notifications untill this connection get re-enstabilished, that happen every 15 minutes by default on android (note that the same problem is for the apple push notifications)

a possible solution is to change the router with a better one, or in case u have problems with mobile data try to call ur operator and tell they to change their tcp idle timeout (probably is not going to happen :D ) or change carrier
[Samsung Galaxy Nexus] pedromarga:
Why the problem does not happen when the phones stays "awake"? It only happens if it sleeps.