Error: fail to enroll : connection timed out


I'm using Elastic Cloud and I'm can't seem to be able to install the elastic agent, and I get the error :

Error: fail to enroll: fail to execute request to fleet-server: dial tcp IP-adress:443: connect: connection timed out.

When I tried to install the agent without the sudo command, the agent enrolled successfully on the Elastic Cloud but is always stuck on updating status and there are no applications running on it even though it has a healthy status in the host.

Nevermind, it was a firewall issue and I just had to add proxy configuration to the agent service unit.

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