Azure Load Balancer configuration - getting connection timeout

Copper Contributor

We are using Az Loadbalancer for our application,  Our application has a batch job that is failing because LB connection time out is set to 30 min. and the process takes more then that to acknowledge. Is their any way to configure the LB connection timeout

3 Replies

@bkislay 

 

per design, Azure Load Balancer TCP idle connection timeout cannot be higher than 30 minutes. Consider implementing TCP keep-alives in your applications. More details here.

Thanks for your reply @hspinto , But the call we have is over HTTP, I know it should be handled at the application level, the call should be async. But trying to check if there is any other option.

That means the session between your batch job and the lb is getting idle. Try to modify your job to talk to the lb within 30 mins to keep the session live.