Skip to main content
gsharma
Staff
Staff
Sep 22, 2026 9:03 AM UTC

Technical Tip: Scripting support for HTTP2 backend

Description

This article describes the error 'HTTP2 enabled VS does not support scripting'.

Scope

FortiADC.

Solution

The Scripting module provides tools for using Lua scripts with HTTP/HTTPS virtual servers, as well as Layer 7 TCP and UDP virtual servers. These scripts can be used to implement custom actions or processing that are not available through FortiADC’s standard built-in features, such as encrypting insert cookie.

Types of scripts:

  • HTTP scripts.

  • Stream scripts.


The server in the backend can sometimes support the HTTP2. For that, HTTP2 has to be enabled in the HTTP2 profile under Application Resources, as it is disabled by default.

To configure the HTTP2 profile, refer to this document: Configuring HTTP2 profiles

After enabling backend HTTP2, if the scripting profile is called, then there will be an error to save this configuration.


b698de25.png


This feature is currently disabled. For now, the workaround is to disable HTTP2 backend feature in case scripting needs to be enabled for this Virtual Server.

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