established connection was aborted by the software in your host machine

0
I am facing a problem that hangs the mendix service in production and I found the following exception in the application.log file : Connector: Caught IOException while trying to write data to a client connection: null 2013-11-19 13:25:59.448 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 jb.a(SourceFile:384) at jb.a(SourceFile:207) at jb.b(SourceFile:189) at jb.a(SourceFile:83) at jb.processRequest(SourceFile:74) at jd.a(SourceFile:74) at com.mendix.core.MxRuntime.processRequest(SourceFile:897) 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(Unknown Source) 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(Unknown Source) at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.write(Unknown Source) at sun.nio.ch.SocketChannelImpl.write(Unknown Source) 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 jb.a(SourceFile:384) at jb.a(SourceFile:207) at jb.b(SourceFile:189) at jb.a(SourceFile:83) at jb.processRequest(SourceFile:74) at jd.a(SourceFile:74) at com.mendix.core.MxRuntime.processRequest(SourceFile:897) 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(Unknown Source)
asked
2 answers
0

Hey everyone,

 

I stumbled upon this thread while looking for solutions to a persistent issue I've been facing with Mendix in production. It's quite frustrating, to say the least. I'm currently working on a new project at Andersen and this is what I've come across: the problem is causing the Mendix service to hang, and I found this cryptic exception in the application.log file:

 

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

 

Based on the error message and my limited knowledge, it seems like the root cause might be related to an "established connection was aborted by the software in your host machine." To tackle this I'd suggest trying to increase the sessionTimeout in your app's configuration. It could be that the connections are being terminated prematurely due to a short session timeout.

 

As for my experience, I haven't encountered this exact problem myself, but I've had my fair share of server-side headaches. It's like navigating through a digital maze blindfolded.

answered
-1

Try to increase the sessionTimeout in your app’s configuration.

Kindly refer:

https://docs.mendix.com/refguide/custom-settings

answered