5 seconds timeout when connecting

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
sorin
OpenVpn Newbie
Posts: 4
Joined: Thu Dec 24, 2020 10:47 am

5 seconds timeout when connecting

Post by sorin » Thu Dec 24, 2020 10:49 am

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.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: 5 seconds timeout when connecting

Post by TinCanTech » Thu Dec 24, 2020 2:20 pm

Are you meaning "TAP sleep" ?

sorin
OpenVpn Newbie
Posts: 4
Joined: Thu Dec 24, 2020 10:47 am

Re: 5 seconds timeout when connecting

Post by sorin » Thu Dec 24, 2020 4:31 pm

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.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: 5 seconds timeout when connecting

Post by TinCanTech » Thu Dec 24, 2020 4:38 pm

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 ?

sorin
OpenVpn Newbie
Posts: 4
Joined: Thu Dec 24, 2020 10:47 am

Re: 5 seconds timeout when connecting

Post by sorin » Thu Dec 24, 2020 5:55 pm

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

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: 5 seconds timeout when connecting

Post by TinCanTech » Thu Dec 24, 2020 8:10 pm

> 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

sorin
OpenVpn Newbie
Posts: 4
Joined: Thu Dec 24, 2020 10:47 am

Re: 5 seconds timeout when connecting

Post by sorin » Thu Dec 24, 2020 9:09 pm

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!

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: 5 seconds timeout when connecting

Post by TinCanTech » Thu Dec 24, 2020 9:27 pm


Post Reply