Page 1 of 1

Control Restart Pause value on OpenVPN Service client (now 300 seconds)

Posted: Fri Sep 15, 2017 5:45 am
by lexios
Hello,

we recently updated the OpenVPN client on Windows to version 2.4.3.1601

We are installing the software with just the OpenVPN Service and TAP interface and connections are transparent to the end users.

We are now facing a problem where the Restart Pause is very high. In the past it was some seconds and the client was retrying.
Now the end users need to wait and they don't see anything happening leading them to believe that something is not working.

Is there a way to control this value via the registry or otherwise? Registry would be preferable.

Thu Sep 14 18:06:00 2017 Attempting to establish TCP connection with [AF_INETxx.xx.xx.xx:yyyy [nonblock]
Thu Sep 14 18:08:00 2017 TCP: connect to [AF_INET]xx.xx.xx.xx:yyyy failed: Connection timed out (WSAETIMEDOUT)
Thu Sep 14 18:08:00 2017 SIGUSR1[connection failed(soft),init_instance] received, process restarting
Thu Sep 14 18:08:00 2017 Restart pause, 300 second(s)


Thank you!
Alex

Re: Control Restart Pause value on OpenVPN Service client (now 300 seconds)

Posted: Thu Oct 05, 2017 5:34 am
by lexios
Anyone? This was changed on a recent version so there must be a way to control this.

Re: Control Restart Pause value on OpenVPN Service client (now 300 seconds)

Posted: Thu Jun 07, 2018 8:28 pm
by puneet
Any update on this? I'm using v2.5 and would like to minimize the restart pause value to a minute (and make sure it loops for infinite).

Re: Control Restart Pause value on OpenVPN Service client (now 300 seconds)

Posted: Thu Jun 07, 2018 8:57 pm
by TinCanTech
See --connect-retry n [max] in the manual :mrgreen:

Re: Control Restart Pause value on OpenVPN Service client (now 300 seconds)

Posted: Fri Jun 08, 2018 12:07 am
by puneet
Great thanks! I added it to the conf file and its working...