acidburn0zzz / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
1 stars 0 forks source link

Lolipop will fail to open TUN #328

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On lolipop run app and allow permission checkbox for network, things will 
work fine.

2.  Delete the app from the device and reinstall with google store or compiled 
version of the app.

3.  Now try to connect again.  It will say can't open TUN device.   The 
workaround is to run a different VPN app and check the permission box for 
network.  Then go back and run ics-openvpn,  now the checkbox will appear and 
the connection will work.   Seems to happen on Lolipop.    Tested with Nexus 9 
lolipop 5.0.1  latest version of source 0.6.28   also happens with release 
0.6.26 from store

What is the expected output? What do you see instead?

What mobile phone are you using?

Nexus 9   

Which Android Version and stock ROM or aftermarket like cyanogenmod?
stock rom  nexus 9  Build LRX22C  Kernel 3.10.40-ga3846f1

Please provide any additional information below.

02-10 16:34:37.176  10161-10161/de.blinkt.openvpn I/art﹕ Late-enabling 
-Xcheck:jni
02-10 16:34:37.312  10161-10177/de.blinkt.openvpn D/OpenGLRenderer﹕ Render 
dirty regions requested: true
02-10 16:34:37.316  10161-10161/de.blinkt.openvpn D/Atlas﹕ Validating map...
02-10 16:34:37.418  10161-10177/de.blinkt.openvpn I/OpenGLRenderer﹕ 
Initialized EGL, version 1.4
02-10 16:34:37.481  10161-10177/de.blinkt.openvpn D/OpenGLRenderer﹕ Enabling 
debug mode 0
02-10 16:34:42.815  10161-10177/de.blinkt.openvpn D/OpenGLRenderer﹕ 
endAllStagingAnimators on 0x5585192160 (RippleDrawable) with handle 0x5585179840
02-10 16:35:07.819  10161-10213/de.blinkt.openvpn I/OpenVPN﹕ Starting openvpn
02-10 16:35:07.875  10161-10161/de.blinkt.openvpn I/Choreographer﹕ Skipped 
130 frames!  The application may be doing too much work on its main thread.
02-10 16:35:08.044  10161-10161/de.blinkt.openvpn W/IInputConnectionWrapper﹕ 
finishComposingText on inactive InputConnection
02-10 16:35:08.044  10161-10161/de.blinkt.openvpn W/IInputConnectionWrapper﹕ 
finishComposingText on inactive InputConnection
02-10 16:35:09.138  10161-10212/de.blinkt.openvpn D/openvpn﹕ Loading openvpn 
native library $id$ compiled on Feb  6 2015 17:58:39
02-10 16:35:13.108  10161-10213/de.blinkt.openvpn I/OpenVPN﹕ Giving up
02-10 16:35:13.131  10161-10212/de.blinkt.openvpn I/openvpn﹕ Got unrecognized 
command>FATAL:ERROR: Cannot open TUN
02-10 16:35:13.136  10161-10213/de.blinkt.openvpn I/OpenVPN﹕ Exiting
02-10 16:45:57.249  10534-10550/de.blinkt.openvpn D/OpenGLRenderer﹕ Render 
dirty regions requested: true
02-10 16:45:57.253  10534-10534/de.blinkt.openvpn D/Atlas﹕ Validating map...
02-10 16:45:57.334  10534-10550/de.blinkt.openvpn I/OpenGLRenderer﹕ 
Initialized EGL, version 1.4
02-10 16:45:57.373  10534-10550/de.blinkt.openvpn D/OpenGLRenderer﹕ Enabling 
debug mode 0
02-10 16:46:08.226  10534-10550/de.blinkt.openvpn D/OpenGLRenderer﹕ 
endAllStagingAnimators on 0x5585191030 (RippleDrawable) with handle 0x55851ef5d0
02-10 16:46:31.504  10534-10550/de.blinkt.openvpn D/OpenGLRenderer﹕ 
endAllStagingAnimators on 0x5585281210 (RippleDrawable) with handle 0x5584efb430
02-10 16:46:33.780  10534-10581/de.blinkt.openvpn I/OpenVPN﹕ Starting openvpn
02-10 16:46:33.840  10534-10534/de.blinkt.openvpn I/Choreographer﹕ Skipped 
132 frames!  The application may be doing too much work on its main thread.
02-10 16:46:33.961  10534-10547/de.blinkt.openvpn I/art﹕ Background partial 
concurrent mark sweep GC freed 6599(452KB) AllocSpace objects, 1(20KB) LOS 
objects, 40% free, 10MB/17MB, paused 5.856ms total 43.643ms
02-10 16:46:34.135  10534-10534/de.blinkt.openvpn W/IInputConnectionWrapper﹕ 
finishComposingText on inactive InputConnection
02-10 16:46:34.135  10534-10534/de.blinkt.openvpn W/IInputConnectionWrapper﹕ 
finishComposingText on inactive InputConnection
02-10 16:46:35.139  10534-10580/de.blinkt.openvpn D/openvpn﹕ Loading openvpn 
native library $id$ compiled on Feb  6 2015 17:58:39
02-10 16:46:39.440  10534-10581/de.blinkt.openvpn I/OpenVPN﹕ Giving up
02-10 16:46:39.485  10534-10580/de.blinkt.openvpn I/openvpn﹕ Got unrecognized 
command>FATAL:ERROR: Cannot open TUN
02-10 16:46:39.495  10534-10581/de.blinkt.openvpn I/OpenVPN﹕ Exiting

Original issue reported on code.google.com by falconxb...@gmail.com on 10 Feb 2015 at 9:48

GoogleCodeExporter commented 9 years ago
This bug is know but is in ANdroid itself: 
https://code.google.com/p/android/issues/detail?id=80074

Closing the bug as invalid since ics-openvpn cannot do anything about the bug.

Original comment by arne@rfc2549.org on 11 Feb 2015 at 9:08