Title: 2fa Server Time Error
Last modified: May 15, 2019

---

# 2fa Server Time Error

 *  [dloprodz](https://wordpress.org/support/users/dloprodz/)
 * (@dloprodz)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/2fa-server-time-error/)
 * Running a CentOS 7 server on a VPS.
 * Checked the server time through ssh shell, checked PHP.ini configuration, checked
   WordPress General Settings. All display my correct local time.
 * When accessing the Login Security/Two-Factor authentication page on the WordPress
   admin page, the server time displayed at the bottom shows UTC time, which is 
   not the same as displayed in any of the other checks I made. As a result I can’t
   activate 2fa.
 * Please help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F2fa-server-time-error%2Fpage%2F3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 31 through 40 (of 40 total)

[←](https://wordpress.org/support/topic/2fa-server-time-error/page/2/?output_format=md)
[1](https://wordpress.org/support/topic/2fa-server-time-error/?output_format=md)
[2](https://wordpress.org/support/topic/2fa-server-time-error/page/2/?output_format=md)
3

 *  [maxf3d](https://wordpress.org/support/users/maxf3d/)
 * (@maxf3d)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-11905079)
 * Any updates? Still looking for a solution. It is 7 hours difference and 2FA not
   working…
 *  [dfilchak](https://wordpress.org/support/users/dfilchak/)
 * (@dfilchak)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-12063889)
 * I am having this same issue. Unable to activate 2FA. Curiously though, I have
   two sites on the same server. One functions correctly with no issues with 2FA.
   Here is the time stamp on the Login Security page:
 * Server Time: 2019-10-25 04:03:46 UTC (2019-10-24 23:03:46 UTC-5)
    Browser Time:
   Fri, 25 Oct 2019 04:03:59 GMT (Fri Oct 25 2019 00:03:59 GMT-0400 (Eastern Daylight
   Time)) Corrected Time (WF): 2019-10-25 04:03:57 UTC (2019-10-24 23:03:57 UTC-
   5)
 * On the site where 2FA is not functioning (remember, same server) here is the 
   time stamp:
 * Server Time: 2019-10-25 04:02:27 UTC (2019-10-25 00:02:27 America/Toronto)
    Browser
   Time: Fri, 25 Oct 2019 04:02:39 GMT (Fri Oct 25 2019 00:02:39 GMT-0400 (Eastern
   Daylight Time)) Corrected Time (WF): 2019-10-25 04:02:38 UTC (2019-10-25 00:02:
   38 America/Toronto)
 * So I went to settings and rather than set it to Toronto, where I am, I set it
   to UTC-4 and then the time was correct. However, 2FA STILL would not activate.
 * And the other curious thing is that 2FA WAS working previously but then all of
   a sudden, I would try to log in and get a warning that I had to enter my security
   code when required but that request never showed up.
 * Something definitely amiss.
    Dave
 *  [punkum](https://wordpress.org/support/users/punkum/)
 * (@punkum)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-12120408)
 * I’m not having any success either.
 * Server Time: 2019-11-12 00:43:55 UTC (2019-11-12 11:43:55 Australia/Sydney)
    
   Browser Time: Tue, 12 Nov 2019 00:43:58 GMT (Tue Nov 12 2019 11:43:58 GMT+1100(
   Australian Eastern Daylight Time))
 * Getting code via my mobile phone and the Symantec VIP Access code generator app.
 * Just keeps saying wrong code, check server time.
 *  [bpevrancken](https://wordpress.org/support/users/bpevrancken/)
 * (@bpevrancken)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-12399759)
 * Hi, I experienced the same issue. I solved it by synchronising (“synchronise 
   now”) the authentication app instead of looking for a solution in my wordpress
   time settings.
    Bart
 *  [ocglimited](https://wordpress.org/support/users/ocglimited/)
 * (@ocglimited)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-12518263)
 * Same problem…using latest Wordfence (7.4.6)and WP. Also confirmed in Wordfence
   Tools Diagnostics that times all match +/- 1 sec.
 * Any solutions yet?
 *  [BenLinders](https://wordpress.org/support/users/benlinders/)
 * (@benlinders)
 * [6 years ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-12736390)
 * Also having this problem. Using Wordfence 7.4.7. which shows server time as UTC
   in 2FA, while local time in the Netherlands is UTC+2.
 * Anybody from Wordfence in this forum who can help us?
 *  [Mr Lucky](https://wordpress.org/support/users/voodoochill/)
 * (@voodoochill)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-12903721)
 * I am having this problem also. I’m using Authy and it works fine on three other(
   non-Wordpress/Wordfence) sites I am administering. Those sites are running xenforo
   forum software so I can only think the issue is with Wordfence.
 * My WordPress Time settings are correctly set to my location (London). It would
   seem that xenForo is correctly reading the Server time (which is London) , while
   Wordfence is incorrectly reading the server time.
 *  [pstansbu](https://wordpress.org/support/users/pstansbu/)
 * (@pstansbu)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-13123286)
 * I’m having this problem too. I use Google authenticator – this is fine logging
   in to the site with Plesk but not on the WordPress side..
 * Server Time: 2020-07-14 19:52:30 UTC (2020-07-14 20:52:30 Europe/London)
    Browser
   Time: Tue, 14 Jul 2020 19:52:31 GMT (Tue Jul 14 2020 20:52:31 GMT+0100 (BST))
 *  [toddtemple2](https://wordpress.org/support/users/toddtemple2/)
 * (@toddtemple2)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-13324451)
 * I believe this may be the solution:
 * After making timezone changes to the Settings -> General -> Timezone and saving
   those changes, I deleted the existing entry in my Google Authenticator app and
   then rescanned the QR barcode.
 * It’s working now.
 *  [BenLinders](https://wordpress.org/support/users/benlinders/)
 * (@benlinders)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-13324765)
 * I first synchronized the authenticator, then I rescanned and replaced it in the
   authenticator app. Now it’s working.

Viewing 10 replies - 31 through 40 (of 40 total)

[←](https://wordpress.org/support/topic/2fa-server-time-error/page/2/?output_format=md)
[1](https://wordpress.org/support/topic/2fa-server-time-error/?output_format=md)
[2](https://wordpress.org/support/topic/2fa-server-time-error/page/2/?output_format=md)
3

The topic ‘2fa Server Time Error’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [2fa](https://wordpress.org/support/topic-tag/2fa/)

 * 40 replies
 * 6 participants
 * Last reply from: [BenLinders](https://wordpress.org/support/users/benlinders/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/2fa-server-time-error/page/3/#post-13324765)
 * Status: not resolved