I am getting errors in prod splunk(not able to reproduce error in lower regions) which my senior believe is due to Apache AJP. Below are the errors -
[31m10:53:39,465 ERROR [io.undertow.request] (default task-316) UT005023: Exception handling request to /eservicing/api/commissions/ltc: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: (was java.nio.channels.ClosedChannelException); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.nio.channels.ClosedChannelException) (through reference chain: com.company.servicing.domain.model.commissions.statements.CommissionsCriteria["writingCodes"]->java.util.ArrayList[198])
Also this -
Caused by: java.nio.channels.ClosedChannelException at io.undertow.server.protocol.ajp.AjpServerRequestConduit.doRead(AjpServerRequestConduit.java:230) [undertow-core-2.0.30.SP4-redhat-00001.jar:2.0.30.SP4-redhat-00001]
As you can see in the first error the request body has list of "writingCodes" which has loads of data coming from frontend ie around 500 elements. "writingCodes" has companyCode and code in it.
ProxyPass in httpd.confg looks like this -
ProxyPass /eservicing/api/ ajp://11.11.111.11/eservicing/api/ timeout=150 ttl=120 retry=6 ping=20 keepalive=on disablereuse=on
Is the issue in proxy pass or somewhere else? And am I going into right direction? Please shed some lights on this.