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.
acardona
Staff
Staff
Article Id 383088
Description This article describes how to correct the issue when the FortiGate shows the error:'-333' via CLI when trying to provision the mobile token.
Scope FortiGate.
Solution

When trying to provision the new mobile token, the error shown by the CLI is '-333'. The debug shows error 503 services Unavailable or response invalid, from CLI when trying to provision the token the error is '-333':

 

To enable debugging:

diagnose fortitoken debug enable
diagnose debug enable

 

ftm_fc_comm_recv_response[239]:response invalid
HTTP/1.1 503 Service Unavailable

 

To disable debugging:

 

diagnose debug disable

 

Verify the following to fix the issue:

  1. If the FortiGate belongs to a cluster, verify the current primary is registered with the FortiToken licenses:

 

config user fortitoken

    edit <Serial number>

    show

 

  1. Change the FortiGuard configuration to the following:

 

config system fortiguard
    set fortiguard-anycast enable
end 

 

After performing these changes, the debug shows the following message:


ftm_fc_comm_recv_response[266]:receive packet success.

ftm_cfg_send_token_activation_code[338]:sent activation code: