504 Gateway timeout error with ALB

Hi Team,

We are getting a lot of 504 gateway timeout error when using Kong with AWS ALB.
We are hitting 25million requests in an hour and we can see that almost 2lakh request send 504 timeout error.

We are using Kong 2.0.3.
Has anyone ever faced this problem or help.


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