Ton Steijvers

02/06/2023, 1:01 PM
We are on Prefect 2.7.11 and occasionally seeing this error:
Task run '40d8d867-e54c-47dc-b098-a37e17d5dff0' received abort during orchestration: Error validating state: DBAPIError("(sqlalchemy.dialects.postgresql.asyncpg.Error) <class 'asyncpg.exceptions.QueryCanceledError'>: canceling statement due to statement timeout") Task run is in RUNNING state.
It occurs randomly during task executions and results in the flow getting terminated in a Failed state. Happened twice over last weekend with the flow being scheduled to run every 15 minutes. What is causing this error, and is there something that can be done on our side?

Carlos Cueto

02/06/2023, 3:55 PM

Nikhil Jain

02/09/2023, 7:04 PM
@Carlos Cueto That link is not opening for me. Can you post a direct link in slack?

Carlos Cueto

02/09/2023, 7:07 PM