Troubleshooting Tip: Mac OSX - Connection was terminated unexpectedly. Error -104
Description
This article describes the steps needed to allow FortiClient's extension to function on OSX.
Scope
FortiClient.
Solution
FortiClient displays this error when attempting to connect to an IPsec VPN tunnel on OSX Mojave (10.14).
The error message stems from Apple's new security settings, which prevent unauthorized extensions from running.
- Open System Preferences and select 'Security & Privacy'.

- Select the padlock to unlock settings.
- Enter the administrator credentials.
- Select 'Allow' to allow the 'Fortinet, Inc.' software to run.

- Select the Padlock to lock down the settings.
- On new FortiClient installations, the following message appears, informing the user of the restriction.
Choose the version of the FortiClient and then check the desktop operating system it supports.
Note:
macOS and FortiClient versions must be compatible. Incompatibility can result in the error shown above.
Compatibility details can be checked in the release notes: Product integration and support | FortiClient 7.4.5 (macOS) Release Notes.
