- Augusto
Thanks Costin and Debajit for your help.It appears to have been a configuration issue on my router. I am running DD-WRT on a Linksys E3000 and for some reason the TCP timeout was set really low. It's supposed to be at the default of 3600 seconds but mine was at 2 minutes. Changing that seems to have fixed the problem.I hope such misconfigurations aren't common. Just wondering -- is there anything that c2dm stack could have done to handle that case? I assume you're trying to minimize impact on battery life but would sending a single "keep alive" packet every minute or so be that costly?
glad you got things working! yes, a keepalive that frequently would
be somewhat costly.
check out slide 7 in the c2dm talk we gave at Google IO:
http://dl.google.com/googleio/2010/android-push-applications-android.pdf
(found on http://www.google.com/events/io/2010/sessions/push-applications-android.html)
for some background and numbers.
thanks, debajit