I am building a demo with the o3 deepresearch model and my colleague is working on code inside our product with the o3 pro models. Earlier this week, we both started seeing httpx timeouts on every call. I’ll speak about my experience.
I have a fairly straight-forward responses API call:
response = client.responses.create(
model="o3-deep-research",
input=input_text,
instructions=instructions,
timeout=7200.0,
tools=[
{
"type": "mcp",
"server_label": "box",
"server_url": "https://box-deepresearch-mcp-b3c4fc36032c.herokuapp.com/mcp",
"require_approval": "never",
"headers": {
"x-api-key": f"{box_mcp_api_key}"
},
}
]
)
Monday, as I was still working on my deep research MCP server, I was getting responses anywhere from 8 to 40 minutes. Now when I run it, I can see it hitting my MCP server and results being returned and then it goes quiet, indicating to me that it is moving on to other tasks in generating my report.
As you can see above, I’ve tried adjusting the timeout to 2 hours, but its still timing out, and with my retry logic, I even let it run overnight to see if it would breakthrough to no avail.
This is the exception I am seeing:
2025-07-10 08:39:09 - DEBUG - Encountered httpx.TimeoutException
Traceback (most recent call last):
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
yield
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 250, in handle_request
resp = self._pool.handle_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
raise exc from None
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request
response = connection.handle_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 103, in handle_request
return self._connection.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpcore/_sync/http11.py", line 136, in handle_request
raise exc
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpcore/_sync/http11.py", line 106, in handle_request
) = self._receive_response_headers(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpcore/_sync/http11.py", line 177, in _receive_response_headers
event = self._receive_event(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event
data = self._network_stream.read(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpcore/_backends/sync.py", line 126, in read
with map_exceptions(exc_map):
File "/opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/contextlib.py", line 158, in __exit__
self.gen.throw(typ, value, traceback)
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ReadTimeout: The read operation timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/openai/_base_client.py", line 972, in request
response = self._client.send(
^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
response = self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
response = self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
response = self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1014, in _send_single_request
response = transport.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 249, in handle_request
with map_httpcore_exceptions():
File "/opt/homebrew/Cellar/python@3.11/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/contextlib.py", line 158, in __exit__
self.gen.throw(typ, value, traceback)
File "/Users/shurrey/local/box-opemai-deep-research/.venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout: The read operation timed out
Has any one else experienced this? Testing my MCP server on gpt4.1 works fine.