# Curl: (52) Empty reply from server - Using Cassandra DB

**URL:** <https://discuss.konghq.com/t/curl-52-empty-reply-from-server-using-cassandra-db/5767>\
**Category:** Questions\
**Created:** [March 12, 2020, 3:14pm UTC](https://discuss.konghq.com/t/curl-52-empty-reply-from-server-using-cassandra-db/5767 "2020-03-12T15:14:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ngsankar](https://avatars.discourse-cdn.com/v4/letter/n/4491bb/32.png) [@ngsankar](https://discuss.konghq.com/u/ngsankar)\
**Post date:** [March 12, 2020, 3:14pm UTC](https://discuss.konghq.com/t/curl-52-empty-reply-from-server-using-cassandra-db/5767/1 "2020-03-12T15:14:53Z")

</div>

I am following the below document.  
[https://docs.konghq.com/2.0.x/getting-started/configuring-a-service/](https://docs.konghq.com/2.0.x/getting-started/configuring-a-service/)

Somehow I am getting the below message when I try to curl.  
curl -i -X GET --url [http://localhost:8000/](http://localhost:8000/) --header ‘Host:example.com’  
curl: (52) Empty reply from server

All other steps worked fine except this one.  
below is what I have done successfully so far.  
Create a Docker network, Start your database, Prepare your database, Start Kong.  
I am using Cassandra.  
then the below.  
curl -i -X POST --url [http://localhost:8001/services/](http://localhost:8001/services/) --data “name=example-service” --data “url=[http://mockbin.org](http://mockbin.org)”

curl -i -X POST --url [http://localhost:8001/services/example-service/routes](http://localhost:8001/services/example-service/routes) --data “hosts=[example.com](http://example.com)”

Can you guys please through some light on this? Thanks for your time.

---

<div class="post-metadata">

**Author:** ![ngsankar](https://avatars.discourse-cdn.com/v4/letter/n/4491bb/32.png) [@ngsankar](https://discuss.konghq.com/u/ngsankar)\
**Post date:** [March 13, 2020, 10:14am UTC](https://discuss.konghq.com/t/curl-52-empty-reply-from-server-using-cassandra-db/5767/2 "2020-03-13T10:14:45Z")

</div>

Can someone share your inputs on this? Thanks.

---

<div class="post-metadata">

**Author:** ![ngsankar](https://avatars.discourse-cdn.com/v4/letter/n/4491bb/32.png) [@ngsankar](https://discuss.konghq.com/u/ngsankar)\
**Post date:** [March 14, 2020, 12:00pm UTC](https://discuss.konghq.com/t/curl-52-empty-reply-from-server-using-cassandra-db/5767/3 "2020-03-14T12:00:40Z")

</div>

Can someone? I really not able to proceed.
