Skip to main content
Riggie
Explorer
November 3, 2023
Question

Server unreachable error when user approves FortiToken on phone, new token temporarily solves this.

  • November 3, 2023
  • 9 replies
  • 10109 views

Hello,

 

We experience a weird issue with some of our users. We use FortiToken to enable 2FA, but sometimes user get a 'server unreachable' error message when approving their login attempt. Our FortiGate is available, and we're able to connect to it without any problems.

Whenever we remove the current FortiToken and re-invite the user (by scanning a new QR code) the problem is temporarily resolved.

 

Does anyone experience the same and/or does anyone know how to solve this?

We're have a FortiGate 100F running firmware 7.2.5 1517.

9 replies

Riggie
RiggieAuthor
Explorer
November 3, 2023

Not sure if it's a coincidence, but we tried to authorize through the OTP (6 digit code) and it seemed to work perfectly.

Riggie
RiggieAuthor
Explorer
November 6, 2023

Just wanted to share this doesn't seem to be the cause for all users. We do have some users who are not able to bypass this error by using the OTP.

mle2802
Staff
Staff
November 3, 2023

Hi @Riggie,

Can you try to refer to this article and see if you can found any error "https://community.fortinet.com/t5/FortiGate/Technical-Tip-Token-server-status-unreachable-appears-under-the/ta-p/255898"

Regards,
Minh

Riggie
RiggieAuthor
Explorer
November 6, 2023

Thanks for the reply. As far as I can see this is for hardware tokens? We're using Software tokens through the FortiToken app on Android.

Edit: The token registered with our users do show they are activated. They are also able to use the FortiToken for a while, but after a random amount of time they get the 'server unavailable' error.

pavankr5
Staff
Staff
November 6, 2023

Hello, 

 

When the issue is occurring I would suggest you to run the debug command in this article to investigate it further.

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Token-server-status-unreachable-appears-under-the/ta-p/255898

Thanks,
Pavan

Riggie
RiggieAuthor
Explorer
November 6, 2023

Hello,

Thanks for your reply. As far as I can see your link shows some troubleshooting steps for a hardware token. We're only using software tokens, those are approved through the FortiToken Android app.

Edit: The token registered with our users do show they are activated. They are also able to use the FortiToken for a while, but after a random amount of time they get the 'server unavailable' error.

FortiNet_Newb
New Member
November 6, 2023

We are experiencing the exact same issue in our environment.  We have a FortiGate 101F running 7.2.6.  Thankfully for the users who are affected, they are able to manually enter the 6 digit code from the FortiToken Mobile App to authenticate.  We had been reassigning new tokens to get around it, and it worked for a few users, but now that no longer works.  Seems like once a token has been assigned to anyone previously it will no longer be able to connect to the authentication server if you reassign it to someone else, even though the token status indicates all is OK.

 

To be clear, the token provisioning process is working fine, the token status successfully moves from Available -> Pending -> Assigned.  The mobile device successfully activates the new token and receives mobile push notifications, but trying to accept the push request fails with the "server unreachable" error on the mobile device.  Manually entering the 6 digit token code works.

PurpleShirt
Explorer
November 8, 2023

Has anyone found a solution or cause of this issue? Two of my users are experiencing this, with another one having had this issue once but when trying to log in again it then worked. The two others have the issue all the time and have to enter the code manually. 

 

We're on 7.0.12 and the FortiToken Mobile App is on the latest version.

Riggie
RiggieAuthor
Explorer
November 8, 2023

Unfortunately no answer yet. The received troubleshooting steps are for hardware tokens while we only use software tokens. Hopefully we receive an answer soon!

New Contributor III
November 8, 2023

Hi @Riggie,

 

Could you collect the below logs to investigate further?


If possible, create a PCAP from the Android client.
The following application is unrelated to Fortinet, but it has been helpful for creating packet captures per application.
https://play.google.com/store/apps/details?id=com.emanuelef.remote_capture&hl=de&gl=US
Select the FortiToken Mobile application and reproduce the issue.

Run Debug at the same time in FGT:
diag debug console timestamp enable
diag debug app forticldd -1
diag debug app ftm-push
diag fortitoken debug enable
diag debug enable

 

post reproducing the issue, disable debug using the below command

diag debug disable

diag debug reset

Riggie
RiggieAuthor
Explorer
November 8, 2023

Hello,

Thanks for your answer.

I've got the generated files but I want to share these privately as they contain IP-addresses and such. Is there a way to securely share them with you? My own SSL-VPN account also got hit with this problem. The other token that I use for a different FortiGate admin account is still able to process the FortiToken.

Riggie
RiggieAuthor
Explorer
November 13, 2023

Hello,

I've got the PCAP and other support files, but I wish to share them privately as they contain sensitive information. Is there someone from staff where I can send the files to?

 

seanmd
Visitor III
January 16, 2024

I've been battling the same issues, did you end up finding a resolution? 

FortiNet_Newb
New Member
August 27, 2024

This is still an ongoing issue for us.  All of our users have the same configuration/equipment/cell phones, all users are on the same cell provider, etc.  It happens if the phone is connected via wi-fi or cellular service and it effects about 15% of our users (including myself).  Sometimes switching tokens makes it work temporarily, other times it doesn't.  

 

On the problematic tokens, after hitting approve after receiving the FortiToken push notification, using the debug commands above the following error is being logged in the console: ssl accept error:1

 

Any ideas on what this indicates and what could cause this?  It's really odd to me that this only effects some users and not all.

 

Thanks!

Radomir
New Member
October 23, 2024

Hi, we have the same issue and the same error in the debug "ssl accept error:1"

Did you get it fixed? thx

FortiNet_Newb
New Member
November 25, 2024

Nope, still have the same issue.  Anytime I have to reboot the Firewall (either due to a new firmware update or other reason), the same users always immediately start receiving the same error again and I have to re-assign them a different token to get them functioning normally again.  It's very frustrating.