<div dir="ltr">I don'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'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 <<a href="mailto:sdouglas@redhat.com">sdouglas@redhat.com</a>> 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 <<a href="mailto:matt@matthicks.com" target="_blank">matt@matthicks.com</a>> wrote:<br>
> Well, I seem to have narrowed down the cause to CloudFlare. If I pause<br>
> CloudFlare then it stops happening. The connection is incredibly stable and<br>
> was happening consistently.<br>
><br>
> On Wed, Apr 12, 2017 at 5:26 PM Stuart Douglas <<a href="mailto:sdouglas@redhat.com" target="_blank">sdouglas@redhat.com</a>> wrote:<br>
>><br>
>> I am guessing you are using the websocket client? This would be the<br>
>> exception you get if the connection failed. I don't think Undertow<br>
>> does any logging, so you must be logging this at the ERROR level.<br>
>><br>
>> As to why it is failing it is hard to say. How good is the network<br>
>> between the client and the target server, and how often is a lot?<br>
>><br>
>> Also what version were you using before 1.4.12.Final?<br>
>><br>
>> Stuart<br>
>><br>
>> On Thu, Apr 13, 2017 at 12:15 AM, Hicks, Matt <<a href="mailto:matt@matthicks.com" target="_blank">matt@matthicks.com</a>> wrote:<br>
>> > I seem to be experiencing a lot of:<br>
>> ><br>
>> > [XNIO-1 task-40] ERROR i.y.E.defaultHandler.???:23 -<br>
>> > java.nio.channels.ClosedChannelException<br>
>> > at io.undertow.protocols.ssl.SslConduit.write(SslConduit.java:369)<br>
>> > at<br>
>> ><br>
>> > org.xnio.conduits.ConduitStreamSinkChannel.write(ConduitStreamSinkChannel.java:150)<br>
>> > at<br>
>> ><br>
>> > org.xnio.http.HttpUpgrade$HttpUpgradeState$StringWriteListener.handleEvent(HttpUpgrade.java:385)<br>
>> > at<br>
>> ><br>
>> > org.xnio.http.HttpUpgrade$HttpUpgradeState$StringWriteListener.handleEvent(HttpUpgrade.java:372)<br>
>> > at<br>
>> ><br>
>> > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
>> > at<br>
>> ><br>
>> > org.xnio.conduits.WriteReadyHandler$ChannelListenerHandler.writeReady(WriteReadyHandler.java:65)<br>
>> > at<br>
>> ><br>
>> > io.undertow.protocols.ssl.SslConduit$SslWriteReadyHandler.writeReady(SslConduit.java:1225)<br>
>> > at io.undertow.protocols.ssl.SslConduit$3.run(SslConduit.java:275)<br>
>> > at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:580)<br>
>> > at org.xnio.nio.WorkerThread.run(WorkerThread.java:464)<br>
>> ><br>
>> > I'm not positive this is connected to my update to 1.4.12.Final, but I<br>
>> > wanted to check to see if this is something anyone else is seeing? It's<br>
>> > likely it's related to my code, although I have no idea what I would<br>
>> > have<br>
>> > changed to cause this.<br>
>> ><br>
>> > _______________________________________________<br>
>> > undertow-dev mailing list<br>
>> > <a href="mailto:undertow-dev@lists.jboss.org" target="_blank">undertow-dev@lists.jboss.org</a><br>
>> > <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>