<@ULVA73B9P> the cancel button is disabled on my R...
# ask-marvin
s
@Marvin the cancel button is disabled on my Run. its State is "Running" and the logs view shows only a spinner. the Duration is 34d 1h. why can I cancel it?
m
Your inability to cancel the running flow could be due to a couple of reasons. Here are some possibilities: 1. UI Bug or Version Issue: There might be a bug in the Prefect UI that prevents the cancel button from being enabled, especially if you're using an older version of the Prefect UI. Consider updating to the latest version to see if this resolves the issue. You can check out the Prefect UI Library Changelog for any relevant updates. 2. State Transition Errors: If the flow run is stuck in a "Running" state for an extended period (like 34 days), it might be due to errors in state transitions or the orchestration client not updating the state correctly. This can sometimes happen if there are network issues or if the client-side logic is not in sync with the server. 3. Backend Issues: There might be an issue with the Prefect backend where it doesn't acknowledge the state transition requests. This could be a temporary glitch or a deeper issue that might require server-side logs investigation. To resolve this, you can try the following steps: - Restart the Prefect server or UI and see if the cancel button becomes enabled. - If you have access to the server logs, check for any errors or warnings that might indicate why the flow run is stuck. - Consider manually intervening by using API calls to set the flow run state to a terminal state. If these steps don't help, you may want to reach out to Prefect support or check their GitHub issues for any similar reported problems.
s
How do I reach out to Prefect support?