# Curl request problem

**URL:** <https://discuss.elastic.co/t/curl-request-problem/101957>\
**Category:** Elasticsearch\
**Created:** [September 27, 2017, 9:24am UTC](https://discuss.elastic.co/t/curl-request-problem/101957 "2017-09-27T09:24:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nivo33](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nivo33/32/21866_2.png) [@nivo33](https://discuss.elastic.co/u/nivo33)\
**Post date:** [September 27, 2017, 9:24am UTC](https://discuss.elastic.co/t/curl-request-problem/101957/1 "2017-09-27T09:24:46Z")

</div>

Hi,  
I am trying to send a request through curl, for example:

```
curl -XGET 'localhost:9200/_search?pretty' -H 'Content-Type: application/json' -d'
{
    "query" : {
        "term" : { "user" : "kimchy" }
    }
}
'

```

The response I am getting is (no matter which request is sent):  
`Galera cluster node is synced.`

Any idea why this is? When I send the request through Kibana in the Dev Tools section like this, it works fine:  
`GET /_search { "query" : { "term" : { "user" : "kimchy" } } }`

Thanks

---

<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:** [September 27, 2017, 10:09am UTC](https://discuss.elastic.co/t/curl-request-problem/101957/2 "2017-09-27T10:09:06Z")

</div>

Where is this `Galera cluster node is synced.` is coming from?

I mean: do you see that in elasticsearch logs?

Can you share the full output and your logs?

---

<div class="post-metadata">

**Author:** ![nivo33](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nivo33/32/21866_2.png) [@nivo33](https://discuss.elastic.co/u/nivo33)\
**Post date:** [September 27, 2017, 10:58am UTC](https://discuss.elastic.co/t/curl-request-problem/101957/3 "2017-09-27T10:58:19Z")

</div>

It is coming from the CLI of the machine I am running it on and that is unfortunately the full output.  
The elasticsearch logs don't show anything relevant, they do not update after i run the command.  
I am using docker if it helps anything

---

<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:** [September 27, 2017, 12:22pm UTC](https://discuss.elastic.co/t/curl-request-problem/101957/4 "2017-09-27T12:22:17Z")

</div>

Is that really elasticsearch answering behind the scene or this? [http://galeracluster.com/products/](http://galeracluster.com/products/)

---

<div class="post-metadata">

**Author:** ![nivo33](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nivo33/32/21866_2.png) [@nivo33](https://discuss.elastic.co/u/nivo33)\
**Post date:** [October 1, 2017, 9:32am UTC](https://discuss.elastic.co/t/curl-request-problem/101957/5 "2017-10-01T09:32:32Z")

</div>

Thanks, you were right.  
I was rerouting through docker. Problem solved

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 29, 2017, 9:32am UTC](https://discuss.elastic.co/t/curl-request-problem/101957/6 "2017-10-29T09:32:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
