Troubleshooting Tip: The FortiGate Web GUI is not loading any content and appears unresponsive
Description
This article describes troubleshooting steps for cases where the FortiGate Web GUI does not load any content.
Scope
FortiGate, FortiGate 6k-7k.
Solution
The FortiGate 6K chassis Web GUI is not loading. See the screenshot below for an example:

The content does not load and gets stuck at the same page in the loading state. This issue is not only for a specific page but for most of the firewall settings.
The Fortinet Support tool can be used to collect the logs while opening the FortiGate GUI.
Technical Tip: Fortinet Support Tool, Google Chrome Extension for troubleshooting GUI issues
Once the logs have been captured, the following information can be observed.
API error 500 raised:

The API error was generated because FortiGate was not able to query product.api.fortinet.com

Similar logs are present in most of the capture output.

Execute the following command to fix this issue:
config system global
set gui-fortiguard-resource-fetch disable
end
If FortiGate does not have access to the internet, some GUI pages do not load immediately because it tries to fetch external resources like JSON files, CSS files, and images from the product API server. If the product API server is not reachable from FortiGate, the fetch requests fail after a timeout. This causes a delay.
