FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
guptas
Staff
Staff
Article Id 194503

Description


This article describes the reason behind the Header message 'FortiGate time is out of sync' seen from GUI even when the NTP status is synced.

 

Scope

 

FortiGate.

Solution


Simplify the date/time conversions by using standard IANA Time Zone Database names in order to display date/time in the browser in the correct display timezone.

Further simplified and streamlined how timezone offsets are calculated in the case that manual offset needs to be applied either for displaying a FortiGate string timestamp or saving one from the dialog.

UTC Timestamps will be able to be displayed as is, without any processing simply by using 'formatDateTime()' function from Neutrino/gui_shared.

Added a platform warning in the header to let the user know that the FortiGate time is out of sync with real time when manual time is set and it is off by more than two minutes.

17212023sdsd58153 - Copy.png

 

 
Hence, If the system time is set manually to reduce the time difference between client system and FortiGate to below 2 minutes, it  will remove the the header message 'FortiGate time is out of sync'seen from GUI. Also check with the computer machine on which the FortiGate being accessed is in the same time zone; if the computer machine time is different in the FortiGate set time zone, it will also show the time is out of sync.
 
 
  • If the issue persists please run the below command to verify the NTP status and servers it is updating: 
 

diagnose sys ntp status

 

diagnose debug reset
diagnose debug disable
diagnose debug console timestamp enable
diagnose debug application ntpd -1

diagnose debug enable 

 

diagnose debug disable  ==========> to disable the logging.

 

Related articles:

Technical Tip: Setting up an NTP server and an NTP client using two FortiGates

Technical Tip: Troubleshoot NTP synchronization issue

Technical Tip: Configuring a FortiGate unit as a NTP server