Search guard max header size

Many month ago, I opened a bug in github about maximum header size.

I’m using proxy authentication and we have many groups, so the roles_header can be quit long, and it reaches SG maximum values. So I opened a bug in github and it was resolved. But since all data has been removed, all git history is new, I’m unable to find what the resolution was. I’m thinking that a settings was defined that allows a bigger maximum header size, but I’m not sure, and browsing through the code didn’t return any thing.

Does someone remember what was done ?

Not sure about the original issue but I guess you need to adjust http.max_header_size (which is a ES and not a SG config option because SG itselft does not have any limits with regards to max header sizes). Default is 8kB. See for more information.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.