Elastic APM server Elastic search connection not able to establish

Hi All

need Some help with existing elastic stack.I have used official helm charts for deployment of the elastic stack

I have
apm-server
Elastic Search
and Kibana to be deployed

When I try to get health of Elasticsearch

I get

<curl -k -u elastic elasticsearch-master.prestag-monitoring.svc.cluster.local:9200
curl: (52) Empty reply from server

when I am trying to run the apm-server test output command with http in elastic url , I am getting following

elasticsearch:
[elasticsearch-master.prestag-monitoring.svc.cluster.local:9200]
(elasticsearch-master.prestag-monitoring.svc.cluster.local:9200/).
.. parse url... OK connection...
parse host... OK
dns lookup... OK addresses:
172.20.0.11 dial up... OK TLS...

WARN secure connection disabled talk to server...
ERROR Get "elasticsearch-master.prestag-monitoring.svc.cluster.local:9200": EOF

when I am trying to run the apm-server test output with https:// command , I am getting following

... parse url...
OK connection...
parse host...
OK dns lookup...
OK addresses: 172.20.0.11
dial up... OK TLS...

security: server's certificate chain verification is enabled handshake... ERROR x509: certificate signed by unknown authority

when I use curl -k -u elastic elasticsearch-master.prestag-monitoring.svc.cluster.local:9200 it works finebecause of this ,

I guess I am not able to see any apm services on elastic , Please help.

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