Error Install APM-Agent M1

I'm having some trouble installing Fleet Server in Kibana on an m1 pro.

When I run the command

sudo ./elastic-agent install -v \   
  --fleet-server-es=http://localhost:9200 \
  --fleet-server-service-token=AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva2VuLTE2NTY5Mjc0MzA5MzU6ZGF6OXB4SG9SSzZuV04xZTB4a1lyUQ \

I get this on the console:

{"log.level":"info","@timestamp":"2022-07-04T11:45:35.125+0200","log.origin":{"":"cmd/enroll_cmd.go","file.line":393},"message":"Generating self-signed certificate for Fleet Server","ecs.version":"1.6.0"}

{"log.level":"info","@timestamp":"2022-07-04T11:45:36.972+0200","log.origin":{"":"cmd/enroll_cmd.go","file.line":783},"message":"Fleet Server - Starting","ecs.version":"1.6.0"}

{"log.level":"info","@timestamp":"2022-07-04T11:45:42.983+0200","log.origin":{"":"cmd/enroll_cmd.go","file.line":783},"message":"Fleet Server - Error - EOF","ecs.version":"1.6.0"}

Error: fleet-server failed: context canceled

For help, please see our troubleshooting guide at

Error: enroll command failed with exit code: 1

For help, please see our troubleshooting guide at

I have searched for this error on the internet

"Fleet Server - Error - EOF","ecs.version":"1.6.0"

Apparently it is an issue related to computers with ARM architecture. The issue has been going on for quite some time, but I haven't seen anywhere that it has been fixed, and I don't see anything related to it in the documentation.

Here I stay, and I can not move forward:


Kibana version: 8.2.3:

Elasticsearch version: 8.2.3:

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