# Auth timestamp expired - client fails to reconnect

**URL:** <https://forum.pritunl.com/t/auth-timestamp-expired-client-fails-to-reconnect/512>\
**Category:** Pritunl VPN\
**Tags:** pritunl-client\
**Created:** [November 2, 2022, 3:43pm UTC](https://forum.pritunl.com/t/auth-timestamp-expired-client-fails-to-reconnect/512 "2022-11-02T15:43:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![anekos](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/8e7dd6/32.png) [@anekos](https://forum.pritunl.com/u/anekos)\
**Post date:** [November 3, 2022, 8:17am UTC](https://forum.pritunl.com/t/auth-timestamp-expired-client-fails-to-reconnect/512/3 "2022-11-03T08:17:06Z")

</div>

Hi Zach,

Do you mean 2fa authentication?  
These clients are set to bypass secondary authentication.  
We use pritunl on our production (headless) linux servers, so 2fa authentication is not an option.

The issues mostly appear every 30 days when the client tries to re-authenticate / reconnect?

On the profile audit we see the following error message:  
`User connection to "prod-vpn" denied. Auth timestamp expired`

From the audit log below only the last connection (Nov 2 16:18) was done manually, the rest were done by the system.  
Both the clients and server are set to UTC.

 ![Screenshot from 2022-11-03 09-14-01](https://forum-static.pritunl.com/original/1X/3d127b9e09f681c7ae79daffbc9491a94bf660f8.png)

Edit:  
I just saw that a similar question is asked here:

> [@Auth\_time\_window](https://forum.pritunl.com/t/auth-time-window/459):
>
> Hi, One of my users is having an issue with the auth time window. They’re audit logs show the User connection to “%s” denied. Auth timestamp expired error. Wondering how to increase the settings.app.auth\_time\_window value? [pritunl/authorizer.py at master · pritunl/pritunl (github.com)](https://github.com/pritunl/pritunl/blob/master/pritunl/authorizer/authorizer.py#L352)

Our server has the default value for the setting, which is 12 hours:

```auto
$ sudo pritunl get app.auth_time_window
app.auth_time_window = 43200

```

Regards,  
Anestis

---

_[View the full topic](https://forum.pritunl.com/t/auth-timestamp-expired-client-fails-to-reconnect/512)._
