Open GoogleCodeExporter opened 9 years ago
Do you still get this behavior?
I can not reproduce it.
Original comment by friedrich.schaeuffelhut
on 16 Sep 2010 at 2:44
This bug only happens using data connection, not wifi.
Original comment by cnye...@gmail.com
on 16 Sep 2010 at 2:46
Original comment by friedrich.schaeuffelhut
on 16 Sep 2010 at 2:54
OS:Cyanogen Mod 6.0.0 for Dream/Magic
This bug only happens using data connection
Original comment by iloveke...@gmail.com
on 16 Sep 2010 at 2:57
[deleted comment]
Original comment by friedrich.schaeuffelhut
on 16 Sep 2010 at 3:42
Original comment by friedrich.schaeuffelhut
on 16 Sep 2010 at 3:42
I currently do not have access to a SIM card with enabled data connection.
Could you please provide the output of 'adb logcat' ?
Original comment by friedrich.schaeuffelhut
on 16 Sep 2010 at 3:45
Hmm I have this issue as well but not with just gps, but Android market also
does this as well.
Original comment by 007Shin...@gmail.com
on 13 Dec 2010 at 12:18
Still happens on latest cm7 nightly with Nexus One, when I use any gps app
while on wifi..
Original comment by kfd...@gmail.com
on 24 Feb 2011 at 1:10
Is this still an issue?
Original comment by friedrich.schaeuffelhut
on 27 Jan 2012 at 10:18
Yes, it still exists. I just tried to use maps and once gps icon shows it
reconnects.
Original comment by LJimm...@gmail.com
on 5 Feb 2012 at 6:59
its nearly 2 years but the bug still exist. is there no fix for it yet?
Original comment by pawleonh...@gmail.com
on 7 Apr 2012 at 7:04
ok may this is a workaround or fix but i haven't monitored it fully yet. try to
put dns server on the preference tab. i put google dns in it and it didnt
reconnect anymore.
Original comment by pawleonh...@gmail.com
on 7 Apr 2012 at 9:02
Hmm, I'm not at all opposed to fixing this issue if I could figure it out!
But I have no clue how GPS can cause a reconnect. Therefore a fix is hard to
write.
OpenVPN-Settings uses the ConnectiviyManager to listen to changes
in network connectivity. It will initiate a reconnect once connectivity changes.
(It actually should only do this if the IP-Address changes). The main idea
behind this behavior is not to use keep alive packages and be able to conserve
energy.
There is no behavior documented in Android, GPS will trigger a connectivity
change.
A little bit more input from your side, like the output of 'adb logcat' could
help
me figuring out what actually happens.
Original comment by friedrich.schaeuffelhut
on 7 Apr 2012 at 6:36
Yes, I confirm this happens whenever an app needs to access A-gps service. My
understanding: it may not be an OpenVPN specific problem as when A-gps service
starts, the system needs to contact an supl server, specified somewhere (APN,
gps.conf, gps_brcm_conf.xml, I don't know), when it finds that the current data
connection is not a proper type for the purpose, it shuts down the current data
connection and trying to establish another one. Hence you see OpenVPN
re-connecting.
I had this issue and solved mysteriously before I tried many, many methods. My
research initially says I might have wrong APN type setting (supl needs to be
on or off, the internet does not give consistent answer on this), this did not
solve my problem.
Long story short, on one of my phone, there was no gps_brcm_conf.xml file under
/etc folder, and the file is actually referred to by some system init file that
deals with gps service. So I put one such file that I got from a CM7 stable rom
(my phone is an LG Optimus 3D P920), and hurray, problem solved!
The consistency of the solution can be verified by deletion and addition of
this file. However on my other phone, I don't have the luck: I figure I need to
find a correct version of gps_brcm_conf.xml?
...and I forgot which system init file I look, too bad.
Original comment by jin...@gmail.com
on 27 Jul 2012 at 4:06
Original issue reported on code.google.com by
cnye...@gmail.com
on 2 Jul 2010 at 9:08