Legacy Knowledge Base
Published Jul. 2, 2025

ClientAbortException's full stack trace may appear at WARN level when downloading files with range header

Written By

Ankit Gupta

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

  • Steps to reproduce:

    1. Upload a big video whose mime type is listed in property web.server.servlet.accept.ranges.mime.types (video/mp4 for example) to Documents Admin
    2. Copy its download URL
    3. Execute the command "wget <DOWNLOAD_URL>" via command line
    4. Press CTRL+C before finishing the download
    5. Check that no logs are shown
    6. Increase log levels for com.liferay.portal.kernel.servlet.ServletResponseUtil to WARN
    7. Repeat steps 4 and 5

    Expected results:

    • A warning message is shown without any stack trace

    Actual results:

    • A warning message is shown
    • The stack trace is printed afterwards. (This stack trace should only be visible at DEBUG level)

Environment

  • Liferay DXP 7.3
  • Liferay DXP 7.2

Resolution

  • The observed behavior is a known issue and is fixed in liferay-fix-pack-dxp-2 for 7.3.
  • The observed behavior is a known issue and is fixed in liferay-fix-pack-dxp-13 for 7.2.
  • If the hotfix is required for this issue, please create a support ticket requesting hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide to install these Fixpack in your environment.
Did this article resolve your issue ?

Legacy Knowledge Base