I am trying elastic endpoint from code source and I am getting this error:
Could not communicate with Checking API will retry, error: fail to checkin to fleet: Post "https://@IP_KIBANA:5601/api/ingest_manager/fleet/agents/**enrollement_key**/checkin?": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
I tried it on windows and Linux and have the same issue
To configure it I run the below commands:
For me I found the issue, it was my bad cause I was trying it in a VM and it the network adapter was configured in bridge mode
if it's not the case for you, make sure that your firewall doesn't block your packets
On my side, the initial connections are succesfully but over time the checkin endpoint fails and stops the services. When I curl the checkin service on the Kibana Fleet endpoint, I get a response stating the service is not found.
I had once the same issue, but even with chekin problems it works for me, after I enrolled the agent I had just to restart the windows machine and then I began receiving endpoint data
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.