Hi guy's i'm setting up an elastic-agent on a Windows machine... and looking through the logs i'm seeing the following error:
{"log.level":"error","@timestamp":"2021-03-03T09:41:49.593-0500","log.origin":{"file.name":"application/fleet_gateway.go","file.line":187},"message":"Could not communicate with Checking API will retry, error: could not decode the response
"message":"Could not communicate with Checking API will retry, error: could not decode the response
I can make a request just fine via the browser or through CURL just fine at the https://kibana.mydomain.com/api/fleet/agents/e416bec0-7c17-11eb-a501-6d52f7426339/checkin URL... so not sure what the issue is.
^ I can make a test POST request to the endpoint just fine... not sure why elastic-agent is throwing the error.
Also i'm receiving Elasticsearch data just fine to my Elasticsearch endpoint to https://elasticsearch.mydomain.com ... it's just that Kibana can't make this request and then the ElasticAgent shuts down and stops working
Note: I am using Cloudflare and nginx as a reverse proxy to both my Kibana and ElasticSearch endpoints.
Anyone have any ideas what the issue may be?