IPv6 support [message #1837728] |
Thu, 04 February 2021 14:26  |
Eclipse User |
|
|
|
Hi,
We are using Jersey library to communicate using RESTful APIs. We use resolveTemplate API to resolve the URL template with actual IP address. Something like this: private static final String API_URL_TMPL = "https://{nodeIp}:9000/api/v2/abc/"; private static final String VAR_NODE_IP = "nodeIp";
new JerseyWebTarget(API_URL_TMPL, jerseyClient).resolveTemplate(VAR_NODE_IP, nodeIp);
jerseyClient is created previously. nodeIp value being passed is [6001::f816:3eff:fe87:c1a8]
We are hitting this issue: javax.ws.rs.ProcessingException: java.net.UnknownHostException: %5B6001%3A%3Af816%3A3eff%3Afe87%3Ac1a8%5D
Does jersey even support IPv6 ? How to overcome this?
Thanks !
|
|
|
|
Powered by
FUDForum. Page generated in 0.05681 seconds