First:
- Go to EC2
- scroll down to Load Balancers
- select your LB
THEN look down and SET Idle Timeout. Since ELB may pre-open connections, the timeout of 60sec may not be enough because they may expire by the time ELB tries to use the connection to get to your service.
ALSO check the KeepAliveTimeout on your web server and it should be greater than or equal to Idle Timeout on your ELB.
Almir M.
#aws #ELB #code #programming #API #RESTful
No comments:
Post a Comment