Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
nmaeyama
New Contributor

Your session is about to timeout

I logged in with an admin account to monitor the Fortigate interface, but after 10 minutes the account automatically logged out ( if not in use ). i created a secondary account but after using it for a few months, the same error occurred again.

is there any way to guite me to fix it?

 

 

1 REPLY 1
atakannatak
Contributor II

Hi @nmaeyama ,

 

If traffic or keystrokes keep the session active, the countdown is continually reset and the GUI/CLI stays open indefinitely. There is no built-in “hard” (absolute) logout timer that ends an admin session after a fixed age while it is still busy; you would have to script a manual diagnose sys admin kill if you need that behaviour.

 

These below documents confirm that FortiGate only enforces an idle-timeout mechanism and that valid values are 1–480 minutes; no absolute-timeout option exists.

 

https://docs.fortinet.com/document/fortigate/7.2.7/cli-reference/1620/config-system-global

 

https://docs.fortinet.com/document/fortigate/7.6.3/administration-guide/215451/setting-the-idle-time...

 

Given the circumstances, there are two possibilities:

 

  1. The admin-session process may have crashed and restarted during the timeframe you mentioned, which would explain the unexpected logout.
  2. If you believe this is not the case, please collect the requested debug outputs and open a TAC case when you can reproduce the issue. Since the problem occurs randomly over a long interval, capturing diagnostics during an actual occurrence will be crucial.

         diagnose debug admin error-log
         diagnose debug application httpsd -1
         diagnose debug enable

 

BR.

 

If my answer provided a solution for you, please mark the reply as solved it so that others can get it easily while searching for similar scenarios.

 

CCIE #68781

Atakan Atak
Atakan Atak
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors