Answers for "curl: (52) Empty reply from server elasticsearch"

0

curl: (52) Empty reply from server elasticsearch

The problem is quite clear: we try to establish a secure connection without specifying the Elastic username and a key. For this there are two simple solutions, namely firstly bypassing the certificate locally (not recommended, but working):

curl -u elastic:<YOUR-PASSWORD> https://localhost:9200 -k
Posted by: Guest on March-05-2020

Browse Popular Code Answers by Language