Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
1.6.2
-
None
-
Linux
-
1
Description
Error hit when passing IP6v address in format
String hosts = "[2001:db4:bad:a55::5]:8091"; |
|
Cluster cluster = CouchbaseCluster.create(createCBEnvironment(), hosts);
|
bucket = cluster.openBucket(bucketName);
|
The issue seem coming from the
Caused by: java.net.UnknownHostException: 2001:db4:bad:a55::5:: invalid IPv6 addressCaused by: java.net.UnknownHostException: 2001:db4:bad:a55::5:: invalid IPv6 address at java.net.InetAddress.getAllByName(InetAddress.java:1169) at java.net.InetAddress.getAllByName(InetAddress.java:1126) at com.couchbase.client.core.utils.NetworkAddress.<init>(NetworkAddress.java:70) ... 58 more |
which the url where not in IPV6 [::::]: format.
nodes":[{"couchApiBase":"http://2001:db4:bad:a55::5:8092/Test_bucket |
attached with the error logs.