meteorhacks / cluster

Clustering solution for Meteor with load balancing and service discovery
https://meteorhacks.com/cluster-a-different-kind-of-load-balancer-for-meteor.html
MIT License
632 stars 80 forks source link

Error: Cluster: trying to connect, but already connected #48

Closed jaskinn closed 9 years ago

jaskinn commented 9 years ago

Can anyone shed some light on what I need to do to correct this?

I'm attempting to deploy in own server environment (using mup), I assume I have misconfigured something.

jaskinn commented 9 years ago

This error was because in development I was using

Cluster.connect(<mongo url>)

And when deploying with 'mup', this is handled via environment variables.

"CLUSTER_DISCOVERY_URL": <mongo url>