Elastic Agent / Endpoint no longer can connect to fleet server

I had elastic agent / end point installed on about 10 computers, they were working for pass months, I just noted today that all pcs are showing offline status, and I check logs, all show following error:

[elastic_agent][error] Could not communicate with fleet-server Checking API will retry, error: fail to checkin to fleet-server: Post "": dial tcp connectex: No connection could be made because the target machine actively refused it.

wondering someone could offer me some troubleshooting idea. I did not change anything at my elastic server (I am using single node), no sure where to start.

thanks in advance.

Hi, All;

I resolved it today. By some reason, the elastic-agent is not running on fleet server (even though I reboot the machine, still come back not restart), I have to do "sudo service elastic-agent restart" to start the service, then communication is back.

I was not see this coming, I thought all services are auto start at reboot. What I think what happened is that elasticsearch takes long time to restart, and some of other service got time out to restart (just what I think, not sure)

Anyway, it is resolved.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.