0

我們有一個運行api的elasticbeanstalk應用程序。現在對API的請求經常需要花費數十秒才能得到滿足。在發送請求60秒後,我曾經爲請求獲取http 504 Gateway_Timeout。AWS - 如何設置HTTP 502超時?

enter image description here

So I set the 'Idle timeout' of the load balancer to 1800s.

enter image description here

現在,我得到一個HTTP 502代理錯誤60後:

enter image description here

如何解決它,這樣即使請求採取長於60s我沒有收到http 500錯誤?

任何建議表示讚賞。謝謝。

回答