Support Article
Error while attaching files
SA-21163
Summary
In a two-node environment, one node is no longer able to upload any files after a maintenance restart. When file uploads are attempted, an exception is thrown.
Error Messages
In Pega logs:
016-03-14 04:46:43,789 [ANDARD, eon_id=56704] [ ] [ ] [ ] ( web.impl.WebStandardImpl) ERROR - <ip>: Unhandled error in ETier invocation
java.lang.IllegalArgumentException: Header message of length [32,764] received but the packetSize is only [8,192]
at org.apache.coyote.ajp.AjpProcessor.readMessage(AjpProcessor.java:380)
at org.apache.coyote.ajp.AjpProcessor.receive(AjpProcessor.java:331)
at org.apache.coyote.ajp.AbstractAjpProcessor$SocketInputBuffer.doRead(AbstractAjpProcessor.java:1066)
at org.apache.coyote.Request.doRead(Request.java:422)
at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:290)
at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:449)
at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:315)
Steps to Reproduce
Attach a file.
Root Cause
A defect or configuration issue in the operating environment:
Apache web server packetSize is not the same as that of the Tomcat.
Resolution
Make the following change to the operating environment:
Make sure the packet size setting in Apache and Tomcat are the same.
Published March 18, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.