An I/O error has occurred while writing a response message entity to the container output stream

Any idea what is causing this error?

   ERROR [31 May 2022 15:09:25,833][qtp907843955-511] org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:662) An I/O error has occurred while writing a response message entity to the container output stream.
    org.glassfish.jersey.server.internal.process.MappableException: org.eclipse.jetty.io.EofException
                    at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:67)
                    at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                    at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
                    at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:635)
                    at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:373)
                    at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:363)
                    at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:258)
                    at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
                    at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
                    at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
                    at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
                    at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
                    at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
                    at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234)
                    at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
                    at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
                    at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
                    at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
                    at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
                    at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
                    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
                    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
                    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
                    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612)
                    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
                    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
                    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
                    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
                    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582)
                    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
                    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
                    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
                    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
                    at org.eclipse.jetty.server.Server.handle(Server.java:516)
                    at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
                    at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
                    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
                    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
                    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
                    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
                    at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
                    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
                    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
                    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
                    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
                    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
                    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
                    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
                    at java.base/java.lang.Thread.run(Unknown Source)
    Caused by: org.eclipse.jetty.io.EofException
                    at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:279)
                    at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422)
                    at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:277)
                    at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:381)
                    at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:820)
                    at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)
                    at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:223)
                    at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:544)
                    at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:838)
                    at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:910)
                    at org.eclipse.jetty.server.HttpOutput.channelWrite(HttpOutput.java:284)
                    at org.eclipse.jetty.server.HttpOutput.channelWrite(HttpOutput.java:268)
                    at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:833)
                    at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:301)
                    at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:200)
                    at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:276)
                    at org.glassfish.jersey.message.internal.ReaderWriter.writeTo(ReaderWriter.java:93)
                    at org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider.writeTo(AbstractMessageReaderWriterProvider.java:56)
                    at org.glassfish.jersey.message.internal.InputStreamProvider.writeTo(InputStreamProvider.java:82)
                    at org.glassfish.jersey.message.internal.InputStreamProvider.writeTo(InputStreamProvider.java:37)
                    at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:242)
                    at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:227)
                    at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                    at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:85)
                    at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
                    at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:61)
                    ... 48 more
    Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
                    at java.base/sun.nio.ch.SocketDispatcher.writev0(Native Method)
                    at java.base/sun.nio.ch.SocketDispatcher.writev(Unknown Source)
                    at java.base/sun.nio.ch.IOUtil.write(Unknown Source)
                    at java.base/sun.nio.ch.IOUtil.write(Unknown Source)
                    at java.base/sun.nio.ch.SocketChannelImpl.write(Unknown Source)
                    at java.base/java.nio.channels.SocketChannel.write(Unknown Source)
                    at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:273)
                    ... 73 more

Hi @UomoDelGhiaccio,

That is unfortunately not easy to tell without knowing its context. Where has this error message been logged, was that for example in a error window in the Connect Designer application or in a Connect log file?

In case you would like to know why the shared error occurred I would like to suggest to open a technical support ticket through our ‘website’.