An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
Recurring 5-minute connection timeout Foundry Model deployment
Hello
We are experiencing recurrent connection timeouts when using the OpenAI model deployment through Azure AI Foundry(swedencentral).
The issue occurs intermittently, approximately two-thirds of the way through processing a user request. The HTTP request remains pending for approximately 5 minutes before failing.
The fetch errors reported are :
TypeError: fetch failed
cause: HeadersTimeoutError
code: UND_ERR_HEADERS_TIMEOUT
message: Headers Timeout Error
or
{
timestamp: '2026-11-10 10:04:07',
durationMs: 301746,
method: 'POST',
error: '{"error":{"message":"The server had an error while processing your request. Sorry about that!","type":"server_error","param":null,"code":null,"request_id":"req_id"}}',
abortSignal: { aborted: false, reason: undefined }
}
The timeout duration is approximately 300 seconds.
We are using the Responses API with streaming enabled (stream: true).
The auto retry of the same request often succeeds within approximately 10 seconds.
Could you please investigate whether there are any issues with the Azure infrastructure, regional routing, gateway, or model-serving cluster that could explain why response headers are not being returned in time?
We can provide additional timestamps, request IDs and diagnostic logs if needed.
Thank you.