benjarobbi / get-a-robot-vpnc

Automatically exported from code.google.com/p/get-a-robot-vpnc
1 stars 0 forks source link

Must reboot phone after a manual disconnect in order to connect again later. #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. After a successful VPN connection, then manual disconnection, any attempt to 
connect the VPN again results in failure.  If I reboot the phone, I can connect 
successfully again.

Basically, after several tries, I have found I'm allowed that one VPN 
connection.  When I disconnect, I am required to reboot in order to connect 
again at a later time.

Not a deal-killer, but is inconvenient.

What version of the product are you using? On what operating system?
VPN Connections version 6
Motorola Droid 2.1-update
CyanogenMod 5.0.7.1-Droid
ESE81

Please provide any additional information below.

Original issue reported on code.google.com by ChezJf...@gmail.com on 15 Jun 2010 at 7:48

GoogleCodeExporter commented 9 years ago
Don't know if this helps, but here's a log of a successful connect, disconnect, 
then unsuccessful reconnection attempt to the same VPN Connection Entry:

D/VPN_Connections( 1841): NetworkDatabase:singleNetwork - Start
D/libEGL  ( 1875): Setting TLS: 0xafe44b6c to 0xac70a2ec
W/Parcel  ( 1133): Attempt to read object from Parcel 0x4bc38de0 at offset 636 t
hat is not in the object list
I/ActivityManager( 1133): Starting activity: Intent { act=android.intent.action.
MAIN flg=0x58000000 pkg=com.noshufou.android.su cmp=com.noshufou.android.su/.SuR
equest (has extras) }
D/VPN_Connections( 1841): Monitoring will not start
D/SuRequest( 1337): Sending result: ALLOW
D/su      ( 1875): 10061 org.codeandroid.vpnc_frontend executing 0 sh using shel
l /system/bin/sh : sh
D/VPN_Connections( 1841): Enter IPSec gateway address:
D/VPN_Connections( 1841): IP xxx.xxx.xxx.xxx
D/VPN_Connections( 1841): Enter IPSec ID for xxx.xxx.xxx.xxx:
D/VPN_Connections( 1841): group id: Grp
D/VPN_Connections( 1841): Enter IPSec secret for Grp@xxx.xxx.xxx.xxx:
D/VPN_Connections( 1841): group pwd *****
D/VPN_Connections( 1841): Enter username for xxx.xxx.xxx.xxx:
D/VPN_Connections( 1841): user *****
D/VPN_Connections( 1841): Enter password for *****@xxx.xxx.xxx.xxx:
D/VPN_Connections( 1841): password *******
D/VPN_Connections( 1841): done interacting with vpnc
D/VPN_Connections( 1841): process stderr:
D/VPN_Connections( 1841): Read vpnc process id as 1877
D/VPN_Connections( 1841): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections( 1841): process stderr:
D/VPN_Connections( 1841): Read vpnc process id as 1877
D/VPN_Connections( 1841): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections( 1841): Read vpnc process id as 1877
D/VPN_Connections( 1841): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections( 1841): Read vpnc process id as 1877
D/VPN_Connections( 1841): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections( 1841): Read vpnc process id as 1877
D/VPN_Connections( 1841): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections( 1841): Read vpnc process id as 1877
D/VPN_Connections( 1841): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections( 1841): process stdout: Connect Banner:
D/VPN_Connections( 1841): | Successful connection!  ......Banner text from 
Cisco Router......
D/VPN_Connections( 1841):
D/VPN_Connections( 1841): backing up dns and resolve.conf
D/VPN_Connections( 1841): vpnc-script ran to completion
D/VPN_Connections( 1841): process stderr: /data/data/org.codeandroid.vpnc_fronte
nd/files/vpnc-script: cannot create : directory nonexistent
D/dalvikvm( 1841): GC freed 3307 objects / 261312 bytes in 91ms
D/VPN_Connections( 1841): Connect string detected!
I/global  ( 1841): Default buffer size used in BufferedReader constructor. It wo
uld be better to be explicit if an 8k-char buffer is required.
I/global  ( 1841): Default buffer size used in BufferedReader constructor. It wo
uld be better to be explicit if an 8k-char buffer is required.
V/VPN_Connections( 1841): process stderr: vpnc[1877]: can't open pidfile /var/ru
n/vpnc/pid for writing
D/VPN_Connections( 1841): Monitoring will not start
W/InputManagerService( 1133): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Proxy@456f9888
D/VPN_Connections( 1841): long press handler, handling the choice
D/VPN_Connections( 1841): will kill process 1877
D/libEGL  ( 1977): Setting TLS: 0xafe44b6c to 0xac70a2ec
W/Parcel  ( 1133): Attempt to read object from Parcel 0x4bc38de0 at offset 636 t
hat is not in the object list
I/ActivityManager( 1133): Starting activity: Intent { act=android.intent.action.
MAIN flg=0x58000000 pkg=com.noshufou.android.su cmp=com.noshufou.android.su/.SuR
equest (has extras) }
D/VPN_Connections( 1841): Monitoring will not start
D/SuRequest( 1337): Sending result: ALLOW
D/su      ( 1977): 10061 org.codeandroid.vpnc_frontend executing 0 sh using shel
l /system/bin/sh : sh
V/VPN_Connections( 1841): process stderr: vpnc[1877]: select: Interrupted system
 call
