<?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[[C]pm2 + @colyseus&#x2F;proxy  Has been Error: socket hang up     who can help me?]]></title><description><![CDATA[<p>Error: socket hang up<br />
1|proxy    |     at createHangUpError (_http_client.js:332:15)<br />
1|proxy    |     at Socket.socketCloseListener (_http_client.js:373:25)<br />
1|proxy    |     at Socket.emit (events.js:203:15)<br />
1|proxy    |     at Socket.EventEmitter.emit (domain.js:448:20)<br />
1|proxy    |     at TCP._handle.close (net.js:607:12)<br />
1|proxy    | Proxy error during: /matchmake/joinById/HiYt0Y_8o<br />
1|proxy    | Error: socket hang up<br />
1|proxy    |     at createHangUpError (_http_client.js:332:15)<br />
1|proxy    |     at Socket.socketCloseListener (_http_client.js:373:25)<br />
1|proxy    |     at Socket.emit (events.js:203:15)<br />
1|proxy    |     at Socket.EventEmitter.emit (domain.js:448:20)<br />
1|proxy    |     at TCP._handle.close (net.js:607:12)</p>
]]></description><link>http://discuss.colyseus.io/topic/521/c-pm2-colyseus-proxy-has-been-error-socket-hang-up-who-can-help-me</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 08:31:33 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/521.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Oct 2021 08:55:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [C]pm2 + @colyseus&#x2F;proxy  Has been Error: socket hang up     who can help me? on Wed, 13 Oct 2021 12:53:10 GMT]]></title><description><![CDATA[<p>Error: socket hang up<br />
1|proxy    |     at createHangUpError (_http_client.js:332:15)<br />
1|proxy    |     at Socket.socketCloseListener (_http_client.js:373:25)<br />
1|proxy    |     at Socket.emit (events.js:203:15)<br />
1|proxy    |     at Socket.EventEmitter.emit (domain.js:448:20)<br />
1|proxy    |     at TCP._handle.close (net.js:607:12)<br />
1|proxy    | Proxy error during: /matchmake/joinById/HiYt0Y_8o<br />
1|proxy    | Error: socket hang up<br />
1|proxy    |     at createHangUpError (_http_client.js:332:15)<br />
1|proxy    |     at Socket.socketCloseListener (_http_client.js:373:25)<br />
1|proxy    |     at Socket.emit (events.js:203:15)<br />
1|proxy    |     at Socket.EventEmitter.emit (domain.js:448:20)<br />
1|proxy    |     at TCP._handle.close (net.js:607:12)</p>
]]></description><link>http://discuss.colyseus.io/post/1618</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1618</guid><dc:creator><![CDATA[Bright]]></dc:creator><pubDate>Wed, 13 Oct 2021 12:53:10 GMT</pubDate></item><item><title><![CDATA[Reply to [C]pm2 + @colyseus&#x2F;proxy  Has been Error: socket hang up     who can help me? on Invalid Date]]></title><description><![CDATA[<p>你好，这个问题在我看来有2种可能，<br />
1，服务器里有一个用于拥塞大小调整的参数，这个参数没设置好；<br />
2，线路问题导致连接阻塞。<br />
我马上反馈给技术人员，得到更专业的答案后会立即回复！</p>
]]></description><link>http://discuss.colyseus.io/post/1620</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1620</guid><dc:creator><![CDATA[COCO]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to [C]pm2 + @colyseus&#x2F;proxy  Has been Error: socket hang up     who can help me? on Wed, 13 Oct 2021 12:38:43 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/974">@bright</a> 如果你使用 Discord 等交流软件，可以加入 <a href="https://discord.gg/swqumk9U" rel="nofollow">https://discord.gg/swqumk9U</a><br />
请问你使用的是自托管服务器还是 Arena 服务器？</p>
]]></description><link>http://discuss.colyseus.io/post/1621</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1621</guid><dc:creator><![CDATA[COCO]]></dc:creator><pubDate>Wed, 13 Oct 2021 12:38:43 GMT</pubDate></item><item><title><![CDATA[Reply to [C]pm2 + @colyseus&#x2F;proxy  Has been Error: socket hang up     who can help me? on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/974">@Bright</a>, can you share more details about your environment?</p>
<ul>
<li>Are you using PM2? How's your ecosystem config file?</li>
<li>Which Presence and Driver have you configured on your Colyseus server?</li>
<li>Which version of the proxy and Colyseus are you using?</li>
</ul>
<p>If you can share the relevant pieces of source code it would be best. Cheers!</p>
]]></description><link>http://discuss.colyseus.io/post/1622</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1622</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to [C]pm2 + @colyseus&#x2F;proxy  Has been Error: socket hang up     who can help me? on Thu, 14 Oct 2021 23:17:20 GMT]]></title><description><![CDATA[<p>Yes using PM2<br />
ecosystem.js content:</p>
<pre><code>//******************************************************************//
const os = require('os');
module.exports = {
    error_file: 'logs/err.log',
    out_file: 'logs/out.log',
    log_file: 'logs/combined.log',
    time: true,
    apps: [
        {
            name        : &quot;game&quot;,
            script      : &quot;cd game &amp;&amp;  node dist/main.js&quot;,
            watch       : true,
            instances   : os.cpus().length,
            exec_mode   : 'fork',
			env: {
				PORT:xxxx, //proxy port
                DEBUG: &quot;colyseus:errors&quot;,
                NODE_ENV: &quot;production&quot;
            }
		},
        {
            name        : &quot;proxy&quot;,
			script      : &quot;cd proxy/proxy  &amp;&amp; npx ts-node proxy.ts&quot;,
            //script      : &quot;cd proxy &amp;&amp; node proxy.js&quot;,
            watch       : true,
            instances   : 1,
            exec_mode   : 'fork',
			env: {
				PORT: xxxx,
				IP:&quot;10.70.28.139&quot;,
				REDIS_URL: &quot;redis://xx.xx.xx.xx:2007/01&quot;,
                NODE_ENV: &quot;production&quot;
            }
        }
    ]
}
//******************************************************************//
</code></pre>
<p>Version number of Colyseus I use:</p>
<pre><code>&quot;Colyseus&quot; : &quot;^ 0.12.3&quot;,
&quot;Colyseus. Js&quot;, &quot;^ 0.13.1&quot;,
&quot;@ colyseus/proxy&quot;, &quot;0.12.6&quot;,
</code></pre>
]]></description><link>http://discuss.colyseus.io/post/1626</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1626</guid><dc:creator><![CDATA[Bright]]></dc:creator><pubDate>Thu, 14 Oct 2021 23:17:20 GMT</pubDate></item><item><title><![CDATA[Reply to [C]pm2 + @colyseus&#x2F;proxy  Has been Error: socket hang up     who can help me? on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/873">@coco</a> 自托管</p>
]]></description><link>http://discuss.colyseus.io/post/1627</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1627</guid><dc:creator><![CDATA[Bright]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to [C]pm2 + @colyseus&#x2F;proxy  Has been Error: socket hang up     who can help me? on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/873">@coco</a> 这个参数叫什么名字 我查一下</p>
]]></description><link>http://discuss.colyseus.io/post/1628</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1628</guid><dc:creator><![CDATA[Bright]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>