acimis / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

OpenVPN fails to authenticate while phone in low-power/sleep state. #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Turn on wifi. Connect to openvpn server over wifi connection
2. Move out wifi range (causing connection to be lost)
3. Ensure phone is 'sleeping' (not sure what the state is called exactly, but 
screen black/locked)
4. Move back into range of wifi. 
5. Notice that openvpn doesn't reconnect to the server until you 'wake' the 
phone up using the power button.

What is the expected output? What do you see instead?
It should connect when back in range without having to wake the phone up.

What version of the product are you using?
Openvpn 2.1.1, Openvpn-settings 0.4.7

Which Android phone are you using?
HTC Desire

Which firmware version are you using?
Froyo 2.2 (Leedroid)

Please provide any additional information below.
In the state described above where openvpn is failing to re-establish the 
connection to the server, the openvpn server logs indicate that authentication 
is failing every time during negotiation. 

If the phone is woken up by pressing the power button, authentication then 
succeeds. (either that or a new connection/session is started that succeeds). 

Note that I have set WiFi to 'never sleep when active' as I wish to remain 
connected (I'm using VPN for VOIP server access) and this bug means I have to 
manually wake the phone every time I move around to make sure it stays 
connected. I believe this isn't related to WiFi, most likely it could be 
duplicated on a 3G connection too.

Original issue reported on code.google.com by marc.mar...@gmail.com on 26 Oct 2010 at 10:28