https://prefect.io logo
Title
b

Britt Evans

07/22/2022, 2:01 PM
Hi, I’m using 2.0b9 with orion and the prefect agent running on the same host. My prefect agent is dying frequently (it rarely stays alive for an hour) with exceptions like
anyio.BrokenResourceError
and
httpcore.ReadError
when the agent is using the orion client. Has anyone else had similar issues?
1
k

Kevin Kho

07/22/2022, 2:38 PM
Is this for local Orion or Cloud 2.0?
b

Britt Evans

07/22/2022, 2:39 PM
local, running on an EC2 instance
k

Kevin Kho

07/22/2022, 2:42 PM
Oh my bad I missed that. That does seem weird. Does it happen when attempting to run a flow or even without running a flow?
b

Britt Evans

07/22/2022, 2:47 PM
Lots of times it’s trying to get jobs from the queue, get_runs_in_work_queue, https://github.com/PrefectHQ/prefect/blob/orion/src/prefect/client.py#L875
k

Kevin Kho

07/22/2022, 2:48 PM
Gotcha ok will ask that team
b

Britt Evans

07/22/2022, 2:50 PM
thank you