Legacy Knowledge Base
Published Sep. 10, 2025

"Illegal HTTP status in response" error when configuring an F5 BIG-IP ASM before a Liferay Server

Written By

Jorge Diaz

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

After configuring the F5 BIG-IP® Application Security Manager™ (ASM) product before a Liferay Server, several requests are blocked by the ASM module and following error is displayed:

  • Illegal HTTP status in response

Environment

  • Liferay Portal 6.0, 6.1, 6.2
  • Liferay DXP 7.0, 7.1, 7.2, 7.3+
  • F5 BIG-IP® Application Security Manager™ (ASM) before a Liferay server

Resolution

According to the official ASM documentation the "Illegal HTTP status in response" error is produced when the http response code returned by Liferay is not allowed by the default configuration of the BIG-IP ASM:

The default BIG-IP ASM configuration allows by default response codes 200 through 399 and 400, 401, 403, 404, 407, 417, 500 and 503. All other HTTP response codes are blocked by the BIG-IP ASM

Some Liferay functionalities return responses with HTTP codes that are blocked by BIG-IP ASM:
  • Standard HTTP codes:
    • 409 and 412  (used in the webdav and workflows functionality)
  • Non-standard HTTP codes:
    • 490 to 499 (used in the file uploader for several funcionalities)

To solve this issue, it is necessary to configure these codes (409, 412 and 490 to 499) as allowed in the F5 BIG-IP ASM product.

Important note: The configuration of the F5 BIG-IP ASM product is out of scope of Liferay Support.

Additional Information

 

 

Did this article resolve your issue ?

Legacy Knowledge Base