# Visualization Editor: Request to Elasticsearch failed:

**URL:** <https://discuss.elastic.co/t/visualization-editor-request-to-elasticsearch-failed/67749>\
**Category:** Kibana\
**Created:** [December 1, 2016, 11:17am UTC](https://discuss.elastic.co/t/visualization-editor-request-to-elasticsearch-failed/67749 "2016-12-01T11:17:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![logger](https://avatars.discourse-cdn.com/v4/letter/l/34f0e0/32.png) [@logger](https://discuss.elastic.co/u/logger)\
**Post date:** [December 1, 2016, 11:17am UTC](https://discuss.elastic.co/t/visualization-editor-request-to-elasticsearch-failed/67749/1 "2016-12-01T11:17:48Z")

</div>

Hi,

I am not able to save/overwrite Dashboards or visualisation.

I get:  
Visualization Editor: Request to Elasticsearch failed: "Request Timeout after 30000ms"

I use Kibana: Version: 4.6.3 Build: 10154  
Elasticsearch 2.4

> ```
> {"type":"response","@timestamp":"2016-12-01T10:48:20Z","tags":[],"pid":24924,"method":"post","statusCode":409,"req":{"url":"/elasticsearch/.kibana/visualization/Average-system-load-across-all-systems?op_type=create","method":"post","headers":{"host":"host","content-type":"application/json;charset=utf-8","accept":"application/json, text/plain, */*","kbn-version":"4.6.3","referer":"http://host/app/kibana","accept-language":"de-CH","accept-encoding":"gzip, deflate","user-agent":"Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko","dnt":"1","cache-control":"no-cache","x-forwarded-for":"10.16.10.73","x-forwarded-host":"host","x-forwarded-server":"host","connection":"Keep-Alive","content-length":"453"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://host/app/kibana"},"res":{"statusCode":409,"responseTime":7,"contentLength":9},"message":"POST /elasticsearch/.kibana/visualization/Average-system-load-across-all-systems?op_type=create 409 7ms - 9.0B"}
> {"type":"response","@timestamp":"2016-12-01T10:48:20Z","tags":[],"pid":24924,"method":"head","statusCode":200,"req":{"url":"/elasticsearch","method":"head","headers":{"host":"host:80","user-agent":"Go-http-client/1.1","accept":"application/json","x-forwarded-for":"10.1.52.160","x-forwarded-host":"host:80","x-forwarded-server":"host","connection":"Keep-Alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1"},"res":{"statusCode":200,"responseTime":4,"contentLength":9},"message":"HEAD /elasticsearch 200 4ms - 9.0B"}
> {"type":"response","@timestamp":"2016-12-01T10:48:20Z","tags":[],"pid":24924,"method":"post","statusCode":400,"req":{"url":"/elasticsearch/_bulk","method":"post","headers":{"host":"host:80","user-agent":"Go-http-client/1.1","accept":"application/json","accept-encoding":"gzip","x-forwarded-for":"10.1.52.160","x-forwarded-host":"host:80","x-forwarded-server":"host","connection":"Keep-Alive","content-length":"19062"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1"},"res":{"statusCode":400,"responseTime":3,"contentLength":9},"message":"POST /elasticsearch/_bulk 400 3ms - 9.0B"}
> 
> ```

I have a Apache running which will listen on port 80 and direct it to port 5601.

Elasticsearch is also running on this machine.

Kibana.yml is default.

Why cant I overwrite objects?

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [December 5, 2016, 3:15pm UTC](https://discuss.elastic.co/t/visualization-editor-request-to-elasticsearch-failed/67749/2 "2016-12-05T15:15:41Z")

</div>

Can you try accessing Kibana directly on port 5601 and see if it works OK in that case?

---

<div class="post-metadata">

**Author:** ![logger](https://avatars.discourse-cdn.com/v4/letter/l/34f0e0/32.png) [@logger](https://discuss.elastic.co/u/logger)\
**Post date:** [December 5, 2016, 3:42pm UTC](https://discuss.elastic.co/t/visualization-editor-request-to-elasticsearch-failed/67749/3 "2016-12-05T15:42:14Z")

</div>

This is not possible.

We have a apacheproxy running on the host.

Kibana and elasticsearch are on the same host  
Port 80 redirects to port 5601  
and port 80/elasticsearch is redirected to 9200

And the Kibana config uses the localhost to connect to elasticsearch.

I really dont know why those requests are not working. It´s like PUT and POST are blocked, but I can see some requests in the logs and they are working.

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [December 5, 2016, 11:15pm UTC](https://discuss.elastic.co/t/visualization-editor-request-to-elasticsearch-failed/67749/4 "2016-12-05T23:15:26Z")

</div>

Are you using the apache proxy for authentication? There's some similar issues here;

> <https://serverfault.com/questions/438183/how-to-enable-all-http-methods-in-an-apache-http-server>

Specifically a section like this;

```auto
<Limit POST PUT DELETE>
  Require valid-user
</Limit>

```

---

<div class="post-metadata">

**Author:** ![logger](https://avatars.discourse-cdn.com/v4/letter/l/34f0e0/32.png) [@logger](https://discuss.elastic.co/u/logger)\
**Post date:** [December 13, 2016, 4:04pm UTC](https://discuss.elastic.co/t/visualization-editor-request-to-elasticsearch-failed/67749/5 "2016-12-13T16:04:31Z")

</div>

Hi LeeDr,

we have accomplished the errors.

It was indeed the Apache.  
We had to turn off those Settings.

```
    ProxyRequests Off
    ProxyErrorOverride Off

```

After that everything worked. I am not familiar with Apache so I just relay on the experience of my Co Worker.

Thank you for the hint with Apache Limits.

---

<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:** [January 10, 2017, 4:04pm UTC](https://discuss.elastic.co/t/visualization-editor-request-to-elasticsearch-failed/67749/6 "2017-01-10T16:04:52Z")

</div>

Closed on January 10, 2017, 4:04pm UTC

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