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?

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