After the OS switch from CentOS to Ubuntu, there are frequent url not accessible (VIP) problems in the HA proxy load balancer

After the OS switch from CentOS to Ubuntu, there are frequent url not accessible (VIP) problems in the HA proxy load balancer. The problem is being resolved once the keepalived and ha proxy services have been restarted. It is causing the production system to have outages rather frequently. Could someone please help me figure out what’s wrong and fix it?
HA Proxy version - v2.4.24
Keepalive version - V2.2.4