Score:0

ClosedChannelException due to apache AJP

vn flag

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.

ezra-s avatar
ru flag
Do you have an error in Apache httpd we can see? Also which size is that request that gets closed?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.