关于http请求异常ClientAbortException

严重: /manage/lite/summary?cid=86
com.jfinal.render.RenderException: ClientAbortException:  java.net.SocketException: Connection reset by peer: socket write error
        at com.jfinal.render.TemplateRender.render(TemplateRender.java:76)
        at com.jfinal.core.ActionHandler.handle(ActionHandler.java:113)
        at com.jetf.jfinal.handler.IndexHandler.handle(IndexHandler.java:18)
        at com.jfinal.ext.handler.ContextPathHandler.handle(ContextPathHandler.java:48)
        at com.jfinal.plugin.druid.DruidStatViewHandler.handle(DruidStatViewHandler.java:81)
        at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:90)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Unknown Source)
Caused by: ClientAbortException:  java.net.SocketException: Connection reset by peer: socket write error
        at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:369)
        at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:448)
        at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:318)
        at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:296)
        at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)
        at com.jfinal.render.TemplateRender.render(TemplateRender.java:63)
        ... 17 more
Caused by: java.net.SocketException: Connection reset by peer: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(Unknown Source)
        at java.net.SocketOutputStream.write(Unknown Source)
        at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:761)
        at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:448)
        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:363)
        at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:785)
        at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:126)
        at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:598)
        at org.apache.coyote.Response.doWrite(Response.java:533)
        at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:364)
        ... 22 more

这个异常偶尔会出现这个可以不处理吗,或者有什么处理方案

评论区

杜福忠

2021-08-17 21:39

对,不用管,正常情况

huntxt

2021-08-18 15:30

收到,谢谢

热门反馈

扫码入社