After upgrading to 0.5.1, it fails to connect nor give any log entries.
What steps will reproduce the problem?
1. Launch app
2. Connect to any VPN profile
Upon trying to connect, you see in the log window: "Building configuration..."
and nothing else.
From logcat, you get:
W/System.err(15347): java.io.IOException: Error running exec(). Command:
[/data/data/de.blinkt.openvpn/cache/openvpn, --config,
/data/data/de.blinkt.openvpn/cache/android.conf, script-security, 0] Working
Directory: null Environment: [ANDROID_SOCKET_zygote=9, ANDROID_BOOTLOGO=1,
EXTERNAL_STORAGE=/mnt/sdcard, ANDROID_ASSETS=/system/app,
PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin,
ASEC_MOUNTPOINT=/mnt/asec, LOOP_MOUNTPOINT=/mnt/obb,
BOOTCLASSPATH=/system/framework/core.jar:/system/framework/core-junit.jar:/syste
m/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framewo
rk.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/syst
em/framework/apache-xml.jar:/system/framework/filterfw.jar, ANDROID_DATA=/data,
LD_LIBRARY_PATH=/vendor/lib:/system/lib:/data/data/de.blinkt.openvp
What version of the product are you using? On what operating system?
OpenVPN for Android 0.5.1
Android: 4.0.3 ICS
It appears that only the path to the "minivpn" executable is wrong:
diff -r 2a3798595819 src/de/blinkt/openvpn/VpnProfile.java
--- a/src/de/blinkt/openvpn/VpnProfile.java Thu May 10 00:56:14 2012 +0200
+++ b/src/de/blinkt/openvpn/VpnProfile.java Thu May 10 17:50:25 2012 +1000
@@ -357,7 +357,7 @@
// Add fixed paramenters
//args.add("/data/data/de.blinkt.openvpn/lib/openvpn");
- args.add(cacheDir.getAbsolutePath() +"/" +"openvpn");
+ args.add(cacheDir.getAbsolutePath() +"/" +"minivpn");
args.add("--config");
args.add(cacheDir.getAbsolutePath() + "/" + OVPNCONFIGFILE);
Original issue reported on code.google.com by dre...@gmail.com on 10 May 2012 at 7:53
Original issue reported on code.google.com by
dre...@gmail.com
on 10 May 2012 at 7:53