[Kea-users] IPv6 High Availability hooks library not accepting ipv6 address in square brackets for peers?

Dan Oachs doachs at gac.edu
Fri Feb 25 22:12:07 UTC 2022


Thanks.  I should know better than ask for help without mentioning the
version number I am running.  :)    That looks exactly like the error I am
seeing.  Good to know it should get fixed in the next update.

I am using version 2.0.1.

Thanks,
   Dan Oachs


On Fri, Feb 25, 2022 at 4:08 PM Peter Davies <
peter.watson.davies at outlook.com> wrote:

> Hi Dan,
>
>    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
>
>
> see https://gitlab.isc.org/isc-projects/kea/-/issues/2264 "error parsing
> url with ipv6 address"
>
>
> Kind Regard Peter
>
>
> Sent from Outlook <http://aka.ms/weboutlook>
> ------------------------------
> *From:* Kea-users <kea-users-bounces at lists.isc.org> on behalf of Dan
> Oachs <doachs at gac.edu>
> *Sent:* 25 February 2022 22:36
> *To:* kea-users at lists.isc.org <kea-users at lists.isc.org>
> *Subject:* [Kea-users] IPv6 High Availability hooks library not accepting
> ipv6 address in square brackets for peers?
>
> 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....
>
> 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
>
> The line in my configuration looks like this...
> {"name": "servername","basic-auth-user":
> "usernamehere","basic-auth-password": "passwordhere","url": "http://[2001:db8::1]:8080/","role":
> "primary"}
>
> Do I have the configuration wrong, or is there a bug here?  Hopefully I am
> missing something simple.
>
> Thanks,
>   Dan Oachs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220225/fc48cb20/attachment-0001.htm>


More information about the Kea-users mailing list