# Error: Request Timeout after 30000ms

**URL:** https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192
**Category:** Elasticsearch
**Created:** [October 9, 2017, 8:45am UTC](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192 "2017-10-09T08:45:52Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mercymx](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@mercymx](https://discuss.elastic.co/u/mercymx)
#### Post date: [October 9, 2017, 8:45am UTC](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192/1 "2017-10-09T08:45:52Z")

</div>

my elasticsearch and kibana runing in 2 servers.  
I can use python script to get data from ES, but kibana runs error like this:

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/9/d/9d0ff543c3f8a2a69800643db3501624d2954f29.png)

the status page like this:

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/8/e/8e98f40683c6e52b3622b8b2a48e849f110cbf96.png)

I checked the kibana logs. It just has 2 error message and change the status again and again.  
 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e7db641fa215c08300fa04452e4846f7221793d0.png)

And the ES logs show these message:

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac13809e3351b7bab8ab9819dab9b81d5ae9f5b.png)

I'm not sure where this problem come from.  
I have reboot kibana many times, but it doesn't help.

Anyone has ideas about this problem?  
Many thanks!!!

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [October 9, 2017, 8:48am UTC](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192/2 "2017-10-09T08:48:22Z")

</div>

This error indicates that your Elasticsearch cluster is having problems. What is the output of the [cluster stats API](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-stats.html)?

---

<div class="post-metadata">

### Author: ![mercymx](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@mercymx](https://discuss.elastic.co/u/mercymx)
#### Post date: [October 10, 2017, 3:05am UTC](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192/3 "2017-10-10T03:05:02Z")

</div>

I rebooted ES, and it works now.  
But I still don't find the root of this problem. I will keep checking it

---

<div class="post-metadata">

### Author: ![mercymx](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@mercymx](https://discuss.elastic.co/u/mercymx)
#### Post date: [November 3, 2017, 9:29am UTC](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192/4 "2017-11-03T09:29:35Z")

</div>

The Error comes again！

This is the Logs：

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/0/3/03ee89837d1c0be25ce77ed29137cc24167d6364.png)

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/b/e/bed16396a0521bda656be65bb22e9823d07f40b0.png)

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/1/7/17a057b8a8ac1315525708ea6a0fe3907fa13498.png)

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/4/4/44ce31eb18d58ea7e30c9ba54d8658c25c0c6b29.png)

anyone know how to fix this problem??

---

<div class="post-metadata">

### Author: ![mercymx](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@mercymx](https://discuss.elastic.co/u/mercymx)
#### Post date: [November 3, 2017, 9:40am UTC](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192/5 "2017-11-03T09:40:17Z")

</div>

this is the output of stats API, but it is after restart ES......I hope it is still useful.

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1e5e415b992a17e2e823dd1f23579c95bfd654ec.png)

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/7/5/75adce5a69d1c3fe8fa5bc59d12dad2ccb855302.png)

 ![图片](https://us1.discourse-cdn.com/elastic/original/3X/e/3/e34ed11cf87fbd307ab9795e52bae1263a3c285d.png)

---

<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: [November 3, 2017, 9:44am UTC](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192/6 "2017-11-03T09:44:13Z")

</div>

Please don't paste images of logs but just logs (formatted please).  
Hardly readable.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 3, 2017, 9:49am UTC](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192/7 "2017-11-03T09:49:06Z")

</div>

You have a lot of shards and indices for a cluster with so little heap, which leads to heap pressure. Please read [this blog post about shards and sharding](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster), and then try to reduce the number of indices and shards in your cluster or scale up/out.

---

<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: [December 1, 2017, 9:49am UTC](https://discuss.elastic.co/t/error-request-timeout-after-30000ms/103192/8 "2017-12-01T09:49:40Z")

</div>

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