Gear-VPN icon indicating copy to clipboard operation
Gear-VPN copied to clipboard

Importing .ovpn results in error "Invalid config file"

Open octoworld opened this issue 1 year ago • 1 comments

Please complete the following information:

  • App Version [e.g. v1.0 (25)] - 1.0 (33) (from Playstore 3rd Sept
  • Affected Device(s) Xiaomi Redmi 6, Android 9

Describe the Bug:

Importing .ovpn results error "Invalid config file"

Selecting CHANGE, IMPORT OPEN-VPN CONFIGURATION, Choose, browse to and select ovpn file.

Expected Behavior:

ovpn imports ok (it works on OpenVPN For Android)

ovpn file:

`client dev tun proto tcp remote 194.35.233.214 443 resolv-retry infinite remote-random nobind tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 persist-key persist-tun ping 15 ping-restart 0 ping-timer-rem reneg-sec 0 comp-lzo no verify-x509-name CN=uk1807.nordvpn.com

remote-cert-tls server

auth-user-pass verb 3 pull fast-io cipher AES-256-CBC auth SHA512 -----BEGIN CERTIFICATE----- .. -----END CERTIFICATE----- key-direction 1

2048 bit OpenVPN static key

-----BEGIN OpenVPN Static key V1----- .. -----END OpenVPN Static key V1----- `

octoworld avatar Sep 03 '22 11:09 octoworld

Yes, I'm aware of this issue. This will take time since I'm busy with other work but this will be fixed in an upcoming update along with other fixes.

KaustubhPatange avatar Sep 03 '22 13:09 KaustubhPatange

not fixed yet?

TonyStark avatar Jan 05 '23 06:01 TonyStark

Really, I'll check and let you know!

KaustubhPatange avatar Jan 05 '23 06:01 KaustubhPatange

yeah. im using version 1.0 (38) even i tried to remove extra character from file name and put .ovpn or .conf config file in /storage/emulated/0 and root folder but getting error "invalid config path"

TonyStark avatar Jan 05 '23 06:01 TonyStark

Can you attach the full file here, or if it is private can you mail me at [email protected]? This would help me to debug the actual issue.

KaustubhPatange avatar Jan 05 '23 07:01 KaustubhPatange

Sent.... Even you can try protonvpn free configs....

TonyStark avatar Jan 05 '23 08:01 TonyStark

@TonyStark I'll update you soon!

KaustubhPatange avatar Jan 05 '23 08:01 KaustubhPatange

Can you try this build of Gear VPN https://github.com/KaustubhPatange/Gear-VPN/suites/10205710287/artifacts/499794228? Basically, it is a zip that contains the apk.

KaustubhPatange avatar Jan 05 '23 18:01 KaustubhPatange

Done :) I have tried with two configs which is successfully loaded in your app and able to connect vpn. :+1:

TonyStark avatar Jan 05 '23 19:01 TonyStark

Great, I've released a new version 1.0 (39) on Google Play with this fix. Thanks for letting me know :)

KaustubhPatange avatar Jan 06 '23 06:01 KaustubhPatange