Listen on 0.0.0.0 openshift
-
If you figure it out, would be nice if you can add a tutorial here please
I actually spent a little bit of time trying to install on openshift but gave up
-
I've not tried (neither set up any non-local NodeBB instance), but doesn't the
0.0.0.0
come from"bind_address": "0.0.0.0",
within config.json which can also be set within setup-steps?
But I have no clue what nodejs IP should be o_O -
awesome, congrats
-
Here is the link if anyone is interested in testing the performance (which is not very good but it is free) : http://forum-hamak.rhcloud.com/
-
Looks like websockets aren't working takes ages for the page to transition
-
@psychobunny websockets are working but openshift performance is something beyond imagination, working with ssh takes years ! the "npm install" command took around 45 minutes to complete while on a normal 512MB 1core vps it is just around a minute.
-
websockets are working
I'm actually getting this in the console:
WebSocket connection to 'ws://forum-hamak.rhcloud.com/socket.io/1/websocket/_8zSBykPudwy6ryuwPML' failed: Error during WebSocket handshake: Unexpected response code: 502
So I think the page transition takes a little bit longer because socket.io attempts to connect via sockets, fails, retries a few times, and then reverts to XHR polling
-
It is ugly openshift try this : http://forum-hamak.rhcloud.com:8000/ websockets only work on 8000 port for openshift
-
Nice, at least it works fast now. Well its free, so pretty decent for development I would imagine