<div dir="ltr">I don&#39;t believe so...it seems to be happening when sending a message from the server to the browser after the connection has already been established successfully.  I&#39;ll do some additional research and see if I can further narrow down the problem.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Apr 12, 2017 at 6:16 PM Stuart Douglas &lt;<a href="mailto:sdouglas@redhat.com">sdouglas@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Maybe cloudflare is rejecting some of the websocket upgrades?<br>
<br>
Stuart<br>
<br>
On Thu, Apr 13, 2017 at 9:04 AM, Hicks, Matt &lt;<a href="mailto:matt@matthicks.com" target="_blank">matt@matthicks.com</a>&gt; wrote:<br>
&gt; Well, I seem to have narrowed down the cause to CloudFlare.  If I pause<br>
&gt; CloudFlare then it stops happening.  The connection is incredibly stable and<br>
&gt; was happening consistently.<br>
&gt;<br>
&gt; On Wed, Apr 12, 2017 at 5:26 PM Stuart Douglas &lt;<a href="mailto:sdouglas@redhat.com" target="_blank">sdouglas@redhat.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I am guessing you are using the websocket client? This would be the<br>
&gt;&gt; exception you get if the connection failed. I don&#39;t think Undertow<br>
&gt;&gt; does any logging, so you must be logging this at the ERROR level.<br>
&gt;&gt;<br>
&gt;&gt; As to why it is failing it is hard to say. How good is the network<br>
&gt;&gt; between the client and the target server, and how often is a lot?<br>
&gt;&gt;<br>
&gt;&gt; Also what version were you using before 1.4.12.Final?<br>
&gt;&gt;<br>
&gt;&gt; Stuart<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Apr 13, 2017 at 12:15 AM, Hicks, Matt &lt;<a href="mailto:matt@matthicks.com" target="_blank">matt@matthicks.com</a>&gt; wrote:<br>
&gt;&gt; &gt; I seem to be experiencing a lot of:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; [XNIO-1 task-40] ERROR i.y.E.defaultHandler.???:23 -<br>
&gt;&gt; &gt; java.nio.channels.ClosedChannelException<br>
&gt;&gt; &gt;     at io.undertow.protocols.ssl.SslConduit.write(SslConduit.java:369)<br>
&gt;&gt; &gt;     at<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; org.xnio.conduits.ConduitStreamSinkChannel.write(ConduitStreamSinkChannel.java:150)<br>
&gt;&gt; &gt;     at<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; org.xnio.http.HttpUpgrade$HttpUpgradeState$StringWriteListener.handleEvent(HttpUpgrade.java:385)<br>
&gt;&gt; &gt;     at<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; org.xnio.http.HttpUpgrade$HttpUpgradeState$StringWriteListener.handleEvent(HttpUpgrade.java:372)<br>
&gt;&gt; &gt;     at<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
&gt;&gt; &gt;     at<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.writeReady(WriteReadyHandler.java:65)<br>
&gt;&gt; &gt;     at<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; io.undertow.protocols.ssl.SslConduit$SslWriteReadyHandler.writeReady(SslConduit.java:1225)<br>
&gt;&gt; &gt;     at io.undertow.protocols.ssl.SslConduit$3.run(SslConduit.java:275)<br>
&gt;&gt; &gt;     at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)<br>
&gt;&gt; &gt;     at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;m not positive this is connected to my update to 1.4.12.Final, but I<br>
&gt;&gt; &gt; wanted to check to see if this is something anyone else is seeing?  It&#39;s<br>
&gt;&gt; &gt; likely it&#39;s related to my code, although I have no idea what I would<br>
&gt;&gt; &gt; have<br>
&gt;&gt; &gt; changed to cause this.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; undertow-dev mailing list<br>
&gt;&gt; &gt; <a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a><br>
</blockquote></div>