Pedro Machado

05/18/2023, 11:32 PM
Hi there. I am having an issue with a local (process) worker crashing with this error:
RuntimeError: Service exceeded error threshold.
It's crashing while running a dbt job that takes about 30 min. The worker is running on my desktop computer (Ubuntu running on WSL 2). This is what I am running.
Version:             2.10.10
API version:         0.8.4
Python version:      3.10.8
Git commit:          8159450b
Built:               Thu, May 18, 2023 3:43 PM
OS/Arch:             linux/x86_64
Profile:             cloud
Server type:         cloud
Any ideas about what may be happening?
โœ… 1

Andrew Brookins

05/19/2023, 5:47 AM
Hi Pedro! Weโ€™re tracking this as an HTTP/2 issue, which some folks see more problems with. Can you try disabling HTTP/2 by either setting the environment variable
or adding that setting to your Prefect profile?

Jeff Hale

05/19/2023, 2:55 PM
A fix for the issue Andrew referenced for the upstream library, httpcore, has been released (0.17.1). If you run
pip install -U httpx
that should update httpcore and hopefully resolve the issue.

Pedro Machado

05/19/2023, 4:43 PM
Hi Jeff and Andrew. Thanks for the suggestion. Upgrading the library seems to have fixed the problem!
๐Ÿ™Œ 2


05/19/2023, 10:53 PM
Thanks, @Nate! This thread has been saved to Discourse. You can find it here:
๐ŸŽ‰ 1