<?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[Can not call client.joinOrCreate() when deploying on Nginx]]></title><description><![CDATA[<p>Hello everyone, I have got an error when deploying on Nginx.</p>
<p>My Nginx config:</p>
<p><img src="/assets/uploads/files/1576083164263-screenshot_20191211_234259-resized.png" alt="0_1576083162767_Screenshot_20191211_234259.png" class="img-responsive img-markdown" /></p>
<p>I use <a href="https://www.npmjs.com/package/colyseus.js" rel="nofollow">colyseus.js</a> for client side, when I call client.joinOrCreate(), I have got an error:</p>
<p><img src="/assets/uploads/files/1576083525248-2222-resized.png" alt="0_1576083524448_2222.png" class="img-responsive img-markdown" /></p>
<p>That error appears for both wss://domain and ws://domain. But when I use ws://my_server_ip, it works.</p>
<p>Thanks!</p>
]]></description><link>http://discuss.colyseus.io/topic/308/can-not-call-client-joinorcreate-when-deploying-on-nginx</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 19:02:06 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/308.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Dec 2019 17:03:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can not call client.joinOrCreate() when deploying on Nginx on Thu, 12 Dec 2019 03:13:36 GMT]]></title><description><![CDATA[<p>Hello everyone, I have got an error when deploying on Nginx.</p>
<p>My Nginx config:</p>
<p><img src="/assets/uploads/files/1576083164263-screenshot_20191211_234259-resized.png" alt="0_1576083162767_Screenshot_20191211_234259.png" class="img-responsive img-markdown" /></p>
<p>I use <a href="https://www.npmjs.com/package/colyseus.js" rel="nofollow">colyseus.js</a> for client side, when I call client.joinOrCreate(), I have got an error:</p>
<p><img src="/assets/uploads/files/1576083525248-2222-resized.png" alt="0_1576083524448_2222.png" class="img-responsive img-markdown" /></p>
<p>That error appears for both wss://domain and ws://domain. But when I use ws://my_server_ip, it works.</p>
<p>Thanks!</p>
]]></description><link>http://discuss.colyseus.io/post/1026</link><guid isPermaLink="true">http://discuss.colyseus.io/post/1026</guid><dc:creator><![CDATA[nghiatrx]]></dc:creator><pubDate>Thu, 12 Dec 2019 03:13:36 GMT</pubDate></item></channel></rss>