Background,
My firm uses apache http server with apache tomcat, here apache http server acts as a reverse proxy only, we have one apache and one tomcat instance,
Bad Request Error is only coming in chrome and not in firefox, this issue is only coming for some user , PS: I work in corporate environment.
** Browser Version : Chrome/98.0.4758.80 **
** Chrome : request header size : "headersSize": 708, **
** Apache HTTP, on linux **
Apache Logs
Wed Jan 19 10:06:08.995229 2022] [proxy_ajp:error] [pid 68758] AH03229: ajp_msg_append_cvt_string(): BufferOverflowException 4 8192
[Wed Jan 19 10:06:08.995281 2022] [proxy_ajp:error] [pid 68758] [client someip:port] AH00971: ajp_marshal_into_msgb: Error appending the header value, referer: https://somesite.com/
[Wed Jan 19 10:06:08.995288 2022] [proxy_ajp:error] [pid 68758] [client someip:29678] AH00988: ajp_send_header: ajp_marshal_into_msgb failed, referer: https://somesite.com/
Solutions Tried but not working
- I have updated the property LimitRequestFieldSize 32768 in httpd.conf as well as in the virtual host file
- Updated the packet size in the apache tomcat connector
- Restarted the apache and tomcat instance,