Skip to main content
idris
New Member
Jul 22, 2021 2:45 PM UTC
Question

FortiClient VPN sends Token code but no Token field displayed until sometime later......

Hi, 

 

Hope someone can help. I am using FortiClient VPN have tried versions 6 to 7. I enter my login details and receive a token code, but no Token field is displayed immediately to enter the Token Code, after some time the Token field is displayed but when I enter the token code I see an error message  'Permission Denied. (-455).

 

Does anyone know why the Token filed is not being displayed immediately ?

 

Thanks

    2 replies

    Kush_Patel
    Staff
    Staff
    Jul 26, 2023 5:04 PM UTC

    For  -455 code, it might be a problem with bad account or bad password. 

     

    you can even try to increase the timeout for two factor settings on FGT:

    # config system global

    set two-factor-email-expiry <in s>

    set remoteauthtimeout <1-300s>

     

    At what percenatge you are getting the error ?

     

    Translate
    srajeswaran
    Staff
    Staff
    Jul 27, 2023 7:57 AM UTC

    Can you confirm where is the authentication configured? Is it on a Fortiauthenticator/radius server?
    The OTP field is displayed after the initial user authentication is completed, what might be happening is the authentication is getting delayed due to network issue/latency or CPU/memory issue on the authentication device .

    Since OTP is entered late, the authenticator device session is timedout before OTP is received and results in permission denied error.

    For now you can try increasing the OTP expiry timers as suggested in following article

    https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-SSL-VPN-and-two-factor-expiry-timers/ta-p/191661

    Then check if there are any network issues/delays or CPU/Memory issues on authenticator device.

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024