Long URLs Are Rejected by Apache with 'Request-URI Too Large' Error

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

The content on this page relates to platforms which are not supported. Consequently, Atlassian Support cannot guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk.

Symptoms

Requests with long URLs are being rejected by Apache with the following error message:

1 2 3 4 Request-URI Too Large The requested URL's length exceeds the capacity limit for this server. Apache/2.2.3 (CentOS) Server at .... Port 443

Cause

Apache limits the allowed size of a client's HTTP request-line (e.g. <HTTP METHOD> <URL> <protocol version>) and the HTTP request header field size. The default values may need to be increased if the request URL is large.

Resolution

Increase the Apache limits for limit request line and limit request field size.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.