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

PlayConsole : suppression des warnings lors de la publication (minify, symbole de debogage...)

Lors de la publication des versions dans la PlayConsole, j'avais 2 warnings pour indiquer qu'il était possible de réduire et d'o...