Calling elasticsearch gives error “curl: (52) Empty reply from server”

Open the elasticsearch configuration file.

sudo nano /etc/elasticsearch/elasticsearch.yml

Set Enable Security Features as false at below line. false

Save and Restart elasticsearch,

sudo service elasticsearch restart 

Test now and you will get the result.

Updated : 06 Apr 24

Knowledge Bites

Scroll to Top