Skip to main content
g4ry415
New Member
February 7, 2022
Question

Failed to get tunnel provider's return code

  • February 7, 2022
  • 5 replies
  • 6611 views

Hi all,

 

I am unable to connect VPN via FortiClient VPN v7.0.2.0069 on macOS 10.15. I found some solutions at Forums. But it still not work.

- Allowed FortiTray in Security & Privacy - General

- Granted Full Disk Access to FortiClient in Security & Privacy - Privacy

- Used IP address as host instead host name

 

Please help to provide some suggestion. Many thanks.

 

20220207 10:27:36 [FortiTray:DEBG] AppDelegate.swift:151 Reload config
20220207 10:27:36 [FortiTray:EROR] ConfigManager.swift:1522 Config file "/Library/Application Support/Fortinet/FortiClient/conf/epctrl.plist" not exist
20220207 10:27:40 [FortiTray:INFO] VpnManager.swift:787 Start VPN: VPN_001
20220207 10:27:40 [FortiTray:INFO] VpnManager.swift:611 VPN connecting
20220207 10:27:40 [FortiTray:DEBG] vpnconnection.mm:540 Server URL: https://X.X.X.X:10443
20220207 10:27:40 [FortiTray:INFO] VpnManager.swift:1397 Input request type: USER_INPUT_REQUEST_INVALID_CERTIFICATE
20220207 10:27:40 [FortiTray:INFO] sslvpn.cpp:215 ApiEncMethod: 0
20220207 10:27:40 [FortiTray:INFO] sslvpn.cpp:217 ApiRemoteAuthTimeout: 10
20220207 10:27:40 [FortiTray:INFO] sslvpn.cpp:219 ApiServerSalt: 0ba94b52
20220207 10:27:40 [FortiTray:INFO] sslvpn.cpp:220 flag: 95
20220207 10:27:40 [FortiTray:INFO] sslvpn.cpp:314 Send authentication request
20220207 10:27:40 [FortiTray:INFO] sslvpn.cpp:506 Authentication passed
20220207 10:27:40 [FortiTray:DEBG] vpnconnection.mm:400 Stop process.
20220207 10:27:40 [FortiTray:INFO] VpnManager.swift:1475 Notification: Cancel input
20220207 10:27:40 [FortiTray:INFO] sslvpn_bridge.mm:71 Login successful
20220207 10:27:40 [FortiTray:INFO] sslvpn.cpp:575 Login successful
20220207 10:27:40 [FortiTray:INFO] VpnManager.swift:1183 Inherit proxy settings
20220207 10:27:40 [FortiTray:INFO] VpnManager.swift:1217 Setup proxy exceptions
20220207 10:27:42 [FortiTray:DEBG] AppDelegate.swift:151 Reload config
20220207 10:27:42 [FortiTray:EROR] ConfigManager.swift:1522 Config file "/Library/Application Support/Fortinet/FortiClient/conf/epctrl.plist" not exist
20220207 10:27:42 [FortiTray:INFO] VpnManager.swift:611 VPN connecting
20220207 10:27:43 [FortiTray:EROR] VpnManager.swift:388 Failed to get tunnel provider's return code
20220207 10:27:43 [FortiTray:INFO] VpnManager.swift:604 VPN disconnected

5 replies

downstorffleon
New Member
February 7, 2022

I have the exact same issue, when you do get it to function.. finally..it will last a week until one of the two sides release an update and ruins it all over again.  I have come to the understanding that while there is a button on fortinet product downloads for macOS, they clearly could not care less if it works or not.

g4ry415
g4ry415Author
New Member
February 7, 2022

Hi @downstorffleon ,

 

Hope someone finds a solution.

msanjaypadma
Staff
Staff
February 7, 2022

Hi @g4ry415 ,

Could you please check, is Mac’s Built-in Firewall enabled?, If it is enable, please try to disable it and check it again. 

 

Thanks, Mayur Padma
g4ry415
g4ry415Author
New Member
February 7, 2022

Hi @msanjaypadma ,

 

The Firewall is turned off in Security & Privacy - Firewall. So I tried to turn it on and off again. But it still can't connect to VPN. Pressing 'Connect' button will take you back to the login page.

E4True
New Member
February 8, 2022
Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!