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

i think redis cluster doesn't work over ipv6 #2511

Closed
rusik69 opened this issue Apr 9, 2015 · 2 comments
Closed

i think redis cluster doesn't work over ipv6 #2511

rusik69 opened this issue Apr 9, 2015 · 2 comments

Comments

@rusik69
Copy link

rusik69 commented Apr 9, 2015

Hello.
I'm trying to run cluster using ip6-only hosts but when I run ./redis-trib.rb create --replicas 1 ipv6_address:7001 ipv6_address:7002 ipv6_address:7003 ipv6_address2:7001 ipv6_address2:7002 ipv6_address2:7003 , it gets locked up on Waiting for the cluster to join........ infinetely. If i run redis-cli -h ipv4_address -p 7001 cluster meet ipv4_address 7002 , it works properly and there is:9596:M 09 Apr 18:11:44.292 . Connecting with Node 4167d1f4be34010620a3c15e77e1a53e6f350e32 at ipv6_address:17002 9596:M 09 Apr 18:11:44.292 . I/O error writing to node link: Broken pipe .But if i run redis-cli -h ipv6_address -p 7001 cluster meet 127.0.0.1 7002 , it works, 9596:M 09 Apr 18:19:18.948 . --- Processing packet of type 1, 2208 bytes 9596:M 09 Apr 18:19:18.948 . pong packet received: 0x7fd407d81200 9596:M 09 Apr 18:19:19.029 . --- Processing packet of type 0, 2208 bytes 9596:M 09 Apr 18:19:19.029 . Ping packet received: (nil) 9596:M 09 Apr 18:19:19.029 . ping packet received: (nil)
looks like it doesn't work over ipv6.

@ackepenek
Copy link

@Loqutus Hi,
What is your ipv6 address ie is it valid?
What is the redis version you are trying?

@TearsDontFalls
Copy link

Hi, i have a redis cluster running over ipv6 and had the same experience. For me the problem was binding to multiple ips for example
bind 127.0.0.1 ipv6

Changing to

bind ipv6 127.0.0.1
did the trick for me

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

3 participants