Increasing the idle timeout in Load Balancer is not being reflected

0

Hello.

One of my environments is using a Classic Load Balancer. Sometimes, the queries I run in our database take more than just one minute, so I needed to increase the idle timeout of the Load Balancer (which is one minute by default). We followed the instructions and changed it to 3600 (s). However, I'm still getting the "connection closed" message after just one minute, so the new value of the idle timeout seems to have no consequence. Is there anything else I should be doing?

已提問 2 年前檢視次數 2475 次
1 個回答
0

Hi,

I understand that you have increased the idle timeout on your Classic Load Balancer but you are still getting the connection closed error. Please feel free to correct me if my understanding is wrong.

I recommend that you enable the HTTP keep-alive option for your instance. Keep-alive enables the load balancer to reuse back-end connections until the keep-alive timeout expires. This is to ensure that the load balancer is responsible for closing the connection to your instance, make sure that the value you set for the HTTP keep-alive time is greater than the idle timeout setting configured for your load balancer. For more information on how to configure the idle timeout on the console or on your AWS CLI click on the link below[1].

References:

[1]https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/ts-elb-error-message.html#ts-elb-errorcodes-http504

I hope you find this information useful.

Winnie
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南