- 1 File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
- 2 self.gen.throw(typ, value, traceback)
- 3 File "/home/jordan/xai_env/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
- 4 raise to_exc(exc) from exc
- 5httpcore.ReadTimeout: The read operation timed out
- 6
- 7The above exception was the direct cause of the following exception:
- 8
- 9Traceback (most recent call last):
- 10 File "/home/jordan/xai_env/lib/python3.11/site-packages/openai/_base_client.py", line 979, in request
- 11 response = self._client.send(
- 12 ^^^^^^^^^^^^^^^^^^
- 13 File "/home/jordan/xai_env/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
- 14 response = self._send_handling_auth(
- 15 ^^^^^^^^^^^^^^^^^^^^^^^^^
- 16 File "/home/jordan/xai_env/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
- 17 response = self._send_handling_redirects(
- 18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 19 File "/home/jordan/xai_env/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
- 20 response = self._send_single_request(request)
- 21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 22 File "/home/jordan/xai_env/lib/python3.11/site-packages/httpx/_client.py", line 1014, in _send_single_request
- 23 response = transport.handle_request(request)
- 24 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 25 File "/home/jordan/xai_env/lib/python3.11/site-packages/httpx/_transports/default.py", line 249, in handle_request
- 26 with map_httpcore_exceptions():
- 27 File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
- 28 self.gen.throw(typ, value, traceback)
- 29 File "/home/jordan/xai_env/lib/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
- 30 raise mapped_exc(message) from exc
- 31httpx.ReadTimeout: The read operation timed out
- 322025-09-16 14:55:57,939 - DEBUG - Raising timeout error
- 332025-09-16 14:55:57,939 - ERROR - API connectivity test failed: APITimeoutError: Request timed out.
- 342025-09-16 14:55:57,945 - DEBUG - Stack trace: Traceback (most recent call last):
Raw Paste