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.
Ted
Staff
Staff
Article Id 250272

Description

 

This article describes how to troubleshoot when changing the HA settings generates this error

'The error creating CMDBError: Expected response argument to be an object or string, got null'.

This is a general message that signals the command issued by GUI cannot be applied in CLI because it is missing an argument.

Some sanity checks cannot be performed in GUI, so the error can only be shown once the unit saves the config.

 

In this case, the problem discussed is related to HA settings, but the above error can occur in other menus or situations.

 

If FGSP is reverted to FGCP without unsetting 'standalone-config-sync', the CMDBError message occurs on the GUI as below.

 

Ted_0-1679707548562.png

Scope

 

FortiGate.

 

Solution

 

Run a CLI command below to check if HA settings to perform FGCP are set correctly. 

 

show system ha

config system ha

    set group-id <id>
    set group-name <name>
    set password ENC <password>
    set hbdev <port1> 100 <port2> 100
    set standalone-config-sync enable <----- Needs to unset this config.
    set override disable
    set priority <priority>
    set monitor <port1> <port2>

end

 

If the 'standalone-config-sync' is enabled, it is not possible to revert to FGCP, so it is necessary to unset the config for the unit to be added to an HA cluster.