Installing peerjs-server in a cloud

521 views
Skip to first unread message

tarj...@gmail.com

unread,
Jan 18, 2014, 7:38:05 PM1/18/14
to pee...@googlegroups.com
Hi,

I tried to install the peerjs-server in OpenShift.com. I started with Node.js 0.10 and then tried to deploy the git but it does not work. May you please let me know the basic requirements for setting up the server? I cannot find these requirements in the readme file.

Regards,
Dariush

Michelle Bu

unread,
Feb 1, 2014, 12:33:35 AM2/1/14
to tarj...@gmail.com, peerjs
I'm unfamiliar with OpenShift.com, but you're probably missing some
dependencies. Are you seeing any errors in your logs?
Michelle
Message has been deleted

Eric Poulin

unread,
Mar 3, 2014, 5:34:41 AM3/3/14
to pee...@googlegroups.com, tarj...@gmail.com, miche...@berkeley.edu
I'm having troubles getting peerjs-server working on OpenShift too.. I've looked in the error logs and there are none about peerjs nor any about missing dependencies. Not sure what I need to do to get it running on OpenShift as I would really like to use that platform.

Michelle Bu

unread,
Mar 3, 2014, 12:08:42 PM3/3/14
to Eric Poulin, peerjs, Dariush Saberi
Hmm, could it be that you need to do special configuration to enable
websockets? https://www.openshift.com/blogs/paas-websockets
Michelle

Eric Poulin

unread,
Mar 3, 2014, 5:15:43 PM3/3/14
to pee...@googlegroups.com, Eric Poulin, Dariush Saberi, miche...@berkeley.edu
WebSockets is configured correctly.

I actually am getting listen EACCES error when I start my PeerJS Server which comes down to the line: "this._app.listen(this._options.port);". I think this is because OpenShift requires a specific port / IP address to be used. Through the peer-server I can set the port but not the IP address, is this correct? Is there a way to specify the host?

Eric Poulin

unread,
Mar 12, 2014, 4:19:04 PM3/12/14
to pee...@googlegroups.com, Eric Poulin, Dariush Saberi, miche...@berkeley.edu
An update to my current status with a lot more information on this can be found in this stack overflow question: http://stackoverflow.com/q/22313136/2416181

If you guys have anything to add in regards to the issue, it would be much appreciated!


On Tuesday, 4 March 2014 06:08:42 UTC+13, Michelle Bu wrote:
Reply all
Reply to author
Forward
0 new messages