Page 1 of 1

AUTH_FAIL on reconnect

Posted: Tue Oct 02, 2018 6:43 pm
by frodrick
PLEASE update client to run disconnect script when this happens (auth_failed on reconnect or loss of connection)

So here is the problem, im guessing my VPN provider did some maintinence or something like that.
And when i woke up this morning i had a loginwindow to reenter my credetials, but there were no issues really.
So to the problem.
I have a open and close batch file that runs on connection and disconnects to open and close my torrent client.

BUT when this happens it do not run the disconnect file. i loose VPN but my torrent keeps running.
Code: Select all
okt 02 02:01:48: [] Inactivity timeout (--ping-restart), restarting
okt 02 02:01:48: ROUTE: route deletion failed using DeleteIpForwardEntry: Element not found.  
okt 02 02:01:48: env_block: add PATH=C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
okt 02 02:01:48: SIGUSR1[soft,ping-restart] received, process restarting
okt 02 02:01:48: State changed to Connecting
okt 02 02:01:49: Checking remote host "" is reachable...
okt 02 02:01:49: Server reachable. Connecting to
okt 02 02:01:50: WARNING: --ns-cert-type is DEPRECATED.  Use --remote-cert-tls instead.
okt 02 02:01:50: TCP/UDP: Preserving recently used remote address: [AF_INET]
okt 02 02:01:50: UDP link local: (not bound)
okt 02 02:01:50: UDP link remote: [AF_INET]
okt 02 02:01:50: State changed to Authenticating
okt 02 02:01:50: [] Peer Connection Initiated with [AF_INET]
okt 02 02:01:52: State changed to Connecting
okt 02 02:01:52: AUTH: Received control message: AUTH_FAILED
So either provide a solution for this or update client to run script on auth_failed on reconnects and connection losses.

// Frodrick

Re: AUTH_FAIL on reconnect

Posted: Wed Oct 03, 2018 11:24 am
by Eric
Hi Frodrick,

This happens when the connection drops and your VPN Provider only allows a single connection per username/password at a time, their system does not clear your last login quick enough so authentication can fail once or multiple times. There's a few solutions to this.

The easiest is to add the following to the advanced section of your connection on a new line:
Code: Select all
remap-usr1 SIGTERM
When a dropout happens for any reason, this will cause the connection to disconnect instead of trying to reconnect, meaning your scripts will run and you won't get stuck at the authentication dialog.

We also recommend you have a read of the following - ... ect-occurs


Re: AUTH_FAIL on reconnect

Posted: Thu Oct 04, 2018 6:36 pm
by frodrick
Gonna give it a try and hope it wont happen again :)