Skip to main content
ebilcari
Staff
Staff
May 12, 2025

Troubleshooting Tip: Captive portal not reachable after FortiNAC upgrade: 'Service Unavailable'

  • May 12, 2025
  • 0 replies
  • 489 views
Description

This article describes an issue that may affect setups that are upgraded from firmware v9.x running in CentOS to firmware v7.x running in FortiNAC-OS. The captive portal is not reachable, the reason (error 503):

'Service Unavailable.

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.'

Scope FortiNAC.
Solution

This issue is caused by the service not binding to the port (8009). This can be checked by running the following command from the CLI:

 

execute enter-shell

$ netstat -an | grep 8009
tcp6 0 0 127.0.0.1:8009 :::* LISTEN  <--- This line.

 

If the line is missing, that means that the service is not listening on that port, and the portal page will not be reachable. This is caused by a configuration parameter that was used in older versions of FortiNAC and should not be used anymore.

 

The second check is done directly to the database by running the following command:

 

execute db-shell

MariaDB [bsc]> select useNativeTransport from PAPacketTransportConfig;
+--------------------+
| useNativeTransport |
+--------------------+
|                  1 |
+--------------------+

 

If the output is showing the value '1', open a ticket with TAC support and reference this article.

 

This can be avoided by disabling the option 'Use Native Transport (experimental)' before proceeding with the migration. The details are shown below:

 

flag1.png

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!