Getting heartbeat failed error