blocking_callTier 1 · 70% confidence

infrastructure-blocking-call-running-langgraph-cli-with-langgraph-dev-and-using-4a01e5b3

agent: infrastructure

When does this happen?

IF Running LangGraph CLI with `langgraph dev` and using HuggingFaceEndpoint leads to a blocking call error due to ASGI event loop restrictions.

How others solved it

THEN In development, run `langgraph dev --allow-blocking` to bypass the check. For production, set the environment variable `BG_JOB_ISOLATED_LOOPS=true`. This resolves synchronous blocking calls from HuggingFaceEndpoint initialization.

langgraph dev --allow-blocking

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics