WARNING - Connector: Caught IOException while trying to write data to a client connection: null

2
Hi, Question has been asked several times, but no answer was provided. We still get these warnings in our logs on a daily (hourly) basis though and are really interested in finding out why. Does this potentially indicate network issues? Or client PC related? 2016-11-03 15:43:58.232 WARNING - Connector: Caught IOException while trying to write data to a client connection: null 2016-11-03 15:43:58.232 WARNING - Connector: org.eclipse.jetty.io.EofException             at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:952)             at org.eclipse.jetty.http.AbstractGenerator.blockForOutput(AbstractGenerator.java:518)             at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:182)             at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:101)             at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1720)             at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1696)             at org.apache.commons.io.IOUtils.copy(IOUtils.java:1671)             at com.mendix.externalinterface.connector.FileRequestHandler.sendDocument(FileRequestHandler.java:410)             at com.mendix.externalinterface.connector.FileRequestHandler.doDownload(FileRequestHandler.java:216)             at com.mendix.externalinterface.connector.FileRequestHandler.handleDownload(FileRequestHandler.java:198)             at com.mendix.externalinterface.connector.FileRequestHandler.handleRequest(FileRequestHandler.java:86)             at com.mendix.externalinterface.connector.FileRequestHandler.processRequest(FileRequestHandler.java:77)             at com.mendix.externalinterface.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:74)             at com.mendix.core.MxRuntime.processRequest(MxRuntime.java:905)             at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:45)             at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)             at org.eclipse.jetty.server.Server.handle(Server.java:351)             at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)             at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890)             at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944)             at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)             at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)             at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)             at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)             at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)             at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)             at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)             at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: An established connection was aborted by the software in your host machine             at sun.nio.ch.SocketDispatcher.write0(Native Method)             at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)             at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)             at sun.nio.ch.IOUtil.write(IOUtil.java:65)             at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487)             at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:312)             at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:344)             at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:891)             at org.eclipse.jetty.http.AbstractGenerator.blockForOutput(AbstractGenerator.java:518)             at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:182)             at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:101)             at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1720)             at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1696)             at org.apache.commons.io.IOUtils.copy(IOUtils.java:1671)             at com.mendix.externalinterface.connector.FileRequestHandler.sendDocument(FileRequestHandler.java:410)             at com.mendix.externalinterface.connector.FileRequestHandler.doDownload(FileRequestHandler.java:216)             at com.mendix.externalinterface.connector.FileRequestHandler.handleDownload(FileRequestHandler.java:198)             at com.mendix.externalinterface.connector.FileRequestHandler.handleRequest(FileRequestHandler.java:86)             at com.mendix.externalinterface.connector.FileRequestHandler.processRequest(FileRequestHandler.java:77)             at com.mendix.externalinterface.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:74)             at com.mendix.core.MxRuntime.processRequest(MxRuntime.java:905)             at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:45)             at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)             at org.eclipse.jetty.server.Server.handle(Server.java:351)             at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)             at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890)             at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944)             at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)             at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)             at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)             at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)             at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)             at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)             at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)             at java.lang.Thread.run(Thread.java:745)   Thanks.    
asked
2 answers
1

I'm getting these now too.  Anyone?

answered
1

In the Mendix cloud, all connections to Jetty are routed via nginx. So if stuff like this shows up in your log in the Mendix cloud, this indicates nginx is configured wrong. Ronald's assumption is probably right(ish). But whatever the client does, this should not make nginx drop the connection to Jetty without properly closing it.

If I'm wrong here please enlighten me, I am no nginx expert :).

answered