tonsky / grumpy

Minimalistic blog engine
http://grumpy.website
148 stars 14 forks source link

Do not log java.io.IOException: Connection reset by peer #36

Closed tonsky closed 5 years ago

tonsky commented 5 years ago
Caused by: java.io.IOException: Connection reset by peer
        at java.base/sun.nio.ch.FileDispatcherImpl.writev0(Native Method) ~[na:na]
        at java.base/sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) ~[na:na]
        at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:182) ~[na:na]
        at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:130) ~[na:na]
        at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:496) ~[na:na]
        at org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:161) ~[grumpy.jar:na]
        at io.undertow.server.protocol.http.HttpResponseConduit.processStatefulWrite(HttpResponseConduit.java:472) ~[grumpy.jar:na]
        at io.undertow.server.protocol.http.HttpResponseConduit.processWrite(HttpResponseConduit.java:214) ~[grumpy.jar:na]
        at io.undertow.server.protocol.http.HttpResponseConduit.write(HttpResponseConduit.java:632) ~[grumpy.jar:na]
        at io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.write(AbstractFixedLengthStreamSinkConduit.java:148) ~[grumpy.jar:na]
        at org.xnio.conduits.ConduitStreamSinkChannel.write(ConduitStreamSinkChannel.java:158) ~[grumpy.jar:na]
        at io.undertow.channels.DetachableStreamSinkChannel.write(DetachableStreamSinkChannel.java:179) ~[grumpy.jar:na]
        at io.undertow.server.HttpServerExchange$WriteDispatchChannel.write(HttpServerExchange.java:2014) ~[grumpy.jar:na]
        at org.xnio.channels.Channels.writeBlocking(Channels.java:152) ~[grumpy.jar:na]
        at io.undertow.servlet.spec.ServletOutputStreamImpl.writeTooLargeForBuffer(ServletOutputStreamImpl.java:193) ~[grumpy.jar:na]
        at io.undertow.servlet.spec.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:141) ~[grumpy.jar:na]
        at clojure.java.io$fn__11530.invokeStatic(io.clj:307) ~[grumpy.jar:na]
        at clojure.java.io$fn__11530.invoke(io.clj:302) ~[grumpy.jar:na]
        at clojure.lang.MultiFn.invoke(MultiFn.java:239) ~[grumpy.jar:na]
        at clojure.java.io$copy.invokeStatic(io.clj:406) ~[grumpy.jar:na]
        at clojure.java.io$copy.doInvoke(io.clj:391) ~[grumpy.jar:na]
        at clojure.lang.RestFn.invoke(RestFn.java:425) ~[grumpy.jar:na]
        at io.pedestal.http.impl.servlet_interceptor$eval16814$fn__16817.invoke(servlet_interceptor.clj:78) ~[na:na]
        at io.pedestal.http.impl.servlet_interceptor$eval16778$fn__16779$G__16769__16786.invoke(servlet_interceptor.clj:38) ~[na:na]
        at io.pedestal.http.impl.servlet_interceptor$write_body.invokeStatic(servlet_interceptor.clj:93) ~[na:na]
        at io.pedestal.http.impl.servlet_interceptor$write_body.invoke(servlet_interceptor.clj:91) ~[na:na]
        at io.pedestal.http.impl.servlet_interceptor$send_response.invokeStatic(servlet_interceptor.clj:170) ~[na:na]
        at io.pedestal.http.impl.servlet_interceptor$send_response.invoke(servlet_interceptor.clj:162) ~[na:na]
        at io.pedestal.http.impl.servlet_interceptor$leave_ring_response.invokeStatic(servlet_interceptor.clj:229) ~[na:na]
        at io.pedestal.http.impl.servlet_interceptor$leave_ring_response.invoke(servlet_interceptor.clj:218) ~[na:na]
        at io.pedestal.interceptor.chain$try_f.invokeStatic(chain.clj:54) ~[na:na]
        ... 51 common frames omitted