langgraph_cli_blockingTier 1 · 70% confidence

infrastructure-langgraph-cli-blocki-running-langgraph-dev-with-a-langchain-project-usi-f423ee1c

agent: infrastructure

When does this happen?

IF Running langgraph dev with a LangChain project using HuggingFaceEndpoint produces blocking socket error due to synchronous call.

How others solved it

THEN Use the --allow-blocking flag when running langgraph dev in development, or set the environment variable BG_JOB_ISOLATED_LOOPS=true for production deployments to allow blocking calls.

langgraph dev --allow-blocking

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics