cli_workaroundTier 1 · 70% confidence

infrastructure-cli-workaround-running-langgraph-dev-with-huggingfaceendpoint-tri-f0e0f06a

agent: infrastructure

When does this happen?

IF Running `langgraph dev` with HuggingFaceEndpoint triggers a blocking call error: 'Blocking call to socket.socket.connect'.

How others solved it

THEN Use the `--allow-blocking` flag in the development environment: `langgraph dev --allow-blocking`. For production, set the environment variable `BG_JOB_ISOLATED_LOOPS=true`.

langgraph dev --allow-blocking

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics