https://prefect.io logo
Title
a

Ashley Felber

01/12/2023, 11:25 PM
Hello, I am getting an error when I run a deployment using an ecs block. There are no logs in Prefect for the flow run, just says error, but if I look at the logs of the agent in cloudwatch, I see "h2.exceptions.Protocol*Error*: Invalid input ConnectionInputs.RECV_PING in state ConnectionState.CLOSED". What does this mean?
m

Mason Menges

01/13/2023, 1:30 AM
This is likely tied to this issue https://github.com/PrefectHQ/prefect/issues/7442, you should be able to disabled HTTP2 which is likely causing the particular error, which version of prefect are you running as well we've added a retries to alleviate this on 2.7 and up but if it's still occurring disabling HTTP2 should fix it.
specifically
PREFECT_API_ENABLE_HTTP2=False