# 504 Gateway timeout error with ALB

**URL:** <https://discuss.konghq.com/t/504-gateway-timeout-error-with-alb/10084>\
**Category:** General\
**Tags:** kong-gateway\
**Created:** [April 20, 2022, 4:54am UTC](https://discuss.konghq.com/t/504-gateway-timeout-error-with-alb/10084 "2022-04-20T04:54:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![iavinas](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/iavinas/32/3395_2.png) [@iavinas](https://discuss.konghq.com/u/iavinas)\
**Post date:** [April 20, 2022, 5:42am UTC](https://discuss.konghq.com/t/504-gateway-timeout-error-with-alb/10084/2 "2022-04-20T05:42:40Z")

</div>

By default, the kong gateway has a time out of 60 sec (60000 ms) and 5 retries. You can increase it if the response is taking time.

Here is the solution for increasing the timeout. [https://discuss.konghq.com/t/not-able-to-update-connect-timeout-using-admin-api/10063?u=iavinas](https://discuss.konghq.com/t/not-able-to-update-connect-timeout-using-admin-api/10063)

---

_[View the full topic](https://discuss.konghq.com/t/504-gateway-timeout-error-with-alb/10084)._
