Hi guys, I'm running a deployment contains around ...
# prefect-cloud
p
Hi guys, I'm running a deployment contains around 32 flows, which in turn has runtime around 50 mins. And I often got crash detected at very end of the deployment (around min 45). My deployment code is simple, call to airbyte local API and trigger connection. The error is
Copy code
Crash detected! Request to <https://api.prefect.cloud/api/accounts/xxxx/workspaces/xxxx/task_runs/xxxx/set_state> failed: Traceback (most recent call last):
ssl.SSLSyscallError: Some I/O error occurred (_ssl.c:997)

The above exception was the direct cause of the following exception:
anyio.BrokenResourceError

During handling of the above exception, another exception occurred:
File "/usr/local/lib/python3.10/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc)
httpcore.ConnectError

The above exception was the direct cause of the following exception:
File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError

Worker information:
 Approximate queue length: 0
 Pending log batch length: 6
 Pending log batch size: 2160
The log worker is stopping and these logs will not be sent.
Does anyone have ideas to fix this error?
m
Hey @Phúc Đinh Minh Which version of prefect are you running? From the errors this could be tied to an upstream dependency in prefect
p
Thanks @Mason Menges for replying! I'm using Prefect 2.7.0 with Python 3.10. I run agent in docker container with local infrastructure in Windows 10. The error still happens today. 😅 You have any ideas to fix this?
m
Hmm, If you can put together a minimum reproducible example then it might actually be worth opening a bug on our repository for this.