<?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[Colyseus Server Freezes On Error(solved)]]></title><description><![CDATA[<p>Hello!<br />
I am having big issues with my Colyseus server, when my server experiences an issue, it doesnt crash or keep going, it just freezes. If it crashed thats fine, i could use nodemon or pm2 to restart it and report the error, but it just hangs.  Having 0 bugs is totally unrealistic.  Only thing i can think of is wrap every piece of server code i write in a try {} catch (e) {} but that feels sketchy.  Does anyone have a way to keep Colyseus running or have the process terminate on crash?</p>
<p>Thanks,<br />
Mitch</p>
]]></description><link>http://discuss.colyseus.io/topic/619/colyseus-server-freezes-on-error-solved</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 09:54:28 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/619.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Apr 2022 14:18:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Colyseus Server Freezes On Error(solved) on Fri, 29 Apr 2022 05:40:14 GMT]]></title><description><![CDATA[<p>Hello!<br />
I am having big issues with my Colyseus server, when my server experiences an issue, it doesnt crash or keep going, it just freezes. If it crashed thats fine, i could use nodemon or pm2 to restart it and report the error, but it just hangs.  Having 0 bugs is totally unrealistic.  Only thing i can think of is wrap every piece of server code i write in a try {} catch (e) {} but that feels sketchy.  Does anyone have a way to keep Colyseus running or have the process terminate on crash?</p>
<p>Thanks,<br />
Mitch</p>
]]></description><link>http://discuss.colyseus.io/post/1823</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1823</guid><dc:creator><![CDATA[mitchmeyer1]]></dc:creator><pubDate>Fri, 29 Apr 2022 05:40:14 GMT</pubDate></item><item><title><![CDATA[Reply to Colyseus Server Freezes On Error(solved) on Invalid Date]]></title><description><![CDATA[<p>Hi Mitch,</p>
<p>I've never seen this issue being reported, could you share more details about the environment you're running in?</p>
<p>E.g. are you using Windows? which Node.js version? How do you spawn the process? If you can provide a way we can reproduce would also be nice. Thanks</p>
]]></description><link>http://discuss.colyseus.io/post/1824</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1824</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Colyseus Server Freezes On Error(solved) on Invalid Date]]></title><description><![CDATA[<p>Hello,</p>
<p>Im on MacOS 11.6.1 and using Node 16.14.0</p>
<p>I actually fixed it by changing  in package.json<br />
&quot;start&quot;: &quot;ts-node-dev --respawn --transpile-only src/index.ts&quot;,<br />
to:<br />
&quot;start&quot;: &quot;ts-node --transpile-only src/index.ts&quot;,</p>
<p>Turns out the --respawn flag was making it hang upon an error.</p>
<p>I just had one of my colyseus message channels throw an error like this: &quot;let b = c.d&quot; where c is undefined.</p>
<p>Now if i could just get it to report errors to RayGun or Sentry upon crash that would be great - seems like a different thread though probably</p>
]]></description><link>http://discuss.colyseus.io/post/1825</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1825</guid><dc:creator><![CDATA[mitchmeyer1]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>