Troubleshooting Tip: SAML authentication fails with error 'login page did not respond within time limit'
| Description | This article explains a scenario where SAML authentication is configured correctly, but the user receives an error when connecting to the SSL VPN with SAML authentication. A workaround is included. |
| Scope | Any supported versions of FortiGate and FortiClient. |
| Solution | When the user connects to SSL VPN using SAML authentication, the error message 'login page did not respond within time limit' appears during the first attempt, followed by an 'ERR_EMPTY_RESPONSE' error. However, the user can connect on the second attempt without any errors.
Various reasons:
To prevent the issue from occurring, increase the remote authentication timeout accordingly to the following CLI commands:
config system global set remoteauthtimeout 60 end
FortiGate default " remoteauthtimeout "value is 5 seconds. Enter an integer value from <1> to <300>
To verify the config on both sides, refer to Technical Tip: Configuring SAML SSO login for FortiGate administrators with Entra ID acting as SAML IdP.
|


