Pages

Saturday, January 18, 2025

Elasticsearch : Empty reply from server

 

Like many, I had the "Empty reply from server" error !


curl -X GET "http://XXX.XX.XX.XX:9200"
curl: (52) Empty reply from server


There were many answers on the web ( see https://stackoverflow.com/questions/35921195/curl-52-empty-reply-from-server-timeout-when-querying-elastiscsearch).

In my case, it was quite simple. It was missing the credentials :

curl -u [user(elastic)]:[PASSWORD] -k -X GET "https://XXX.XX.XX.XX:9200"


Hope it helps !







No comments:

Post a Comment

Elasticsearch : Empty reply from server

  Like many, I had the "Empty reply from server" error ! curl -X GET "http://XXX.XX.XX.XX:9200" curl: (52) Empty reply f...