<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p>Hi Dan,</p>
<p> You don't mention what version of Kea you are running, but I think this may be a known issue. One which was fixed in release 2.1.2</p>
<p><br>
</p>
<p>see <a href="https://gitlab.isc.org/isc-projects/kea/-/issues/2264">https://gitlab.isc.org/isc-projects/kea/-/issues/2264</a> "error parsing url with ipv6 address"</p>
<p><br>
</p>
<p>Kind Regard Peter</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
Sent from <a href="http://aka.ms/weboutlook">Outlook</a></div>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Kea-users <kea-users-bounces@lists.isc.org> on behalf of Dan Oachs <doachs@gac.edu><br>
<b>Sent:</b> 25 February 2022 22:36<br>
<b>To:</b> kea-users@lists.isc.org <kea-users@lists.isc.org><br>
<b>Subject:</b> [Kea-users] IPv6 High Availability hooks library not accepting ipv6 address in square brackets for peers?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="x_gmail_default" style="font-size:small">I currently have ipv6 dhcp working great with high availability and am trying to set up a pair of dhcpv6 servers. However when I try to configure the hook with ipv6 addresses in square brackets as mentioned
in the documentation, I get this error....<br>
<br>
HA_CONFIGURATION_FAILED failed to configure High Availability hooks library: bad url 'http://[2001:db8::1]:8080/': Failed to convert string to address '[2001:db8::1]': Invalid argument for server</div>
<div class="x_gmail_default" style="font-size:small"><br>
</div>
<div class="x_gmail_default" style="font-size:small">The line in my configuration looks like this...<br>
{"name": "servername","basic-auth-user": "usernamehere","basic-auth-password": "passwordhere","url": "http://[2001:db8::1]:8080/","role": "primary"}</div>
<div class="x_gmail_default" style="font-size:small"><br>
</div>
<div class="x_gmail_default" style="font-size:small">Do I have the configuration wrong, or is there a bug here? Hopefully I am missing something simple.<br>
</div>
<div class="x_gmail_default" style="font-size:small"><br>
</div>
<div class="x_gmail_default" style="font-size:small">Thanks,</div>
<div class="x_gmail_default" style="font-size:small"> Dan Oachs</div>
<div class="x_gmail_default" style="font-size:small"><br>
</div>
</div>
</div>
</body>
</html>