Created on
03-26-2023
09:55 PM
Edited on
12-12-2025
12:14 AM
By
Jean-Philippe_P
| Description |
This article describes how to troubleshoot FortiGate Cloud Logging unreachable: 'tcps connect error'. FortiGate Cloud central management shows connected, but the FortiGate Cloud logging is unreachable. |
| Scope | FortiGate HA mode. |
| Solution |
Use the command below to check the FortiGate Cloud connection.
diagnose test application miglogd 20
FortiOS v7.2.4 and above:
diagnose test application fgtlogd 20
FGT # diagnose test application miglogd 20
The account is registered:
FGT # diagnose test application forticldd 1
Debug miglogd shows Bound interface index: 0 - tcps connect error:
FGT # diagnose debug application miglogd -1 FGT # 2023-01-11 08:50:08 <299> __get_log_proc_ctx()-955: Warning: vfid=1 max_vfid=16 reqlen=104 logid=14 flags=0x400
Sniffer communication port (TCP port 514) for logging to FortiGate Cloud, logging is sent out via vsys_hamgmt or Reserved Management Interface:
FGT # diagnose sniffer packet any "port 514" 4
This is because 'ha-direct' is enabled. When 'ha-direct' is enabled under HA configuration, all logging services (FortiAnalyzer, FortiGate Cloud, Syslog, etc.) will use the Reserved Management Interface for outgoing traffic. FGT# config system ha set ha-direct enable <--- default setting is disabled.
FGT# config system ha set ha-direct disable If this 'ha-direct' has to be enabled for logging purposes, follow this KB article:
Related documents: Routing data over the HA management interface Managing individual cluster units using a reserved management interface |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.