multi icon indicating copy to clipboard operation
multi copied to clipboard

no connection to server when trying to run on openshift node.js hosting

Open ashish3x3 opened this issue 10 years ago • 1 comments

I have changes the server.js file to use "module.exports = 'http://nodepli-devicemapping.rhcloud.com/';" instead of "module.exports = localhost" but it still not working.

http://nodepli-devicemapping.rhcloud.com/ is the URL to multi instance application.

Where else do we need to change in the code to make it run like "http://multi.christine-coenen.de/" ..

ashish3x3 avatar May 30 '15 14:05 ashish3x3

I cannot test the issue due to cross domain restrictions, but maybe it will work with the 'https'-URL like:

module.exports = 'https://nodepli-devicemapping.rhcloud.com/';

If this does not work you could debug your specific error by hooking into the onError function inside Multi.prototype.openSocketConnection of the client library. Socket.io should give an error object when the connection fails.

cemrich avatar May 31 '15 16:05 cemrich