On 14/07/2024 00:28, Pradeep wrote:
Hi,

I need some tips to solve below issue.
I am getting 431 http error in API (code running in tomcat) when header
size crosses 8KB. Tomcat server doesn't process request if header size is
more than 8KB.
I tried adding below properties to increase the header size in Springboot
application.yaml:

server:
   tomcat:
       max-http-header-size: 16KB

Above solution didn't work, please advice if any other way can achieve
increasing header size.

You might be better off seeking help from the Spring community. That looks like the right property to set to me but there may well be some detail I am missing.

Another thing to check is how big your headers are. Are you sure 16KB is enough?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to