OpenVPN Trouble

Support requests about VPN Client Pro
ibaxx
Posts: 9
Joined: Mon Oct 18, 2021 2:05 pm

OpenVPN Trouble

Post by ibaxx »

Hi,

I have used the official openVPN without Problems before I switch to VPN Client Pro.
The goal is to get it running as always on VPN.

It works for hours well and then i got a password entry message.
This is like a loop then and it is not possible to authenticate again.

when I turn off wifi it works instantly.
turn on wifi i got the loop back.

the official openVPN app has no issues. only broken sometimes on switching networks.
admin
Site Admin
Posts: 714
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: OpenVPN Trouble

Post by admin »

Hello,

please, can you post the VPN log?
ibaxx
Posts: 9
Joined: Mon Oct 18, 2021 2:05 pm

Re: OpenVPN Trouble

Post by ibaxx »

Code: Select all

2021-10-19 08:58:52 VpnClientPro-google-api27-release-1.00.92 (23010092)
2021-10-19 08:58:52 Connecting request by user
2021-10-19 08:58:52 OpenVPN 2.4.9 android-arm64-v8a [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Sep 15 2021
2021-10-19 08:58:52 library versions: OpenSSL 1.1.1l  24 Aug 2021, LZO 2.10
2021-10-19 08:58:52 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2021-10-19 08:58:53 TCP/UDP: Preserving recently used remote address: [AF_INET]77.XXX.254.10:1194
2021-10-19 08:58:53 UDPv4 link local (bound): [AF_INET][undef]:1194
2021-10-19 08:58:53 UDPv4 link remote: [AF_INET]77.XXX.254.10:1194
2021-10-19 08:58:53 [XXX.de] Peer Connection Initiated with [AF_INET]77.XXX.254.10:1194
2021-10-19 08:58:54 AUTH: Received control message: AUTH_FAILED
2021-10-19 08:58:54 SIGUSR1[soft,auth-failure] received, process restarting
2021-10-19 08:59:08 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2021-10-19 08:59:08 TCP/UDP: Preserving recently used remote address: [AF_INET]77.XXX.254.10:1194
2021-10-19 08:59:08 UDPv4 link local (bound): [AF_INET][undef]:1194
2021-10-19 08:59:08 UDPv4 link remote: [AF_INET]77.XXX.254.10:1194
2021-10-19 08:59:09 [XXX.de] Peer Connection Initiated with [AF_INET]77.XXX.254.10:1194
2021-10-19 08:59:10 AUTH: Received control message: AUTH_FAILED
2021-10-19 08:59:10 SIGUSR1[soft,auth-failure] received, process restarting
2021-10-19 08:59:26 Disconnecting request by user
2021-10-19 08:59:26 Disconnecting...
2021-10-19 08:59:26 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2021-10-19 08:59:26 TCP/UDP: Preserving recently used remote address: [AF_INET]77.XXX.254.10:1194
2021-10-19 08:59:26 UDPv4 link local (bound): [AF_INET][undef]:1194
2021-10-19 08:59:26 UDPv4 link remote: [AF_INET]77.XXX.254.10:1194
2021-10-19 08:59:26 SIGINT[soft,] received, process exiting
ibaxx
Posts: 9
Joined: Mon Oct 18, 2021 2:05 pm

Re: OpenVPN Trouble

Post by ibaxx »

the same .opvn works great with the official openvpn app...
but always on did not work
admin
Site Admin
Posts: 714
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: OpenVPN Trouble

Post by admin »

The problem is related to this error:
2021-10-19 08:59:10 AUTH: Received control message: AUTH_FAILED
This error is sent by the server side. When the app receive this error it request a new user/password.

You can change this behavior by setting the option "Set retries before request new password" with a value greater than 1.
You can find this option in the VPN profile's "Authentication" section.

In this way the app will try to authenticate with the same password, so if the server problem is temporary the VPN will be connected on the next tries.
ibaxx
Posts: 9
Joined: Mon Oct 18, 2021 2:05 pm

Re: OpenVPN Trouble

Post by ibaxx »

Hi,

I have tried this option and it did not work a few days ago... it stucks in a loop till the count is reached.
The strange thing is that the openvpn app connects without problems.
ibaxx
Posts: 9
Joined: Mon Oct 18, 2021 2:05 pm

Re: OpenVPN Trouble

Post by ibaxx »

it looks like a network based behavior... it happens every time in the same network
admin
Site Admin
Posts: 714
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: OpenVPN Trouble

Post by admin »

Are you sure that the save user/password are correct?
Can you try to switch the VPN to TCP protocol?
ibaxx
Posts: 9
Joined: Mon Oct 18, 2021 2:05 pm

Re: OpenVPN Trouble

Post by ibaxx »

I am sure... it happens also when i connect to this network with vpn on...
What do you mean to change the protocol? where is the option?
admin
Site Admin
Posts: 714
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: OpenVPN Trouble

Post by admin »

On the client side you can follow these steps:
  • edit VPN profile
  • tap on "Remote servers
  • tap on server's ip/hostname
  • set the Protocol to TCP
  • save the changes
Anyway this change works only if the server side is configured with the same protocol
Post Reply