Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP2 API calls from prefect server breaking flow runs with large amounts of async tasks #15616

Open
2tony2 opened this issue Oct 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@2tony2
Copy link

2tony2 commented Oct 8, 2024

Bug summary

We have a production workflow that will perform massive backfills againt an external api.
For this it generates up to tens of thousands of asynchronous task runs in a flow run.

A lot of flow runs were suddenly crashing last week at random intervals with a keyerror which seems to be related to the following #11660.

We're running prefect 2.19>.

When we set the env variable to turn of HTTP2 for the prefect API PREFECT_API_ENABLE_HTTP2 = False this completely resolves the random crashes.

Just wanted to raise this because it is definitely strange to suddenly have to manually disable prefect's HTTP2 API to prevent crashes.

Version info (prefect version output)

we're running prefect 2.19.X

Additional context

No response

@2tony2 2tony2 added the bug Something isn't working label Oct 8, 2024
@williamjamir
Copy link
Contributor

Looks like on Prefect 3 HTTP2 is disable by default: #15311

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants