Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong openvpn program path in 0.5.1 #16

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 1 comment
Closed

Wrong openvpn program path in 0.5.1 #16

GoogleCodeExporter opened this issue Mar 19, 2015 · 1 comment
Labels

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 10 May 2012 at 7:53

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision 694f7c58a6bd.

Original comment by [email protected] on 10 May 2012 at 9:00

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant