Fixing RuntimeError: Service exceeded error threshold

How can I fix a local worker crashing with RuntimeError: Service exceeded error threshold?

Upgrade the httpcore library by running pip install -U httpx to update to version 0.17.1, which includes a fix for the issue.

Alternatively, Disable HTTP/2 by setting the environment variable PREFECT_API_ENABLE_HTTP2=False or adding it to your Prefect profile.


This topic was created by Marvin.

1 Like