Git Product home page Git Product logo

Comments (16)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Do you still get this behavior?
I can not reproduce it.

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 2:44

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
This bug only happens using data connection, not wifi.

Original comment by [email protected] on 16 Sep 2010 at 2:46

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 2:54

  • Added labels: Milestone-Postponed

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
OS:Cyanogen Mod 6.0.0 for Dream/Magic
This bug only happens using data connection

Original comment by [email protected] on 16 Sep 2010 at 2:57

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
[deleted comment]

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 3:42

  • Changed state: Accepted
  • Removed labels: Milestone-Postponed

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 3:42

  • Added labels: Priority-Medium
  • Removed labels: Priority-Low

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
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

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Hmm I have this issue as well but not with just gps, but Android market also 
does this as well. 

Original comment by [email protected] on 13 Dec 2010 at 12:18

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Still happens on latest cm7 nightly with Nexus One, when I use any gps app 
while on wifi..

Original comment by [email protected] on 24 Feb 2011 at 1:10

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Is this still an issue?

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 10:18

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Yes, it still exists. I just tried to use maps and once gps icon shows it 
reconnects.

Original comment by [email protected] on 5 Feb 2012 at 6:59

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
its nearly 2 years but the bug still exist. is there no fix for it yet?

Original comment by [email protected] on 7 Apr 2012 at 7:04

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
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 [email protected] on 7 Apr 2012 at 9:02

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
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

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
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 [email protected] on 27 Jul 2012 at 4:06

from android-openvpn-settings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.