Check out this snippet of code: var express = require('express'); var net = require('net'); var app = express(); var sock; //Establishing connection with mobile server on port 5132 console.log('Waiting for connection\nfrom ...
While using RockMongo in Openshift to import a json file into a MongoDB database, I came across an issue. The json was exported directly from another MongoDB without any modifications. Here is a snippet of the json data: { "_id" : "10352", "author" : "89 ...
I am currently facing an issue with the routing of my deployed silex app. I have successfully deployed the application using OpenShift and you can check it out here. However, whenever I try to access any page other than the home page, I encounter a 404 err ...
Using openshift with express, I have been experiencing difficulties configuring socket.io. No matter what adjustments I make, it seems to disrupt my application. What could be the issue? Interestingly, when I disable the sections related to socket.io, the ...
Can Openshift support GUI applications like Selenium? I am looking to deploy my Python application in the cloud... If not, is there a way to work around this issue? The application needs to log into a website and perform tasks for a few seconds.. ...
After setting up a basic node0.10 cartridge on OpenShift, I encountered an issue with my index.html file where I couldn't access certain files from the node_modules folder. Instead, I kept receiving 404 http errors. The imports in my index.html are struct ...
I am using a python 2.7 cartridge with the Django framework and I want to integrate memcached into it. I have added the Memcached Cloud cartridge to my app and followed this guide to set up my project. In order to utilize the Django caching backend 'BACKE ...
Recently, I encountered an issue while hosting my application on OpenShift with a custom domain. The problem arose when socket.io failed to download the client-side script, leading me to resort to using a CDN instead. However, this workaround has caused an ...
Currently, I am experimenting with the free plan offered by openshift.redhat. Up until now, things were going smoothly with my deployment. However, I encountered an issue when attempting to install bower. After searching online, I came across a suggested s ...
I am currently developing a micro-services project that utilizes docker technology. Within this project, I have a specific micro-service tasked with listening and retrieving data from multiple sources. My goal is to enable the capability of dynamically s ...
Currently, I am in the process of setting up a gitlab ci/cd pipeline for a vuejs application. The Gitlab runner has been provisioned using the Gitlab operator within an Openshift environment. In order to get a docker image of the application, I am utilizin ...
Getting ECONNREFUSED error when attempting socket connection in Node app on openshift servers, but works fine on local machine. Hello there! I am currently working on a simple application that requires making an outgoing socket connection from my server.j ...
My attempt to set up a REST API with Node, Express 4 and MongoDB on Openshift has been unsuccessful despite trying different configurations. Currently, my main server.js code looks like this: var AppContainer = function () { // Implementation. var sel ...
Exploring the capabilities of OpenShift has been exciting, but I am eager to incorporate a JavaScript task runner into my deployment process. Although NPM is present in the platform, every attempt to install my package.json or npm install grunt results in ...
Currently, I am in the process of working on a node.js project utilizing OpenShift. Everything is running smoothly except for the fact that I keep encountering a 404 error with my font awesome files. Upon SSHing into the system, I can see... ls app-deploy ...