Hi everyone,
I have an ipv6 server with address [202:a01:310:234:b01:34a:41a:33e]:9999.
I tried to make Java client connect to it by passing the string form of the above address, but got error:
io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: connect(..) failed: Invalid argument: /202:a01:310:234:b01:34a:41a:33e:9999 Not use why the format changes...
I also tried another format such as %5B202:a01:310:234:b01:34a:41a:33e%5D:9999, but got error again:
java.net.URISyntaxException: Malformed IPv6 address at index 3: //[%5B202:a01:310:234:b01:34a:41a:33e%5D]:9999
The versions is 1.52.1 for io.grpc.
How can I resolve the problem?
Thanks!