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

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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:

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.

Last modified on Jan 15, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.