Matthew Scanlon
04/10/2023, 7:47 PM15:40:34.109 | ERROR | Task run '<name>' - Crash detected! Execution was interrupted by an unexpected exception: PrefectHTTPStatusError: Client error '404 Not Found' for url '<https://api.prefect.cloud/api/accounts/***/workspaces/***/task_runs/***/set_state>'
Zanie
04/10/2023, 8:37 PMMatthew Scanlon
04/10/2023, 8:40 PMZanie
04/10/2023, 9:31 PMMatthew Scanlon
04/11/2023, 3:45 AMdef get_response(url):
while some condition:
resp = <query_api>
return responses
@task
def some_task():
return get_respons(url)
@flow
def my_subflow():
some_task()
@flow
def foo():
my_sub_flow()
crashed
state. What i can not figure out is why the subflow continues to be shown as running in the UI, why the logs are not getting persisted, and why the subflow does not appear to be running on our pods. It is as if there is a ghost process that never got a stop signal executing on the prefect ui backendZanie
04/11/2023, 2:21 PMMatthew Scanlon
04/11/2023, 2:35 PMZanie
04/11/2023, 2:42 PMMatthew Scanlon
04/11/2023, 3:01 PMDownloading flow code from storage at '<parent flow name>'