| Description | This article describes how to resolve the error 'Please set auto-transport-threshold shorter than negotiate-timeout' that appears when modifying VPN Phase 1 settings, such as IP address, DPD interval, or pre-shared key. |
| Scope | FortiGate. |
| Solution |
'Configuration file error. Please set auto-transport-threshold shorter than negotiate-timeout' encountered during VPN Phase 1 configuration changes. This error message appears in FortiGate during configuration validation when setting up VPN tunnels (e.g., IPsec or SSL VPN) using auto-transport features. It indicates a misconfiguration between two timeout parameters in the VPN settings:
The error triggers if auto-transport-threshold is set to a value greater than or equal to negotiate-timeout. This creates a logical conflict because the auto-switch mechanism cannot complete before the entire negotiation times out, leading to failed VPN connections, repeated retries, or stalled tunnel establishment.
The negotiate-timeout value configured as 15 seconds instead of the default 30 seconds results in a threshold mismatch error.
config vpn ipsec phase1-interface : set negotiate-timeout 15 <----- The negotiate-timeout value configured as 15 seconds. Default = <30>. : end
After setting the negotiate-timeout value to 30 seconds, Phase 1 configuration changes can be completed without any errors. To set the negotiation timeout value via the CLI:
config vpn ipsec phase1-interface |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.