# 502 bad gateway error

**URL:** https://discuss.elastic.co/t/502-bad-gateway-error/361686
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting, docker, kql-kibana-query-language
**Created:** [June 19, 2024, 2:08am UTC](https://discuss.elastic.co/t/502-bad-gateway-error/361686 "2024-06-19T02:08:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Niru8](https://avatars.discourse-cdn.com/v4/letter/n/f4b2a3/32.png) [@Niru8](https://discuss.elastic.co/u/Niru8)
#### Post date: [June 19, 2024, 2:08am UTC](https://discuss.elastic.co/t/502-bad-gateway-error/361686/1 "2024-06-19T02:08:28Z")

</div>

![IMG_20240619_061210864_AE](https://us1.discourse-cdn.com/elastic/original/3X/c/3/c3419b9d8a8c2bbf64b7cf6946bf6fe7a99343c8.jpeg)

in client server i am facing this issue

---

<div class="post-metadata">

### Author: ![jessgarson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jessgarson/32/129841_2.png) [@jessgarson](https://discuss.elastic.co/u/jessgarson)
#### Post date: [June 20, 2024, 5:02pm UTC](https://discuss.elastic.co/t/502-bad-gateway-error/361686/2 "2024-06-20T17:02:07Z")

</div>

Hi @Niru8,

Thanks for reaching out! Please provide some further context as to when you received this error. Since screenshots are hard to read, could you also paste the contents of your screenshot here?

In general, 502 bad gateway errors happen when one server receives an invalid response from another, so learning more about when and where you got this issue could be helpful.

Best,

Jess
