Recently, I've a problem with the internal http(s) load balancer on GCP, about the timeout of backend service (an instance group). After 300 seconds, the API calling to LB will be failed with 408 HTTP response.
- I have an internal HTTPS load balancer (LB) on GCP.
- First, I call a quick API through LB, that worked normally.
- Then I set timeout for backend service to 10 seconds then call the slow API (say, 500 seconds to complete the request). The error response happens after 10 seconds as expected.
- But when I set the timeout to 1000 seconds and call the slow API, I received the error timeout response after only exactly 300 seconds.
I also increase the Connection draining timeout to 1000 seconds, but it still doesn't work.
Is the any parameter I need to set to allow API with reply time more than 300 seconds? Thank you.