mod_jk gives 413 response with `failed appending the header value` error

Solution Unverified - Updated -


  • We use mod_jk, and see a 413 response for some requests:
Request Entity Too Large
The requested resource
/app does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.  
  • And mod_jk logs show:
[error] ajp_marshal_into_msgb::jk_ajp_common.c (476): (node1) failed appending the header value for header 'Authorization' of length 13
[info] ajp_service::jk_ajp_common.c (2577): (node1) Creating AJP message failed without recovery - check max_packet_size


  • JBoss Core Services (JBCS)
  • Apache httpd
  • mod_jk

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In