Sometimes we encounter HTTP timeouts when calling the API to spin up a game server instance (usually it takes 1-4 seconds). We need to increase the http.request call timeout; otherwise, we lose up to half of the sessions. How can we do this?
Sometimes we encounter HTTP timeouts when calling the API to spin up a game server instance (usually it takes 1-4 seconds). We need to increase the http.request call timeout; otherwise, we lose up to half of the sessions. How can we do this?
The http.request call timeout is 2.5 seconds. If your service does not return within that period, the call will timeout, causing the failure. We suggest you try to use CloudScript using Azure Functions to implement it, because Azure Function has much longer-running scripts with longer HTTP call timeouts.
35 People are following this question.