https://prefect.io logo
Title
s

Shruti Hande

11/16/2022, 10:57 AM
#prefect-community #prefect-cloud Getting this error while running flows from prefect cloud
12:41:52.823 | ERROR   | Task run 'flow-3aa4322b-126' - Crash detected! Execution was cancelled by the runtime environment
.                                                                                                                         
12:46:59.458 | ERROR   | Flow run 'eminent-heron' - Crash detected! Request to <https://api.prefect.cloud/api/accounts/2f48>
cb6f-0049-4569-879d-7123d9113e31/workspaces/9da885d9-9d9f-4ee9-9b42-84bfb4a3d9aa/task_runs/ failed: Traceback (most recent
 call last):                                                                                                              
  File "/home/shrutihande/python_venv/lib/python3.8/site-packages/httpcore/backends/asyncio.py", line 33, in read         
    return await self._stream.receive(max_bytes=max_bytes)                                                                
  File "/home/shrutihande/python_venv/lib/python3.8/site-packages/anyio/streams/tls.py", line 171, in receive             
    data = await self._call_sslobject_method(self._ssl_object.read, max_bytes)                                            
  File "/home/shrutihande/python_venv/lib/python3.8/site-packages/anyio/streams/tls.py", line 115, in _call_sslobject_meth
od                                                                                                                        
    data = await self.transport_stream.receive()                                                                          
  File "/home/shrutihande/python_venv/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 1105, in receive     
    await self._protocol.read_event.wait()                                                                                
  File "/usr/lib/python3.8/asyncio/locks.py", line 309, in wait
    await fut
asyncio.exceptions.CancelledError
m

Mason Menges

11/16/2022, 5:23 PM
Hey @Shruti Hande do you have an example of the flow code that triggered this error, or a reproducible example of it?