Page 1 of 2

OpenVPN Trouble

Posted: Mon Oct 18, 2021 2:15 pm
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.

Re: OpenVPN Trouble

Posted: Mon Oct 18, 2021 6:45 pm
by admin
Hello,

please, can you post the VPN log?

Re: OpenVPN Trouble

Posted: Tue Oct 19, 2021 7:54 am
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

Re: OpenVPN Trouble

Posted: Tue Oct 19, 2021 8:00 am
by ibaxx
the same .opvn works great with the official openvpn app...
but always on did not work

Re: OpenVPN Trouble

Posted: Tue Oct 19, 2021 2:12 pm
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.

Re: OpenVPN Trouble

Posted: Tue Oct 19, 2021 2:32 pm
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.

Re: OpenVPN Trouble

Posted: Tue Oct 19, 2021 2:33 pm
by ibaxx
it looks like a network based behavior... it happens every time in the same network

Re: OpenVPN Trouble

Posted: Tue Oct 19, 2021 2:53 pm
by admin
Are you sure that the save user/password are correct?
Can you try to switch the VPN to TCP protocol?

Re: OpenVPN Trouble

Posted: Thu Oct 21, 2021 1:02 pm
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?

Re: OpenVPN Trouble

Posted: Thu Oct 21, 2021 6:46 pm
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