# Kibana 8.12 Error

**URL:** https://discuss.elastic.co/t/kibana-8-12-error/358642
**Category:** Kibana
**Created:** [May 2, 2024, 12:59pm UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642 "2024-05-02T12:59:11Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)
#### Post date: [May 2, 2024, 12:59pm UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642/1 "2024-05-02T12:59:11Z")

</div>

Hi Team,

While perfroming REST API search from Dev Tools in Kibana UI, We are experiencing below error. After trying 2 to 3 times results are showing in UI.

```auto
{
  "statusCode": 502,
  "error": "Bad Gateway",
  "message": "Client request timeout"
}

```

In the same time we can see below message in Elasticsearch logs from master node. We check the ping status from kibana node to elastic nodes and the latency is less than  
1 ms. Could you please help me on this.

`[2024-05-02T12:56:44,644][INFO][o.e.h.AbstractHttpServerTransport] [elasticnode1] channel [Netty4HttpChannel{localAddress=/192.168.130.171:9200, remoteAddress=/192.168.130.169:41718}] already closed`

Thanks,  
Debasis

---

<div class="post-metadata">

### Author: ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)
#### Post date: [May 3, 2024, 8:48am UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642/2 "2024-05-03T08:48:32Z")

</div>

Hi Team,

Any help on the above request .

Thanks,  
Debasis

---

<div class="post-metadata">

### Author: ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)
#### Post date: [May 3, 2024, 11:55am UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642/3 "2024-05-03T11:55:19Z")

</div>

Hi @Debasis_Mallick ,

In Dev Tools you can add `wait_for_completion=false` [requests parameter](https://www.elastic.co/guide/en/elasticsearch/reference/6.6/docs-reindex.html#_url_parameters_3) as it might be the timeout issue.

> After trying 2 to 3 times results are showing in UI.  
> So it is not working smoothly in browser too?

Can you double check if Kibana/ES have enough resources?

Best regards, Dima

---

<div class="post-metadata">

### Author: ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)
#### Post date: [May 3, 2024, 2:41pm UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642/4 "2024-05-03T14:41:08Z")

</div>

> [@Dzmitry](#):
>
> Can you double check if Kibana/ES have enough resources?

The elastic service consists of two nodes each(16 vcpus,64 GB RAM) so I do not think resource will be constraint here.

Thanks,  
Debasis

---

<div class="post-metadata">

### Author: ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)
#### Post date: [May 7, 2024, 8:59am UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642/5 "2024-05-07T08:59:11Z")

</div>

Hi @Dzmitry ,

Any help on the above error and we checked with IT team there is no changes from INFRA side. The ping response from kibana nodes to elastic nodes are less than 1ms. We are not sure where to debug the issue.

Thanks,  
Debasis

---

<div class="post-metadata">

### Author: ![pces](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pces/32/126636_2.png) [@pces](https://discuss.elastic.co/u/pces)
#### Post date: [May 9, 2024, 9:40am UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642/6 "2024-05-09T09:40:46Z")

</div>

> The elastic service consists of two nodes each(16 vcpus,64 GB RAM) so I do not think resource will be constraint here.

@Dzmitry , apart from the assigned resources, resource utilization is being observed and we dont see an issue there. Also, there is only a single query running at any given time. There is no ingest ongoing. There is nothing else running on the servers. Hence we dont believe resource is an issue.

---

<div class="post-metadata">

### Author: ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)
#### Post date: [June 17, 2024, 1:55pm UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642/7 "2024-06-17T13:55:50Z")

</div>

Hey,

What stack version do you run and how it is installed?

Regards, Dima

---

<div class="post-metadata">

### Author: ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)
#### Post date: [June 18, 2024, 4:56am UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642/8 "2024-06-18T04:56:57Z")

</div>

@Dzmitry After adding below parameter value the above error is solved.

`elasticsearch.requestTimeout: 60000`

Thanks,  
Debasis

---

<div class="post-metadata">

### Author: ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)
#### Post date: [June 18, 2024, 7:30am UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642/9 "2024-06-18T07:30:27Z")

</div>

Interesting. I think the default time elasticsearch client wait for response is 30000 (30 seconds)

Response in Dev Tools has `"took": <value in milliseconds>`, so you can try different queries and understand which ones are time consuming.

Best regards, Dima

---

<div class="post-metadata">

### Author: ![Debasis\_Mallick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/debasis_mallick/32/123723_2.png) [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)
#### Post date: [June 20, 2024, 11:33am UTC](https://discuss.elastic.co/t/kibana-8-12-error/358642/10 "2024-06-20T11:33:36Z")

</div>

Let me check and update.

Thanks,  
Debasis
