1 Reply Latest reply on Jan 18, 2018 6:55 AM by Naveen kumar

    Wildfly 8.1.0 RC2 https listener problem

    Marius Gherghief Newbie

      Hi all,

       

      I am using wildfly 8.1.0 RC2 with undertow https listener enabled. This is the configuration:

       

      <security-realm name="MySecurityRealm">

                      <server-identities>

                       <ssl protocol="TLSv1">

                           <keystore path="server.keystore" relative-to="jboss.server.config.dir" keystore-password="123456" key-password="123456"/>

                       </ssl>

                      </server-identities>

      </security-realm>

      .

      .

      <buffer-cache name="default"/>

      <server name="default-server">

                      <http-listener name="default" socket-binding="http"/>

                      <https-listener name="https" socket-binding="https" security-realm="MySecurityRealm"/>

                      <host name="default-host" alias="localhost">

                          <location name="/" handler="welcome-content"/>

                          <filter-ref name="server-header"/>

                          <filter-ref name="x-powered-by-header"/>

                      </host>

      </server>

       

      After using a web application deployed on this server for 12 hours or so, i start getting this error:

       

      [0m [31m11:11:17,520 ERROR [org.xnio.listener] (default I/O-2) XNIO001007: A channel event listener threw an exception: java.lang.IllegalArgumentException: XNIO000300: Socket buffer is too small

        at org.xnio.ssl.JsseSslConduitEngine.<init>(JsseSslConduitEngine.java:149) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ssl.JsseSslStreamConnection.<init>(JsseSslStreamConnection.java:71) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ssl.JsseAcceptingSslStreamConnection.accept(JsseAcceptingSslStreamConnection.java:45) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ssl.JsseAcceptingSslStreamConnection.accept(JsseAcceptingSslStreamConnection.java:37) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ssl.AbstractAcceptingSslChannel.accept(AbstractAcceptingSslChannel.java:187) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:289) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.nio.NioTcpServerHandle.handleReady(NioTcpServerHandle.java:53) [xnio-nio-3.2.2.Final.jar:3.2.2.Final]

        at org.xnio.nio.WorkerThread.run(WorkerThread.java:539) [xnio-nio-3.2.2.Final.jar:3.2.2.Final]

       

      After this error, the server is unreachable. And at any attempt to load the page, the error is thrown again. Also, I have no JSSE configuration specified in the standalone.xml.

       

      Can anyone help me on this?

       

      Thank you in advance!

        • 1. Re: Wildfly 8.1.0 RC2 https listener problem
          Naveen kumar Newbie

          Facing similar issue in WildFly Full 9.0.2.Final

           

          2018-01-18 15:06:31,084 ERROR [org.xnio.listener] (default I/O-5) XNIO001007: A channel event listener threw an exception: java.lang.IllegalArgumentException: XNIO000300: Socket buffer is too small

              at org.xnio.ssl.JsseSslConduitEngine.<init>(JsseSslConduitEngine.java:152)

              at org.xnio.ssl.JsseSslStreamConnection.<init>(JsseSslStreamConnection.java:71)

              at org.xnio.ssl.JsseAcceptingSslStreamConnection.accept(JsseAcceptingSslStreamConnection.java:45)

              at org.xnio.ssl.JsseAcceptingSslStreamConnection.accept(JsseAcceptingSslStreamConnection.java:37)

              at org.xnio.ssl.AbstractAcceptingSslChannel.accept(AbstractAcceptingSslChannel.java:187)

              at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:289)

              at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)

              at org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092)

              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)

              at org.xnio.nio.NioTcpServerHandle.handleReady(NioTcpServerHandle.java:53)

              at org.xnio.nio.WorkerThread.run(WorkerThread.java:539)