# Error log curl: (52) Empty reply from server in v8.8.2

**URL:** <https://discuss.elastic.co/t/error-log-curl-52-empty-reply-from-server-in-v8-8-2/338981>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [July 22, 2023, 5:07am UTC](https://discuss.elastic.co/t/error-log-curl-52-empty-reply-from-server-in-v8-8-2/338981 "2023-07-22T05:07:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ridwan\_Satrio\_Hadiku](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ridwan_satrio_hadiku/32/123751_2.png) [@Ridwan\_Satrio\_Hadiku](https://discuss.elastic.co/u/Ridwan_Satrio_Hadiku)\
**Post date:** [July 22, 2023, 5:07am UTC](https://discuss.elastic.co/t/error-log-curl-52-empty-reply-from-server-in-v8-8-2/338981/1 "2023-07-22T05:07:36Z")

</div>

Hello, can anyone help me?  
I found error log curl: (52) Empty reply from server when entering command curl -X GET

Even though when referring to the problem of:

> [@Curl -X GET 'http://localhost:9200' curl: (52) Empty reply from server](https://discuss.elastic.co/t/curl-x-get-http-localhost-9200-curl-52-empty-reply-from-server/329211):
>
> elasticsearch service is active and running but got this error while accessing 9200, elasticsearch.yml file is properly configuredcurl -X GET '[http://localhost:9200](http://localhost:9200)' curl: (52) Empty reply from server

 ![2](https://us1.discourse-cdn.com/elastic/original/3X/7/6/76b5f7f633967d43f6dc1252c3e37a5c916262c8.png)

I have followed the instructions and still get the same error?  
please solution

additional information :  
i am using elasticsearch v 8.8.2 running on CentOS8

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 22, 2023, 9:17am UTC](https://discuss.elastic.co/t/error-log-curl-52-empty-reply-from-server-in-v8-8-2/338981/2 "2023-07-22T09:17:34Z")

</div>

Welcome!

You need to provide:

- The exact command you are running
- Elasticsearch logs

Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.

Instead, paste the text and format it with `</>` icon or of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.

Finally, please check that you are using https instead http when running your curl command.

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [September 4, 2023, 8:39am UTC](https://discuss.elastic.co/t/error-log-curl-52-empty-reply-from-server-in-v8-8-2/338981/3 "2023-09-04T08:39:45Z")

</div>

You have set HTTPS. Since you have accessing by http, ES will not responde.  
Please try the command:  
`curl -k -X GET 'https://localhost:9200/'`
