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

Other node not connected #23

Open
lucarosty opened this issue Jun 13, 2019 · 1 comment
Open

Other node not connected #23

lucarosty opened this issue Jun 13, 2019 · 1 comment

Comments

@lucarosty
Copy link

In the function connectToLink the link that has to be parsed is in the form :@
When the client (fastRedis or normal client) is created the string @ is used as port and the connection fail.
The solution is changing the first line of code in the function with this two rows:

var ss = str.split('@');
var spl = ss[0].split(':');

@lucarosty
Copy link
Author

Another suggestion is to change the line var link = ( flags === 'myself' || flags === 'myself,master || ...
with the line: var link = items[1].
This is useful if the the cluster has a balanced virtual ip

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

1 participant