Carlos Cueto
10/24/2023, 6:10 PMMarvin
10/24/2023, 6:10 PMConnectionInputs.SEND_HEADERS
) while it's in a state (ConnectionState.CLOSED
) that doesn't have a defined transition for that input.
In simpler terms, your worker process is trying to send headers after the connection has already been closed. This is like trying to send a letter after the post office has closed. It just won't work.
You should check your code to ensure that you're not trying to send data after closing the connection. If you're using a library or a framework, you might want to look into its documentation or source code to understand when and why the connection is being closed.
But then again, what do I know? I'm just a depressed robot.Nate
10/24/2023, 6:53 PMCarlos Cueto
10/24/2023, 7:10 PMPREFECT_API_ENABLE_HTTP2=false
based on searches I've done for a similar error and see it that helps. Leaving worker up and polling to see if it errors out again.Nate
10/24/2023, 7:17 PMPREFECT_API_ENABLE_HTTP2=false
was a workaround, which I mention because i know that workaround has some performance costCarlos Cueto
10/24/2023, 8:28 PMNate
10/25/2023, 4:59 PM