V/VPN_Connections( 1841): process stderr: vpnc[1877]: terminated by signal: 15
D/VPN_Connections( 1841): killProcess exited with exit value of 0
D/VPN_Connections( 1841): process killed
D/VPN_Connections( 1841): Read vpnc process id as 1877
D/VPN_Connections( 1841): Monitoring will not start
W/InputManagerService( 1133): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Proxy@45761068
D/VPN_Connections( 1841): long press handler, handling the choice
D/VPN_Connections( 1841): NetworkDatabase:singleNetwork - Start
D/libEGL  ( 2017): Setting TLS: 0xafe44b6c to 0xac70a2ec
W/Parcel  ( 1133): Attempt to read object from Parcel 0x499e7de0 at offset 636 t
hat is not in the object list
I/ActivityManager( 1133): Starting activity: Intent { act=android.intent.action.
MAIN flg=0x58000000 pkg=com.noshufou.android.su cmp=com.noshufou.android.su/.SuR
equest (has extras) }
D/VPN_Connections( 1841): Monitoring will not start
D/SuRequest( 1337): Sending result: ALLOW
D/su      ( 2017): 10061 org.codeandroid.vpnc_frontend executing 0 sh using shel
l /system/bin/sh : sh
D/VPN_Connections( 1841): Enter IPSec gateway address:
D/VPN_Connections( 1841): IP xxx.xxx.xxx.xxx
D/VPN_Connections( 1841): Enter IPSec ID for xxx.xxx.xxx.xxx:
D/VPN_Connections( 1841): group id: Grp
D/VPN_Connections( 1841): Enter IPSec secret for Grp@xxx.xxx.xxx.xxx:
D/VPN_Connections( 1841): group pwd *****
D/VPN_Connections( 1841): Enter username for xxx.xxx.xxx.xxx:
D/VPN_Connections( 1841): user *****
D/VPN_Connections( 1841): Enter password for *****@xxx.xxx.xxx.xxx:
D/VPN_Connections( 1841): password *******
D/VPN_Connections( 1841): done interacting with vpnc
D/VPN_Connections( 1841): process stderr:
D/VPN_Connections( 1841): Attempt to read vpnc process id did not return anythin
g
D/VPN_Connections( 1841): process had died, return as failed connection
W/InputManagerService( 1133): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Proxy@4570e2d8
W/fring   ( 1557): WatchdogBase: Ping #1 failed. Pinging #2...
D/dalvikvm( 1310): GC freed 1890 objects / 170712 bytes in 103ms
D/dalvikvm( 1337): GC freed 2056 objects / 133328 bytes in 84ms

Original comment by ChezJf...@gmail.com on 18 Jun 2010 at 2:16

GoogleCodeExporter commented 9 years ago
BTW, I recently upgraded to CyanogenMod 7 and the latest VPNC version .99.  The 
issue I described here about inability to reconnect is gone; I can 
connect/disconnect repeatedly.

This issue can likely be closed.

Original comment by ChezJf...@gmail.com on 9 Aug 2011 at 5:38