ECK fleet-server-agent errors after adding "policyID: eck-fleet-server"

Hit the following errors after adding the suggested configuration according to https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-elastic-agent-fleet-quickstart.html:

{"log.level":"error","@timestamp":"2023-08-08T09:15:00.917Z","message":"error while closing listener.","component":{"binary":"fleet-server","dataset":"elastic_agent.fleet_server","id":"fleet-server-default","type":"fleet-server"},"log":{"source":"fleet-server-default"},"error.message":"close tcp [::]:8220: use of closed network connection","ecs.version":"1.6.0","service.name":"fleet-server","ecs.version":"1.6.0"}
Error: fleet-server failed: context canceled
Error: enrollment failed: exit status 1

What was wrong and how to fix it?

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