Skip to main content
AACastillo
Staff
Staff
Oct 17, 2026 10:57 AM UTC

Resolving handshake errors with FortiAppSec Cloud

Description

A technical solution to resolve handshake errors encountered when using FortiAppSec Cloud.

Users experience an error message indicating that the handshake was canceled when attempting to access a specific application through FortiAppSec Cloud, and this article provides a solution.

Scope

FortiAppSec Cloud.

Solution

A handshake error may occur because the origin server supports HTTP/2, but HTTP/2 is not enabled in the FortiAppSec Cloud configuration. When traffic passes through FortiAppSec Cloud without HTTP/2 enabled, the connection falls back to HTTP/1.1, which causes the origin server to cancel the handshake.

To resolve the handshake error, follow these steps:

Enable HTTP/2 on both endpoints and origin servers in FortiAppSec Cloud. This can be done by going to Endpoints -> Advanced Security and Protocol Settings -> HTTP/2:

1dab65a8.png


Under Origin Servers -> HTTP/2, select the Enable option:

f113e695.png


Next, verify that the server supports HTTP/2. This can be done using a tool such as curl to ensure HTTP/2 traffic is successful. Execute the following commands:

curl --http2 https://"APP_endpoint"


Here, "APP_endpoint" (without quotation marks) could be the endpoint's hostname or its IP address.


If the command is successful, it indicates that the server supports HTTP/2.


Test the application again after enabling HTTP/2 on both endpoints and origin servers. If the error persists, check the server logs for any issues related to TLS negotiation.

Related documentation:

Endpoints

Origin Servers

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024