Try switching region, looks like East-US is problematic and has high rate of API timeouts.
Why are calls to OpenAI API timing out?
I have an Azure app service that utilizes the OpenAI GPT API and the requests frequently timeout; however, the API calls work fine outside of Azure. I have many apps outside of Azure that utilize the exact same OpenAI API and they have NEVER timed out, yet whenever I run the same calls from Azure, they timeout.
I have seen other users are having the same issue so it has nothing to do with my app/code.
Is there anyone that can offer advice?
2 answers
Sort by: Most helpful
-
-
Usman Ahmad 0 Reputation points
2023-08-07T14:52:37.1466667+00:00 Same issue. Sometimes the request gets stuck for 10 minutes which results in really poor user experience.
Moreover, there is no way we are near the rate-limit as per our deployment.