Created on
‎09-23-2024
05:15 AM
Edited on
‎02-12-2025
12:58 AM
By
Jean-Philippe_P
Description | This article describes steps to troubleshoot FortiAP (FAP) appearing offline on FortiEdge. |
Scope | Applies to FortiAP devices. |
Solution |
To resolve FortiAP offline issues, follow these steps:
ping 8.8.8.8
If the AP can successfully ping 8.8.8.8, the next step is to ensure it can reach the FortiEdge network. To find the FortiEdge network IP:
Example: nslookup caapportal004-1.fortiedge.forticloud.com Server: ns1.aedub.fortinet-emea.com Address: 10.230.12.2
Non-authoritative answer: Name: caapportal004-1.fortiedge.forticloud.com Address: 66.35.19.164 <- This is the cloud IP.
Example:
AP# cld
Make sure the AP update is successful.
"AC_IP AC_PORT NEXT_REQ AC_TYPE" in /cfg/ftnt/wtp.cldc.acow can be used to overwrite cloud ac info to debug.
If the AP can reach the cloud IP, still offline, change the discovery mode to the following type : Type 1: Set discovery type to FortiEdge cloud mode:
cfg -a AC_DISCOVERY_TYPE=7
In this mode, the FortiAP performs a DNS lookup for a hardcoded cloud AP controller hostname and discovers the cloud IP address via HTTPS.
Type 2: Configure the AP to use cloud IP as its discovery IP by issuing the following commands in the FortiAP CLI:
cfg -a AC_DISCOVERY_TYPE=1 cfg -a AC_IPADDR_1=<cloud IP> <- Replace <cloud IP> with the actual cloud IP (e.g., 66.35.19.164). cfg -c
By setting the correct cloud IP, the AP should be able to connect to FortiEdge.
Note: The static discovery IP is a workaround in case the AP cannot discover the cloud. In case of any change where it is necessary to deploy the AP in another network or domain, it will be necessary to change this discovery IP on the AP or the discovery mode to auto.
The AP will attempt to first discover the Cloud by contacting the dispatcher apctrl1.forticloud.com over HTTPS. The dispatcher will determine if this AP is being actively managed by Cloud and if so, redirect the AP to the AP portal server instance where the configuration for the AP is stored.
The AP will then establish a capwap protocol connection to the AP portal server, using ports 5246 and 5247. For the discovery process to succeed, all relevant ports must be opened at the customer site to allow the AP to communicate with the Cloud.
As a troubleshooting step, try to perform a packet capture on the Cloud, using the 'Capture Packet' utility available under the 'Tools' section in the Diagnostics and Tools view for an AP. The discovery request should proceed through the following steps:
For additional details, refer to the following documentation: |
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.