<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Readystate error]]></title><description><![CDATA[<p>Very rarely I get the 'WebSocket is not open: readyState 2' Error. I suspect it happens when the server tries to send to a client that disconnected at the moment it was sent, or something similar.</p>
<p>Do i allways need to check for readystate before send() ?</p>
<p>Thanks</p>
<pre><code class="language-javascript">WebSocket is not open: readyState 2 (CLOSING)
Error: WebSocket is not open: readyState 2 (CLOSING)
    at WebSocket.send (Y:\UiA\3 År\Bachelor\trianglearcade\server\node_modules\w
s\lib\websocket.js:314:19)
</code></pre>
]]></description><link>http://discuss.colyseus.io/topic/86/readystate-error</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 13:46:12 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/86.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 May 2018 07:55:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Readystate error on Mon, 28 May 2018 08:04:04 GMT]]></title><description><![CDATA[<p>Very rarely I get the 'WebSocket is not open: readyState 2' Error. I suspect it happens when the server tries to send to a client that disconnected at the moment it was sent, or something similar.</p>
<p>Do i allways need to check for readystate before send() ?</p>
<p>Thanks</p>
<pre><code class="language-javascript">WebSocket is not open: readyState 2 (CLOSING)
Error: WebSocket is not open: readyState 2 (CLOSING)
    at WebSocket.send (Y:\UiA\3 År\Bachelor\trianglearcade\server\node_modules\w
s\lib\websocket.js:314:19)
</code></pre>
]]></description><link>http://discuss.colyseus.io/post/267</link><guid isPermaLink="true">http://discuss.colyseus.io/post/267</guid><dc:creator><![CDATA[veggis]]></dc:creator><pubDate>Mon, 28 May 2018 08:04:04 GMT</pubDate></item><item><title><![CDATA[Reply to Readystate error on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/65">@veggis</a>, I think this error has been fixed in the latest version. Which version of colyseus are you using on server-side?</p>
]]></description><link>http://discuss.colyseus.io/post/268</link><guid isPermaLink="true">http://discuss.colyseus.io/post/268</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Readystate error on Invalid Date]]></title><description><![CDATA[<p>v0.9.1, I've updated to latest now. Haven't happened since :)</p>
]]></description><link>http://discuss.colyseus.io/post/269</link><guid isPermaLink="true">http://discuss.colyseus.io/post/269</guid><dc:creator><![CDATA[veggis]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>