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

ipv6 support broken again #286

Closed
grinapo opened this issue Apr 7, 2015 · 3 comments
Closed

ipv6 support broken again #286

grinapo opened this issue Apr 7, 2015 · 3 comments
Labels

Comments

@grinapo
Copy link

grinapo commented Apr 7, 2015

Serf v0.6.4
serf agent -join '[2001:50:0:13::25]'
[...]
==> Joining cluster...(replay: false)
==> lookup [2001:50:0:13::25]: invalid domain name

(worked in v0.6.0)

@ryanuber
Copy link
Member

Hi @grinapo,

Are you compiling serf yourself or using the 0.6.4 release binary? If you are compiling yourself, you might want to try updating your dependencies and build again. I tried your exact command against master and the release binary and I get "no such host" as one would expect (not the invalid domain message). Try go get -v -d -u -f ./... in the serf directory, and build again.

@grinapo
Copy link
Author

grinapo commented Apr 28, 2015

  1. I use the binary.
  2. "No such host" is nice, then please tell me how would you like to provide an IPv6 literal address as input? The point is to join the cluster and not to get an error message. :-)

@slackpad
Copy link
Contributor

Ok I think there's a bug in memberlist (and things may have been different with different Go versions). As a workaround, you can always supply the port number, so [2001:50:0:13::25]:7946 will work.

Closing this since it's now tracked in the library that's the source of the error.

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

No branches or pull requests

3 participants