Replaying http traffic using gor / nginx(post_action) shows broken pipe error in tomcat logs -


we trying replay live http production traffic pre-prod environment using gor / nginx(post_action / mirror). requests see below error :

2017-09-14 11:56:30 error [dataprovidercontroller.getdata] au.gov.nsw.transport.gtfs.controller.dataprovidercontroller:136 clientabortexception:  java.io.ioexception: broken pipe         @ org.apache.catalina.connector.outputbuffer.realwritebytes(outputbuffer.java:413)         @ org.apache.tomcat.util.buf.bytechunk.append(bytechunk.java:371)         @ org.apache.catalina.connector.outputbuffer.writebytes(outputbuffer.java:438)         @ org.apache.catalina.connector.outputbuffer.write(outputbuffer.java:426)         @ org.apache.catalina.connector.coyoteoutputstream.write(coyoteoutputstream.java:91)         @ org.apache.catalina.connector.coyoteoutputstream.write(coyoteoutputstream.java:84)         @ org.apache.commons.io.ioutils.write(ioutils.java:631)         @ au.gov.nsw.transport.gtfs.controller.dataprovidercontroller.getdata(dataprovidercontroller.java:128)         @ sun.reflect.generatedmethodaccessor47.invoke(unknown source)         @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)         @ java.lang.reflect.method.invoke(method.java:497)         @ org.springframework.web.method.support.invocablehandlermethod.invoke(invocablehandlermethod.java:215)         @ org.springframework.web.method.support.invocablehandlermethod.invokeforrequest(invocablehandlermethod.java:132)         @ org.springframework.web.servlet.mvc.method.annotation.servletinvocablehandlermethod.invokeandhandle(servletinvocablehandlermethod.java:104)         @ org.springframework.web.servlet.mvc.method.annotation.requestmappinghandleradapter.invokehandlemethod(requestmappinghandleradapter.java:749)         @ org.springframework.web.servlet.mvc.method.annotation.requestmappinghandleradapter.handleinternal(requestmappinghandleradapter.java:689)         @ org.springframework.web.servlet.mvc.method.abstracthandlermethodadapter.handle(abstracthandlermethodadapter.java:83)         @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:938)         @ org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:870)         @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:961)         @ org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:852)         @ javax.servlet.http.httpservlet.service(httpservlet.java:620)         @ org.springframework.web.servlet.frameworkservlet.service(frameworkservlet.java:837)         @ javax.servlet.http.httpservlet.service(httpservlet.java:727)         @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:303)         @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208)         @ org.apache.tomcat.websocket.server.wsfilter.dofilter(wsfilter.java:52)         @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241)         @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208)         @ au.gov.nsw.transport.gtfs.filter.versionheaderfilter.dofilterinternal(versionheaderfilter.java:60)         @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:108)         @ org.springframework.web.filter.delegatingfilterproxy.invokedelegate(delegatingfilterproxy.java:344)         @ org.springframework.web.filter.delegatingfilterproxy.dofilter(delegatingfilterproxy.java:261)         @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241)         @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208)         @ org.springframework.orm.jpa.support.openentitymanagerinviewfilter.dofilterinternal(openentitymanagerinviewfilter.java:177)         @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:108)         @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241)         @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208)         @ org.springframework.web.filter.hiddenhttpmethodfilter.dofilterinternal(hiddenhttpmethodfilter.java:77)         @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:108)         @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241)         @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208)         @ org.springframework.web.filter.characterencodingfilter.dofilterinternal(characterencodingfilter.java:88)         @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:108)         @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241)         @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208)         @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:220)         @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:122)         @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:610)         @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:171)         @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:102)         @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:950)         @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:116)         @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:408)         @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1040)         @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:607)         @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun(nioendpoint.java:1720)         @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.run(nioendpoint.java:1679)         @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)         @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)         @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61)         @ java.lang.thread.run(thread.java:745) caused by: java.io.ioexception: broken pipe         @ sun.nio.ch.filedispatcherimpl.write0(native method)         @ sun.nio.ch.socketdispatcher.write(socketdispatcher.java:47)         @ sun.nio.ch.ioutil.writefromnativebuffer(ioutil.java:93)         @ sun.nio.ch.ioutil.write(ioutil.java:65)         @ sun.nio.ch.socketchannelimpl.write(socketchannelimpl.java:471)         @ org.apache.tomcat.util.net.niochannel.write(niochannel.java:123)         @ org.apache.tomcat.util.net.nioblockingselector.write(nioblockingselector.java:101)         @ org.apache.tomcat.util.net.nioselectorpool.write(nioselectorpool.java:174)         @ org.apache.coyote.http11.internalniooutputbuffer.writetosocket(internalniooutputbuffer.java:163)         @ org.apache.coyote.http11.internalniooutputbuffer.flushbuffer(internalniooutputbuffer.java:242)         @ org.apache.coyote.http11.internalniooutputbuffer.addtobb(internalniooutputbuffer.java:213)         @ org.apache.coyote.http11.internalniooutputbuffer.access$000(internalniooutputbuffer.java:41)         @ org.apache.coyote.http11.internalniooutputbuffer$socketoutputbuffer.dowrite(internalniooutputbuffer.java:268)         @ org.apache.coyote.http11.filters.identityoutputfilter.dowrite(identityoutputfilter.java:93)         @ org.apache.coyote.http11.filters.gzipoutputfilter$fakeoutputstream.write(gzipoutputfilter.java:177)         @ org.apache.coyote.http11.filters.flushablegzipoutputstream.deflate(flushablegzipoutputstream.java:153)         @ java.util.zip.deflateroutputstream.write(deflateroutputstream.java:211)         @ java.util.zip.gzipoutputstream.write(gzipoutputstream.java:145)         @ org.apache.coyote.http11.filters.flushablegzipoutputstream.write(flushablegzipoutputstream.java:63)         @ org.apache.coyote.http11.filters.gzipoutputfilter.dowrite(gzipoutputfilter.java:79)         @ org.apache.coyote.http11.abstractoutputbuffer.dowrite(abstractoutputbuffer.java:192)         @ org.apache.coyote.response.dowrite(response.java:520)         @ org.apache.catalina.connector.outputbuffer.realwritebytes(outputbuffer.java:408)         ... 62 more 

the error says clientaborted connection. however, when attempt similar request using wget(every second), error not show in logs. not sure if need set timeout or if there directive nginx or switch gor.

can please ?


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -