I am making a multiplayer game using Socket.io, Node.js, and Openshift. It was working for a while, but I made a few small changes and now something unrelated to what I changed has broken. When a second player tries to join the game, it boots everyon...
I can't get socket.io running on OpenShift. I googled for some hours now but nothing really helped me. Locally it works fine (with different ports and localhost as host of course).   This is my server.js file:  var port      = process.env.OPENSHI...
I am using OpenShift and Node.js I am trying to get the average - rating for each result but I cant  get the response to work even though the console reports correctly. I get 3.9454323 into the console , but when I git localhost:3002/getM/1 the respo...
My code when deployed locally connects to Websocket endpoint as     var connection = new WebSocket('ws://127.0.0.1:8080/tweetstream/tweets');     I deployed this to Openshift and the URL changes to http://map-tweetstream.rhcloud.com/tweetstre...
I'm trying to create a simple websocket app with NodeJS, WS and Openshift  This is my code: package.json:  {   "name": "OpenShift-Sample-App",   "version": "1.0.0",   "description": "OpenShift Sample Ap...
I'm trying to install keystone.js, but keep getting missing module errors, can any one please help? I have updated my package.json to include cloud-env dependancies, but still no joy. There's very little documentation available for deploying...
I'm trying to create a private channel to allow users to send data to my node.js server. The request is failing, and returning a pusher:subscription_error with an error code of 500.   My node.js (server side) log cannot pull the socket_id from th...
I wrote a database population script (in JavaScript) so that I could easily run it on my local and on the server.  I want to run it from the command line so that all I have to do is push it to the server/gear and execute it.  The script runs fine on...
I hit the below error on container when i deploy the app on Open shift.   status of container is  Crash Loop Back-off  Local env works fine with no errors.   I made sure angular package versions are aligned to get the build successful.   > ng serv...
So I recently ran into this very weird problem. I've been using glitch.com to host my discord bot. The music command ran perfectly - the only npm packages I used were discord.js, ytdl-core and youtube-search. But as soon as I switched to RedHat O...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.