Forum Discussion
Code Interpreter Container Failing (Timeout) on Create EastUS2
Hello, we've been using code interpreter reliably for over a year, but starting on 2/21/2026, containers created in our EastUS2 Foundry instance will intermittently fail. It is easy to reproduce this, by running the below cURL. Try to run it a few times, and it will succeed the first 1-4 times, and then you will hit the timeout. Sometimes the timeout occurs on the second create, sometimes on the 3rd, 4th or 5th. During the timeout, if any other requests to create a container are made, they also hang. This impacts all users if code interpreter is set to auto container creation, with the tool enabled, during normal chat.
For now we've redeployed resources in US West and do not get the error but do not have quota on more advanced models there so need this resolved ASAP.
curl -X POST "https://[redacted].cognitiveservices.azure.com/openai/v1/containers" \
-H "Content-Type: application/json" \
-H "api-key: [redacted]" \
-d '{
"name": "test-container-eastus2-repro",
"expires_after": {
"anchor": "last_active_at",
"minutes": 20
}
}'
2 Replies
- GSiryCopper Contributor
Having the same issue - I have a case open with Microsoft
https://learn.microsoft.com/en-us/answers/questions/5784203/openai-responses-api-calls-code-interpreter-tool-h
- Imran ShakeelCopper Contributor
It seems that your Regional Pool is exhausting, and it is not recycling containers properly. The same thing happened to me a few months back. I changed the region from WestUS to EastUS, California nearest to my location, and solved my issue. Please check the following
- Struck in provisioning deadlock state
- Control Plane acquires regional lock?
You can further verify by applying logs, if the log is struck after issuing a call to API, then it means you have a regional issue