3 Replies Latest reply on Jul 21, 2016 8:33 AM by Tomaz Cerar

    Socket buffer is too small

    Soner Eker Newbie

      Hi,

       

      We're using Wildfly 9.0.2 with java version "1.7.0_99" and OpenJDK Runtime Environment (rhel-2.6.5.0.el6_7-x86_64 u99-b00).

       

      We frequently (with 8-10h periods) get "org.xnio.listener - XNIO001007: A channel event listener threw an exception java.lang.IllegalArgumentException: XNIO000300: Socket buffer is too small" exceptions. Wildfly crashes after exception. And does not respond to requests without restarting.


      Here's full exception trace;

       

      [2016-07-18 10:45:05,513] - [ERROR] 7452686 org.xnio.listener - 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) ~[xnio-api-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.ssl.JsseSslStreamConnection.<init>(JsseSslStreamConnection.java:71) ~[xnio-api-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.ssl.JsseAcceptingSslStreamConnection.accept(JsseAcceptingSslStreamConnection.java:45) ~[xnio-api-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.ssl.JsseAcceptingSslStreamConnection.accept(JsseAcceptingSslStreamConnection.java:37) ~[xnio-api-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.ssl.AbstractAcceptingSslChannel.accept(AbstractAcceptingSslChannel.java:187) ~[xnio-api-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:289) ~[xnio-api-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286) ~[xnio-api-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092) [xnio-api-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.nio.NioTcpServerHandle.handleReady(NioTcpServerHandle.java:53) [xnio-nio-3.3.1.Final.jar!/:3.3.1.Final]
        at org.xnio.nio.WorkerThread.run(WorkerThread.java:539) [xnio-nio-3.3.1.Final.jar!/:3.3.1.Final]
      
      

       

      And here's standalone.xml;

       

      <security-realm name="UndertowRealm">
          <server-identities>
              <ssl>
                  <keystore path="/***.jks" keystore-password="***"/>
              </ssl>
          </server-identities>
      </security-realm>
      
      <subsystem xmlns="urn:jboss:domain:remoting:3.0">
           <endpoint worker="default"/>
           <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>
           <http-connector name="https-remoting-connector" connector-ref="default-https" security-realm="UndertowRealm"/>
      </subsystem>
      
      <server name="default-server">
           <http-listener name="default" socket-binding="http" redirect-socket="https"/>
           <https-listener name="default-https" socket-binding="https" security-realm="UndertowRealm" enabled-protocols="TLSv1.2"/>
           <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>
      

       

      Do you have any idea about this issue?

       

      Thank you.