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

Compatibility with Phusion Passenger #46

Open
akaztp opened this issue Aug 10, 2017 · 1 comment
Open

Compatibility with Phusion Passenger #46

akaztp opened this issue Aug 10, 2017 · 1 comment

Comments

@akaztp
Copy link
Collaborator

akaztp commented Aug 10, 2017

My production server is a ubuntu 16 managed by Plesk Onyx, which uses Phusion Passenger to manage different nodejs apps. Remotedev-Server does not work on this setup.

I'm not very acquainted with server technology, but what I've concluded is that SocketCluster is a somewhat "competitor" with Passenger in the clustering part.
Nonetheless, I've tried putting remotedev-server to work with Passenger but it does not seem to pickup the SocketCluster port listening. My guess is that SocketCluster does not use the node http server listen() method which is the pickup entry point for Passenger.

What are your thoughts on this?

My solution would be to rewrite the worker.js so it does not use SocketCluster, but then I guess Redux Devtools will not be able to read a report from it, am I right? If so, I would be using this modified remotedev-server to only collect the reports and then manually transfer them to a development setup where I would use the normal (with SocketCluster) version.

Thank you

@zalmoxisus
Copy link
Owner

I'm sorry for answering after 1.5 years. Socketcluster creates separate from the current process workers, which is nice for complex apps, but I agree that it's not much needed for our use case. I'm open to replace it to just ws if someone needs it. Alternatively, you can decouple only express part, we could move it to a separate file to be easily imported.

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