APM server healthcheck returning empty response

We are using elactic stack 8.10.1 and APM server is running in standalone mode with kubernetes operator
Not getting json output from apm-server for healthcheck endpoint. metrics are getting into apm-server without issue. But apm agents have warning with 2023-11-06 17:03:56,518 [elastic-apm-server-healthcheck] WARN co.elastic.apm.agent.report.ApmServerHealthChecker - Failed to parse version of APM server https://qa-apm-server.com: Unexpected end of JSON input

:wave: @senyam08 ,

Not getting json output from apm-server for healthcheck endpoint

Can you share a curl response in verbose mode from the health-check endpoint?

Hi,

In order to call the healthcheck endpoint you'll need to provide your <secret_token> or <api_key> through an HTTP header as follows:

# When using secret token
curl --request GET \
  --url https://qa-apm-server.com \
  --header 'Authorization: Bearer <secret_token>'
 
# When using API key
curl --request GET \
  --url https://qa-apm-server.com \
  --header 'Authorization: ApiKey <api_key>'

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