https://prefect.io logo
Title
v

Vishnu Duggirala

02/06/2023, 9:15 PM
Hey y'all this error is getting more frequent, any idea how to fix this?
State message: Flow run encountered an exception. Traceback (most recent call last):
 File "/usr/local/lib/python3.8/site-packages/httpcore/backends/asyncio.py", line 34, in read
   return await self._stream.receive(max_bytes=max_bytes)
 File "/usr/local/lib/python3.8/site-packages/anyio/streams/tls.py", line 195, in receive
   data = await self._call_sslobject_method(self._ssl_object.read, max_bytes)
 File "/usr/local/lib/python3.8/site-packages/anyio/streams/tls.py", line 137, in _call_sslobject_method
   data = await self.transport_stream.receive()
 File "/usr/local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 1265, in receive
   await self._protocol.read_event.wait()
 File "/usr/local/lib/python3.8/asyncio/locks.py", line 309, in wait
   await fut
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
 File "/usr/local/lib/python3.8/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
   yield
 File "/usr/local/lib/python3.8/site-packages/httpcore/backends/asyncio.py", line 36, in read
   return b""
 File "/usr/local/lib/python3.8/site-packages/anyio/_core/_tasks.py", line 118, in __exit__
   raise TimeoutError
TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
 File "/usr/local/lib/python3.8/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
   yield
 File "/usr/local/lib/python3.8/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
   resp = await self._pool.handle_async_request(req)
 File "/usr/local/lib/python3.8/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request
   raise exc
 File "/usr/local/lib/python3.8/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request
   response = await connection.handle_async_request(request)
 File "/usr/local/lib/python3.8/site-packages/httpcore/_async/connection.py", line 90, in handle_async_request
   return await self._connection.handle_async_request(request)
 File "/usr/local/lib/python3.8/site-packages/httpcore/_async/http11.py", line 112, in handle_async_request
   raise exc
 File "/usr/local/lib/python3.8/site-packages/httpcore/_async/http11.py", line 91, in handle_async_request
   ) = await self._receive_response_headers(**kwargs)
 File "/usr/local/lib/python3.8/site-packages/httpcore/_async/http11.py", line 155, in _receive_response_headers
   event = await self._receive_event(timeout=timeout)
 File "/usr/local/lib/python3.8/site-packages/httpcore/_async/http11.py", line 191, in _receive_event
   data = await self._network_stream.read(
 File "/usr/local/lib/python3.8/site-packages/httpcore/backends/asyncio.py", line 36, in read
   return b""
 File "/usr/local/lib/python3.8/contextlib.py", line 131, in __exit__
   self.gen.throw(type, value, traceback)
 File "/usr/local/lib/python3.8/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
   raise to_exc(exc)
httpcore.ReadTimeout
The above exception was the direct cause of the following exception:
httpx.ReadTimeout