# KONG community edition (2.0.0) docker image - lot of 504 Error

**URL:** <https://discuss.konghq.com/t/kong-community-edition-2-0-0-docker-image-lot-of-504-error/8895>\
**Category:** General\
**Created:** [August 18, 2021, 1:54am UTC](https://discuss.konghq.com/t/kong-community-edition-2-0-0-docker-image-lot-of-504-error/8895 "2021-08-18T01:54:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramyogi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/ramyogi/32/2941_2.png) [@ramyogi](https://discuss.konghq.com/u/ramyogi)\
**Post date:** [August 18, 2021, 1:54am UTC](https://discuss.konghq.com/t/kong-community-edition-2-0-0-docker-image-lot-of-504-error/8895/1 "2021-08-18T01:54:32Z")

</div>

We are getting randomly lots of 504 Error but could not find the reason for this error., As we do not see any 504 error or taking long time in upstream service. We suspect the request is not even send to upstream but it return back to consumer 504 by KONG.  
Really KONG logs are not helping. Any suggestion to enable more log. we enabled debug level also.  
we set higher upstream read write connection out. (120000)  
All 504 connection time ( upstream\_response\_time is around ~10.000) out is  
“upstream\_response\_time”: “10.003”,  
“request\_time”: 10.002,  
“bytes\_sent”: 381,  
“body\_bytes\_sent”: 132,  
“status”: 504,

What could be the cause ?  
nginx\_http\_upstream\_keepalive\_requests , nginx\_upstream\_keepalive ? anything needs to be tuned .

---

<div class="post-metadata">

**Author:** ![ramyogi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/ramyogi/32/2941_2.png) [@ramyogi](https://discuss.konghq.com/u/ramyogi)\
**Post date:** [August 19, 2021, 4:58pm UTC](https://discuss.konghq.com/t/kong-community-edition-2-0-0-docker-image-lot-of-504-error/8895/2 "2021-08-19T16:58:28Z")

</div>

No one reading or responding ?

---

<div class="post-metadata">

**Author:** ![luis\_eduardo\_melende](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/luis_eduardo_melende/32/3061_2.png) [@luis\_eduardo\_melende](https://discuss.konghq.com/u/luis_eduardo_melende)\
**Post date:** [October 24, 2021, 1:59am UTC](https://discuss.konghq.com/t/kong-community-edition-2-0-0-docker-image-lot-of-504-error/8895/3 "2021-10-24T01:59:47Z")

</div>

@ramyogi could you solve the problem? something similar happens to me …

---

<div class="post-metadata">

**Author:** ![ramyogi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/ramyogi/32/2941_2.png) [@ramyogi](https://discuss.konghq.com/u/ramyogi)\
**Post date:** [October 24, 2021, 7:13pm UTC](https://discuss.konghq.com/t/kong-community-edition-2-0-0-docker-image-lot-of-504-error/8895/4 "2021-10-24T19:13:16Z")

</div>

So far could not find any resolution for this and no one helping for community edition so unfortunately have to decide to go for enterprise edition atleast to get support.
