Skip to main content
akawade
Staff
Staff
Sep 22, 2020 12:30 PM UTC

Technical Tip: System event as 'Scanunit failed due to internal error: Content decode failed'

  • Apr 24, 2026 11:47 AM UTC
  • 0 replies
  • 5989 views
  • Translate All

Description


This article provides information on particular system events which can be seen.

 

Scope

 

FortiGate.

Solution


If the AV profile is applied in policy there can be some random websites which can be blocked and below system event can be observed for the traffic:

'Scanunit failed due to internal error: Content decode failed'

The error can be due to the HTTP inspection enabled in the AV profile.
There can be some web-traffic which use some random port instead of port 80 only, so the traffic is blocked which uses that port when HTTP enabled.

To avoid this the HTTP have to be disabled in AV profile.
Run the below command in AV profile which has been applied in policy:

 

config antivirus profile
    edit <antivirus profile name>
config http
    set av-optimize disable
end

 

  •  Monitor the web-traffic and re-check the system event. The failed error is resolved.
  • Apart from this, check the AV engine with the below command and make sure that the unit has AV engine later to v6.130. Upgrade the AV engine, if required.

 

diag autoupdate versions

 

  • It was the known behavior/bug which is resolved in v6.2.2. If the FortiGate firmware version is below v6.2.2, plan to upgrade the unit to 6.2.2 or later.

Note:

The option 'set av-optimize' has been removed from v6.2.2 CLI and above:
Configure AntiVirus profiles
Configure AntiVirus profiles

Configure AntiVirus profiles

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024