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-boun...@lists.isc.org> on behalf of Dan Oachs 
<doa...@gac.edu>
Sent: 25 February 2022 22:36
To: kea-users@lists.isc.org <kea-users@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

-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to