Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-388

IOException Broken pipe error on JsseSslConduitEngine.doFlush when closing connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.8.5.Final
    • 3.8.4.Final
    • nio-impl
    • None

      Sometimes, we get the following error when disconnecting from the server with SSL:

      2021-09-24 15:03:15,970 ERROR [stderr] (management I/O-1) java.io.IOException: Broken pipe
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:58)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.xnio.nio@3.8.5.Final-SNAPSHOT//org.xnio.nio.NioSocketConduit.write(NioSocketConduit.java:153)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.xnio@3.8.5.Final-SNAPSHOT//org.xnio.ssl.JsseSslConduitEngine.doFlush(JsseSslConduitEngine.java:854)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.xnio@3.8.5.Final-SNAPSHOT//org.xnio.ssl.JsseSslConduitEngine.handleWrapResult(JsseSslConduitEngine.java:410)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.xnio@3.8.5.Final-SNAPSHOT//org.xnio.ssl.JsseSslConduitEngine.wrapCloseMessage(JsseSslConduitEngine.java:824)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.xnio@3.8.5.Final-SNAPSHOT//org.xnio.ssl.JsseSslConduitEngine.closeOutbound(JsseSslConduitEngine.java:913)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.xnio@3.8.5.Final-SNAPSHOT//org.xnio.ssl.JsseSslStreamSinkConduit.terminateWrites(JsseSslStreamSinkConduit.java:136)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.xnio@3.8.5.Final-SNAPSHOT//org.xnio.conduits.ConduitStreamSinkChannel.shutdownWrites(ConduitStreamSinkChannel.java:178)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.remoting@5.0.23.Final-redhat-00001//org.jboss.remoting3.remote.RemoteConnection$RemoteWriteListener.doShutdownWrites(RemoteConnection.java:356)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.remoting@5.0.23.Final-redhat-00001//org.jboss.remoting3.remote.RemoteConnection$RemoteWriteListener.shutdownWrites(RemoteConnection.java:347)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.remoting@5.0.23.Final-redhat-00001//org.jboss.remoting3.remote.RemoteConnection.shutdownWrites(RemoteConnection.java:135)
      2021-09-24 15:03:15,971 ERROR [stderr] (management I/O-1)       at org.jboss.remoting@5.0.23.Final-redhat-00001//org.jboss.remoting3.remote.RemoteConnectionHandler.receiveCloseRequest(RemoteConnectionHandler.java:229)
      2021-09-24 15:03:15,972 ERROR [stderr] (management I/O-1)       at org.jboss.remoting@5.0.23.Final-redhat-00001//org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:97)
      2021-09-24 15:03:15,972 ERROR [stderr] (management I/O-1)       at org.jboss.remoting@5.0.23.Final-redhat-00001//org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:51)
      2021-09-24 15:03:15,972 ERROR [stderr] (management I/O-1)       at org.jboss.xnio@3.8.5.Final-SNAPSHOT//org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      2021-09-24 15:03:15,972 ERROR [stderr] (management I/O-1)       at org.jboss.xnio@3.8.5.Final-SNAPSHOT//org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
      2021-09-24 15:03:15,972 ERROR [stderr] (management I/O-1)       at org.jboss.xnio.nio@3.8.5.Final-SNAPSHOT//org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
      2021-09-24 15:03:15,972 ERROR [stderr] (management I/O-1)       at org.jboss.xnio.nio@3.8.5.Final-SNAPSHOT//org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
      

            flaviarnn Flavia Rainone
            flaviarnn Flavia Rainone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: