Closed quulah closed 8 years ago
I'm not a Go guy, but might be GetLocation() that is causing the problem.
It returns %s:%s host and port. Which is then used at least here to set the uri.
Okay - it looks like when using IPV6 the socket libraries in Golang expect your url/port to kinda look like this - see https://golang.org/src/net/ipsock.go#L107
[fdf1:a315:9433:8014:f816:3eff:fe1a:288c:26379]
Notice the enclosing "[" and "]"
If you could try this branch - https://github.com/mdevilliers/redishappy/tree/ipv6-bug and report back that would be awesome?
Thanks, seems to be working.
I made a quick hack earlier that added the missing []'s to the IPv6 address, but that looks a lot cleaner.
Thanks for getting back to me - I'll merge.
I have Redis and Sentinels running on IPv6.
When configuring redishappy-consul, I set "[::1]" for the Sentinel and Consul addresses, which seems to work.
After that though, I start getting this error: