Updating list of applicable projects and hitting maxHttpHeaderSize error

Description

When attempting to add an additional project to our list of applicable projects, we ran into a HTTP 400 error.

On doing some investigation, the problem was tracked down to the fact that the URL being attempted was sufficiently long as to be hitting the Tomcat maxHttpHeaderSize (defaults to 8192).

It seems like appending "&applicableProjects=12345" or similar, for each project, makes this prone to this kind of error, as once you get to sufficiently many projects, further additions will fail.

I didn't find anything in docs about this, so figured it might be worth raising this with you.

Is/was this a known issue?

Environment

None

Activity

Show:
Deniz Oğuz
November 5, 2019, 7:28 AM

Hi Russell,
No body complained about this because, I think no body needed that much of exception in the project list. I will check this.

Russell Stadler
November 5, 2019, 8:41 PM

Thanks for investigating! If in your research you arrive at a similar conclusion to what we did, is this the right place to ask for a feature request? Off the top off my head, not having this be a giant GET might be one way around it. Another approach might be to have an option to have the list be a list of exclusions instead of a list of inclusions.

 

Our situation is that the majority of projects do want to use reminders, however there are a handful that don’t. As such we are prevented from enabling globally, and have a very large list of included projects.

Fixed

Assignee

Deniz Oğuz

Reporter

Russell Stadler

Labels

None

Source

None

Jira Version

Database Type/Version

None

Browser Type/Version

Chrome Version 78.0.3904.87 (Official Build) (64-bit)

Fix versions

Affects versions

Priority

Minor
Configure