The terminology used in this document: 'FDS' = FortiGate AV/IPS. Troubleshooting:
This issue arises when the FortiManager/FortiAnalyzer is already registered on the FortiCare Support Portal but is not able to reach the FortiGuard servers to verify the registration information.
 Â Check if FortiManager/FortiAnalyzer is connected to the internet to communicate with the FortiGuard server. Access FortiManager via SSH/console and try:
execute ping usfds1.fortinet.com
 Check if the FortiManager/FortiAnalyzer is getting the FortiGuard server's IP address:
diagnose fmupdate view-serverlist fds
 Â Check the FDS logs:
diagnose fmupdate view-linkd-log fds
Logs for an FDS connection error:
 Â Resolution: Make sure to allow port 443 communication to the following domains: usforticlient.fortinet.net. forticlient.fortinet.net. usfds1.fortinet.com. fds1.fortinet.com. In case FortiManager/FortiAnalyzer is using a web-proxy, make sure the proxy config is correct; otherwise, disable the web-proxy:
config system web-proxy
  set status disable
end
 Restart the FDS service from the FortiManager/FortiAnalyzer CLI:
diagnose fmupdate service-restart fds
 Â Check the FortiGuard server's IP address again. It should show multiple IP addresses:
diagnose fmupdate view-serverlist fds
 Â Check the FDS logs again. This time the communication should be successful:
diagnose fmupdate view-linkd-log fds

Change the USG configuration and check the FortiGuard server's IP address again:
config system global
usg disable
end
Try logging into FortiManager/FortiAnalyzer again and rebooting the FortiManager/FortiAnalyzer. Registration should not be requested this time. If it still shows the error, wait for a few minutes:

 Â Note: This is also useful in cases where a license is added/renewed for FortiManager/FortiAnalyzer but is not reflected on the device due to a FortiGuard communication error. Additionally, FortiAnalyzer may throw the following error while upgrading it:
This FortiAnalyzer does not have a valid Firmware Contract for upgrading/downgrading to another major/minor version
If this occurs, contact Fortinet Support and provide them with a TAC report CLI output as well as the output of the above diagnose command.
execute tac report
Related articles:
Technical Tip: Verifying FortiGuard connectivity on FortiManager Technical Tip: How to get FortiGuard server IP and connect port Troubleshooting Tip: Resolving a FortiCare and SSO pop-up error with FortiManager registration |