Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ashish3x3 opened this issue May 30, 2015 · 1 comment

Comments

@ashish3x3
Copy link

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/" ..

@cemrich
Copy link
Owner

cemrich commented May 31, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants