Skip to main content
Pi007
New Member
September 1, 2022
Question

VPN connection failed

  • September 1, 2022
  • 13 replies
  • 103545 views

Within the last few days one of our users forticlient VPN has been failing to connect and comes up with the below error 

"VPN connection failed. Please check your configuration, network connection and pre-shared key then retry your connection."

 

Nothing has changed with his broadband connection and it has all work previously 

 

Steps i have done so far

  • Uninstalled and reinstalled Forticlient with latest version → same error

  • deleted the VPN profile and re-created → same error

  • tested with personal logins → same error

  • setup different VPN profile and tested → same error

  • tested user login details on 2 other computers in different locations both times logged in → not a username/password problem

  • rebooted laptop → same error

  • Checked TSL settings 1.1 and 1.2 are ticked - same error

  • added Forticlient to firewall to allow through - same error

  • checked if any spaces had been added when copying pre-shared key, gateway and local ID details → there where none

I am pretty much running out of ideas as what else could be the problem. Any suggestions would be great

 

Thanks 

13 replies

aionescu
Staff
Staff
September 1, 2022

Hi @Pi007 ,

 

Since you sau that one of your users has issues, I assume that the others are able to connect. If it is the case, that means that it is less likely to be a FortiGate configuration issue.  If the users that are abble to connect use the same FortiClient version, that would rule out the FortiClient also and would narrow it down to the host itself. If there is an anti-virus software installed, can you try with it disabled?

 

Also, to get an ideea of what is going on, run this commands on the FortiGate while trying to connect:

 

diagnose debug reset
diagnose debug application sslvpn -1
diagnose debug application fnbamd -1
diagnose debug enable

Pi007
Pi007Author
New Member
September 2, 2022

HI Aionescu,

 

I have checked the configuration of the client setup and it is a carbon copy of how mine is and i have no problem connecting to the VPN with mine or the users details. 

Please note i only have access to the FortiClinet VPN software on the users computer to troubleshoot so will not be able to run the debug commands. 

Pi007
Pi007Author
New Member
September 2, 2022

Hi Vsahu,

 

Many thanks for the reply, i will give the FCRemove tool a go and see if that helps. I have a remote session booked in for later today so will update once i have been on the computer. 

Pi007
Pi007Author
New Member
September 2, 2022

Afternoon,

I have found the below from the sslvpndaemon_1 trace under logs 

 

[sslvpndaemon 515 debug] FortiSslvpn: _ReceiveMessage: (00000384)


 [8244:13320] [sslvpndaemon 515 debug] FortiSslvpn: Init:ConnectNamedPipe(): Wait(hEventOverLapped) OK.

 

[8244:13320] [sslvpndaemon 515 debug] FortiSslvpn: before ConnectNamedPipe

 

 [8244:13320] [sslvpndaemon 515 debug] FortiSslvpn: Init:ConnectNamedPipe(): rc=0, err=997

 

 [8244:888] [sslvpndaemon 515 debug] FortiSslvpn: _ReceiveMessage: (00000344)


 [8244:888] [sslvpndaemon 515 debug] FortiSslvpn: Broken pipe! Client is exited (3).

 

Does anyone know what this would point to?

purplelightspark
New Member
February 23, 2023

Hi, I have the same error, did you find a solutions?

Contributor
September 2, 2022

Hello,

 

Can you confirm if are you able to connect using the browser to the same SSL URL or not from the same machine?

Also, have you tested with FCRemove tool?

 

Contributor
September 2, 2022

Also, can you confirm which device the user is using the machine hardware and OS?
There was one issue I was able to find in which the dell optimizer application was causing similar behavior with forticlient.

 

Pi007
Pi007Author
New Member
September 2, 2022

Hi Vsahu,

i was unable to download the FCRemove tool as i have no devices resisted in the website. When i went to firmware downloads that is where it stopped for me. 

 

Details of the device it is a Dell laptop with Windows 10 vers 21h2 installed. We do not have a SSL URL on the client setup, we use an IP address for the remote gateway.

Contributor
September 2, 2022

Hello Pi007,
can you check on the machine if the dell optimizer application is running or not? If yes please uninstall it and check.

Also, I'll suggest registering one of the devices to get the FCRemove tool, so you can uninstall the Forticlient completely from the device and test with the new installation.

Pi007
Pi007Author
New Member
September 5, 2022

Hi Vsahu,

dell optimizer was not installed on the computer. 

I used the FCRemove tool and this did not fix the problem. 

Once reinstalled i get the same error. 

tpomar
Explorer
November 30, 2022

Hello PI007

I have the same problem as you and I can't find the solution.

Did you manage to solve this problem?

Thank you for your attention.