[Kea-users] unexpected first character^U: expected 'H'

duluxoz duluxoz at gmail.com
Sun Dec 15 04:49:43 UTC 2024


Hi All,

I keep getting this error message in my logs. It relates to the HA 
Module. I've included the relevant bit of the config file. Could someone 
please help, because I'm ****** if I know whats wrong and therefor how 
to fix it - thanks.

Error:

~~~

WARN  [kea-dhcp4.ha-hooks/3603655.140462806251648] 
HA_HEARTBEAT_COMMUNICATIONS_FAILED failed to send heartbeat to node2 
(http://192.168.0.6:8000/): unexpected first character^U: expected 'H' : 
current state: [ 112 RECEIVE_START_ST ] next event: [ 1 START_EVT ]

~~~

Config File Extract:

~~~

"library": "/usr/lib64/kea/hooks/libdhcp_ha.so",
   "parameters": {
     "high-availability": [{
       "this-server-name": "node1",
       "mode": "load-balancing",
       "peers": [{
         "name": "node1",
         "url": "http://192.168.0.5:8000/",
         "role": "primary",
         "basic-auth-user": "keacontrolagent",
         "basic-auth-password": "nottherealpassword",
         "auto-failover": true
       },{
         "name": "node2",
         "url": "http://192.168.0.6:8000/",
         "role": "secondary",
         "basic-auth-user": "keacontrolagent",
         "basic-auth-password": "nothterealpassword",
         "auto-failover": true
       }]
     }]
   }
~~~

Cheers

Dulux-Oz



More information about the Kea-users mailing list