Skip to main content
hook95
New Member
Dec 19, 2022 3:46 PM UTC
Question

Forticlient Fails to connect after trying MFA Authentication Twice

Hello all, 

 

I am currently assisting a user who cannot connect to our NJ vpn on her laptop. We are using Microsoft for MFA currently. The weird thing is- Forticlient will send the authentication code to the users phone, user approves it. Then it will get to like 60 percent, send the authentication code again after its already been entered- then it will fail with this message

Spoiler
 hook95_1-1671464191402.png 

Mind you- we have a backup option that our users connect to in Pennsylvania and the user can connect to that one with no issues. First, we made sure there were no issues with the NJ vpn, I can connect on my computer with no issues, my other teammates tried on their laptops and had no issues either. Myself, as well as 2 other people tried connecting to NJ on the users laptop and it failed for all of us. We tried repairing Forticlient, then completed a full uninstall/ reinstall of the Client and still the same results. We tried having the user connect using her wifi hotspot to make sure there wasnt an issue with her home network and it did the same thing for all of us. the Client sent the authentication verification 2 times and then failed with the same message each time. The laptop has been updated, wifi adapter re-installed. Performed a network reset on the laptop just in case to no avail. Has anyone experienced this or have any suggestions? Any advice is appreciated, thank you! 




4 replies

Esteemed Contributor III
Dec 20, 2022 12:58 PM UTC

Hello

 

Can you share the following debug while reproducing the issue

 

#dia de reset

#dia de console timestamp en

#dia de app fnbamd -1

#dia de app sslvpn -1

#dia de en

 

Let the output run for a few minutes while trying to establish a connection via SSL-VPN,

 

#dia de dis

#dia de reset

From your explnations seems like the user is not part of ldap group, or the ldap group is not referenced in the sslvpn policy

 

 

Translate
hook95
hook95Author
New Member
Dec 20, 2022 6:28 PM UTC

Thank you for the reply but I only have access to the user application on the laptop and will not be able to run these commands. 

Translate
Markus_M
Staff & Editor
Staff & Editor
Dec 21, 2022 9:49 PM UTC

Note that the FortiClient does NOT send the second factor.

The FortiClient will ask an authentication for the user against the FortiGate which in turn may ask some other server, probably a Microsoft RADIUS server.

The latter one will with a plugin for MFA send the code to the client/phone and in parallel advise the FortiGate to ask the client to input right that code.

 

The latter part is not working (sending the code back through FortiGate and then back to the server who requested it), and you need to see with the respective team.

 

The end user cannot and must not(!) be able to bypass authentication factors that are set by the servers. It would be a serious security issue.

 

Best regards,

 

Markus

Translate
Best regards, Markus
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