Elastic-agent fails "enroll_cmd.go:776 Fleet Server - Error - EOF"

[root@es1 elastic-agent-7.16.2-linux-x86_64]# uname -a
Linux es1 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 30 15:51:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@es1 elastic-agent-7.16.2-linux-x86_64]# ./elastic-agent install --fleet-server-es= --fleet-server-service-token= --fleet-server-policy= --fleet-server-insecure-http
Elastic Agent will be installed at /opt/Elastic/Agent and will run as a service. Do you want to continue? [Y/n]:y
2022-01-07T20:17:21.775Z INFO cmd/enroll_cmd.go:776 Fleet Server - Error - EOF

I think you're missing the --fleet-server-es-inscure flag (ref: Elastic Agent command reference | Fleet and Elastic Agent Guide [7.16] | Elastic)

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