Page 1 of 1
5 seconds timeout when connecting
Posted: Thu Dec 24, 2020 10:49 am
by sorin
Hello,
I have setup a few OpenVPN connections on my Windows 10 machine, using OpenVPN client 2.4.10
When I connect to an OpenVPN server you are prompted with the username/password box. I have setup the account and saved password. But everytime I connect you'll get a 5 second countdown before it actually connects. Can that be changed? Or removed? I just want to connect right away and not wait 5 seconds.
Re: 5 seconds timeout when connecting
Posted: Thu Dec 24, 2020 2:20 pm
by TinCanTech
Are you meaning "TAP sleep" ?
Re: 5 seconds timeout when connecting
Posted: Thu Dec 24, 2020 4:31 pm
by sorin
No, I configured user & password auth and "Save password" option checked.
There is a timer countdown from 5 sec on initial connection and every 1 hour while connection is up that window appear for reauth with the timer contdown.
Re: 5 seconds timeout when connecting
Posted: Thu Dec 24, 2020 4:38 pm
by TinCanTech
sorin wrote: ↑Thu Dec 24, 2020 4:31 pm
There is a timer countdown from 5 sec on initial connection
I don't know what you mean .. please post your client log file.
sorin wrote: ↑Thu Dec 24, 2020 4:31 pm
every 1 hour while connection is up that window appear for reauth
That is normal and can be configured with --reneg-sec
sorin wrote: ↑Thu Dec 24, 2020 4:31 pm
with the timer contdown
Do you mean the GUI has a timeout to enter the password ?
Re: 5 seconds timeout when connecting
Posted: Thu Dec 24, 2020 5:55 pm
by sorin
yes, the GUI has this timeout. Is a small window with username and password and at the bottom the "Save password" option
I don't find how to attach a picture (screen capture) to see what is all about
Re: 5 seconds timeout when connecting
Posted: Thu Dec 24, 2020 8:10 pm
by TinCanTech
> the "enter user/pass timeout" can be configured.
>
The way it works is like this: if username/password is available, the
dialog window is prefilled and displayed for 6 seconds. If during that time
the user clicks on the window, the timeout is cancelled and the dialog
stays on the screen until manually submitted. Otherwise it's
auto-submitted after the 6 seconds timeout.
The 6 seconds value is not configurable. If silent-connection is enabled
the dialog is not shown which is internally handled by making the timeout
zero.
Selva
Re: 5 seconds timeout when connecting
Posted: Thu Dec 24, 2020 9:09 pm
by sorin
ok, I get it. I thought that is a way to configure this timeout. I will use the silent connection then.
Thank you very much!
And Merry Christmas to everyone!
Re: 5 seconds timeout when connecting
Posted: Thu Dec 24, 2020 9:27 pm
by TinCanTech