[GH-ISSUE #1605] [langchain]: LangSmith Studio fails to connect to local Agent server on Windows #215

Closed
opened 2026-02-17 17:19:25 -05:00 by yindo · 2 comments
Owner

Originally created by @mcavdar on GitHub (Nov 24, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/1605

Type of issue

issue / bug

Language

Python

Description

Hi, I’m following the steps from https://docs.langchain.com/oss/python/langchain/studio

Image

After the first message, the graph gets stuck. Is there any debugging option for langgraph dev? I’m not sure how to trace the issue. Here’s the langgraph dev output:

langgraph dev
INFO:langgraph_api.cli:

        Welcome to

╦  ┌─┐┌┐┌┌─┐╔═╗┬─┐┌─┐┌─┐┬ ┬
║  ├─┤││││ ┬║ ╦├┬┘├─┤├─┘├─┤
╩═╝┴ ┴┘└┘└─┘╚═╝┴└─┴ ┴┴  ┴ ┴

- 🚀 API: http://127.0.0.1:2024
- 🎨 Studio UI: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024
- 📚 API Docs: http://127.0.0.1:2024/docs

This in-memory server is designed for development and testing.
For production use, please use LangSmith Deployment.


2025-11-24T09:49:20.183916Z [info     ] Using langgraph_runtime_inmem  [langgraph_runtime] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=MainThread
2025-11-24T09:49:20.207357Z [info     ] Using auth of type=noop        [langgraph_api.auth.middleware] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=MainThread
2025-11-24T09:49:20.222555Z [info     ] Starting In-Memory runtime with langgraph-api=0.5.26 and in-memory runtime=0.19.0 [langgraph_runtime_inmem.lifespan] api_variant=local_dev langgraph_api_version=0.5.26 langgraph_runtime_inmem_version=0.19.0 thread_name=asyncio_0 version=0.5.26
2025-11-24T09:49:20.619932Z [info     ] Starting metadata loop         [langgraph_api.metadata] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=MainThread
2025-11-24T09:49:20.619932Z [info     ] Getting auth instance: None    [langgraph_api.auth.custom] api_variant=local_dev langgraph_api_version=0.5.26 langgraph_auth=None thread_name=MainThread
2025-11-24T09:49:20.622027Z [info     ] Starting thread TTL sweeper with interval 5 minutes [langgraph_api.thread_ttl] api_variant=local_dev interval_minutes=5 langgraph_api_version=0.5.26 strategy=delete thread_name=asyncio_1
2025-11-24T09:49:21.114191Z [info     ] HTTP Request: POST https://api.smith.langchain.com/v1/metadata/submit "HTTP/1.1 204 No Content" [httpx] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=MainThread
2025-11-24T09:49:21.114191Z [info     ] Successfully submitted metadata to LangSmith instance [langgraph_api.metadata] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=MainThread
2025-11-24T09:49:21.493077Z [info     ] Registering graph with id 'agent' [langgraph_api.graph] api_variant=local_dev graph_id=agent langgraph_api_version=0.5.26 thread_name=asyncio_1
2025-11-24T09:49:21.514982Z [info     ] Starting 1 background workers  [langgraph_runtime_inmem.queue] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=asyncio_0
2025-11-24T09:49:21.514982Z [info     ] Worker stats                   [langgraph_runtime_inmem.queue] active=0 api_variant=local_dev available=1 langgraph_api_version=0.5.26 max=1 thread_name=asyncio_0
Server started in 3.79s
2025-11-24T09:49:21.780835Z [info     ] Server started in 3.79s        [browser_opener] api_variant=local_dev langgraph_api_version=0.5.26 message='Server started in 3.79s' thread_name='Thread-2 (_open_browser)'
🎨 Opening Studio in your browser...
2025-11-24T09:49:21.780835Z [info     ] 🎨 Opening Studio in your browser... [browser_opener] api_variant=local_dev langgraph_api_version=0.5.26 message='🎨 Opening Studio in your browser...' thread_name='Thread-2 (_open_browser)'
URL: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024
2025-11-24T09:49:21.780835Z [info     ] URL: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024 [browser_opener] api_variant=local_dev langgraph_api_version=0.5.26 message='URL: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024' thread_name='Thread-2 (_open_browser)'
2025-11-24T09:49:22.018436Z [info     ] Queue stats                    [langgraph_runtime_inmem.queue] api_variant=local_dev langgraph_api_version=0.5.26 n_pending=0 n_running=0 pending_runs_wait_time_max_secs=None pending_runs_wait_time_med_secs=None thread_name=asyncio_2
2025-11-24T09:49:36.915450Z [info     ] Created run                    [langgraph_api.models.run] after_seconds=0 api_variant=local_dev assistant_id=fe096781-5601-53d2-b2f6-0d3403f7e9ca checkpoint_id=None if_not_exists=reject langgraph_api_version=0.5.26 method=POST multitask_strategy=rollback path=/threads/{thread_id}/runs/stream request_id=661aa1e3-a582-4c11-ae2c-b60aace6236c run_create_ms=4 run_id=019ab544-cf11-7254-9451-fd5052c40a59 run_put_ms=1 stream_mode=['debug'] stream_resumable=False temporary=False thread_id=25c0ebde-d4f2-4f9e-ba09-030d1a6f789f thread_name=MainThread
2025-11-24T09:49:37.515730Z [info     ] Starting background run        [langgraph_api.worker] api_variant=local_dev assistant_id=fe096781-5601-53d2-b2f6-0d3403f7e9ca graph_id=agent langgraph_api_version=0.5.26 request_id=661aa1e3-a582-4c11-ae2c-b60aace6236c resumable=False run_attempt=1 run_creation_ms=2 run_id=019ab544-cf11-7254-9451-fd5052c40a59 run_queue_ms=600 run_started_at=2025-11-24T09:49:37.514724+00:00 run_stream_start_ms=0 temporary=False thread_id=25c0ebde-d4f2-4f9e-ba09-030d1a6f789f thread_name=asyncio_2

Originally created by @mcavdar on GitHub (Nov 24, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/1605 ### Type of issue issue / bug ### Language Python ### Description Hi, I’m following the steps from https://docs.langchain.com/oss/python/langchain/studio <img width="1571" height="933" alt="Image" src="https://github.com/user-attachments/assets/2f652b4d-c172-4be3-8861-229850a6dd9f" /> After the first message, the graph gets stuck. Is there any debugging option for `langgraph dev`? I’m not sure how to trace the issue. Here’s the `langgraph dev` output: ``` langgraph dev INFO:langgraph_api.cli: Welcome to ╦ ┌─┐┌┐┌┌─┐╔═╗┬─┐┌─┐┌─┐┬ ┬ ║ ├─┤││││ ┬║ ╦├┬┘├─┤├─┘├─┤ ╩═╝┴ ┴┘└┘└─┘╚═╝┴└─┴ ┴┴ ┴ ┴ - 🚀 API: http://127.0.0.1:2024 - 🎨 Studio UI: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024 - 📚 API Docs: http://127.0.0.1:2024/docs This in-memory server is designed for development and testing. For production use, please use LangSmith Deployment. 2025-11-24T09:49:20.183916Z [info ] Using langgraph_runtime_inmem [langgraph_runtime] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=MainThread 2025-11-24T09:49:20.207357Z [info ] Using auth of type=noop [langgraph_api.auth.middleware] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=MainThread 2025-11-24T09:49:20.222555Z [info ] Starting In-Memory runtime with langgraph-api=0.5.26 and in-memory runtime=0.19.0 [langgraph_runtime_inmem.lifespan] api_variant=local_dev langgraph_api_version=0.5.26 langgraph_runtime_inmem_version=0.19.0 thread_name=asyncio_0 version=0.5.26 2025-11-24T09:49:20.619932Z [info ] Starting metadata loop [langgraph_api.metadata] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=MainThread 2025-11-24T09:49:20.619932Z [info ] Getting auth instance: None [langgraph_api.auth.custom] api_variant=local_dev langgraph_api_version=0.5.26 langgraph_auth=None thread_name=MainThread 2025-11-24T09:49:20.622027Z [info ] Starting thread TTL sweeper with interval 5 minutes [langgraph_api.thread_ttl] api_variant=local_dev interval_minutes=5 langgraph_api_version=0.5.26 strategy=delete thread_name=asyncio_1 2025-11-24T09:49:21.114191Z [info ] HTTP Request: POST https://api.smith.langchain.com/v1/metadata/submit "HTTP/1.1 204 No Content" [httpx] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=MainThread 2025-11-24T09:49:21.114191Z [info ] Successfully submitted metadata to LangSmith instance [langgraph_api.metadata] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=MainThread 2025-11-24T09:49:21.493077Z [info ] Registering graph with id 'agent' [langgraph_api.graph] api_variant=local_dev graph_id=agent langgraph_api_version=0.5.26 thread_name=asyncio_1 2025-11-24T09:49:21.514982Z [info ] Starting 1 background workers [langgraph_runtime_inmem.queue] api_variant=local_dev langgraph_api_version=0.5.26 thread_name=asyncio_0 2025-11-24T09:49:21.514982Z [info ] Worker stats [langgraph_runtime_inmem.queue] active=0 api_variant=local_dev available=1 langgraph_api_version=0.5.26 max=1 thread_name=asyncio_0 Server started in 3.79s 2025-11-24T09:49:21.780835Z [info ] Server started in 3.79s [browser_opener] api_variant=local_dev langgraph_api_version=0.5.26 message='Server started in 3.79s' thread_name='Thread-2 (_open_browser)' 🎨 Opening Studio in your browser... 2025-11-24T09:49:21.780835Z [info ] 🎨 Opening Studio in your browser... [browser_opener] api_variant=local_dev langgraph_api_version=0.5.26 message='🎨 Opening Studio in your browser...' thread_name='Thread-2 (_open_browser)' URL: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024 2025-11-24T09:49:21.780835Z [info ] URL: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024 [browser_opener] api_variant=local_dev langgraph_api_version=0.5.26 message='URL: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024' thread_name='Thread-2 (_open_browser)' 2025-11-24T09:49:22.018436Z [info ] Queue stats [langgraph_runtime_inmem.queue] api_variant=local_dev langgraph_api_version=0.5.26 n_pending=0 n_running=0 pending_runs_wait_time_max_secs=None pending_runs_wait_time_med_secs=None thread_name=asyncio_2 2025-11-24T09:49:36.915450Z [info ] Created run [langgraph_api.models.run] after_seconds=0 api_variant=local_dev assistant_id=fe096781-5601-53d2-b2f6-0d3403f7e9ca checkpoint_id=None if_not_exists=reject langgraph_api_version=0.5.26 method=POST multitask_strategy=rollback path=/threads/{thread_id}/runs/stream request_id=661aa1e3-a582-4c11-ae2c-b60aace6236c run_create_ms=4 run_id=019ab544-cf11-7254-9451-fd5052c40a59 run_put_ms=1 stream_mode=['debug'] stream_resumable=False temporary=False thread_id=25c0ebde-d4f2-4f9e-ba09-030d1a6f789f thread_name=MainThread 2025-11-24T09:49:37.515730Z [info ] Starting background run [langgraph_api.worker] api_variant=local_dev assistant_id=fe096781-5601-53d2-b2f6-0d3403f7e9ca graph_id=agent langgraph_api_version=0.5.26 request_id=661aa1e3-a582-4c11-ae2c-b60aace6236c resumable=False run_attempt=1 run_creation_ms=2 run_id=019ab544-cf11-7254-9451-fd5052c40a59 run_queue_ms=600 run_started_at=2025-11-24T09:49:37.514724+00:00 run_stream_start_ms=0 temporary=False thread_id=25c0ebde-d4f2-4f9e-ba09-030d1a6f789f thread_name=asyncio_2 ```
yindo added the langchain label 2026-02-17 17:19:25 -05:00
yindo closed this issue 2026-02-17 17:19:25 -05:00
Author
Owner

@mcavdar commented on GitHub (Nov 24, 2025):

$ pip freeze


annotated-types==0.7.0
anyio==4.11.0
blockbuster==1.5.25
cachetools==6.2.2
certifi==2025.11.12
cffi==2.0.0
charset-normalizer==3.4.4
click==8.3.1
cloudpickle==3.1.2
colorama==0.4.6
cryptography==44.0.3
filetype==1.2.0
forbiddenfruit==0.1.4
google-ai-generativelanguage==0.9.0
google-api-core==2.28.1
google-auth==2.43.0
googleapis-common-protos==1.72.0
grpcio==1.76.0
grpcio-status==1.76.0
grpcio-tools==1.75.1
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
idna==3.11
importlib_metadata==8.7.0
jsonpatch==1.33
jsonpointer==3.0.0
jsonschema_rs==0.29.1
langchain==1.0.8
langchain-core==1.1.0
langchain-google-genai==3.1.0
langgraph==1.0.3
langgraph-api==0.5.26
langgraph-checkpoint==3.0.1
langgraph-cli==0.4.7
langgraph-prebuilt==1.0.5
langgraph-runtime-inmem==0.19.0
langgraph-sdk==0.2.9
langsmith==0.4.46
opentelemetry-api==1.38.0
opentelemetry-exporter-otlp-proto-common==1.38.0
opentelemetry-exporter-otlp-proto-http==1.38.0
opentelemetry-proto==1.38.0
opentelemetry-sdk==1.38.0
opentelemetry-semantic-conventions==0.59b0
orjson==3.11.4
ormsgpack==1.12.0
packaging==25.0
proto-plus==1.26.1
protobuf==6.33.1
pyasn1==0.6.1
pyasn1_modules==0.4.2
pycparser==2.23
pydantic==2.12.4
pydantic_core==2.41.5
PyJWT==2.10.1
python-dotenv==1.2.1
PyYAML==6.0.3
requests==2.32.5
requests-toolbelt==1.0.0
rsa==4.9.1
sniffio==1.3.1
sse-starlette==2.1.3
starlette==0.50.0
structlog==25.5.0
tenacity==9.1.2
truststore==0.10.4
typing-inspection==0.4.2
typing_extensions==4.15.0
urllib3==2.5.0
uvicorn==0.38.0
watchfiles==1.1.1
xxhash==3.6.0
zipp==3.23.0
zstandard==0.25.0
@mcavdar commented on GitHub (Nov 24, 2025): ``` $ pip freeze annotated-types==0.7.0 anyio==4.11.0 blockbuster==1.5.25 cachetools==6.2.2 certifi==2025.11.12 cffi==2.0.0 charset-normalizer==3.4.4 click==8.3.1 cloudpickle==3.1.2 colorama==0.4.6 cryptography==44.0.3 filetype==1.2.0 forbiddenfruit==0.1.4 google-ai-generativelanguage==0.9.0 google-api-core==2.28.1 google-auth==2.43.0 googleapis-common-protos==1.72.0 grpcio==1.76.0 grpcio-status==1.76.0 grpcio-tools==1.75.1 h11==0.16.0 httpcore==1.0.9 httpx==0.28.1 idna==3.11 importlib_metadata==8.7.0 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema_rs==0.29.1 langchain==1.0.8 langchain-core==1.1.0 langchain-google-genai==3.1.0 langgraph==1.0.3 langgraph-api==0.5.26 langgraph-checkpoint==3.0.1 langgraph-cli==0.4.7 langgraph-prebuilt==1.0.5 langgraph-runtime-inmem==0.19.0 langgraph-sdk==0.2.9 langsmith==0.4.46 opentelemetry-api==1.38.0 opentelemetry-exporter-otlp-proto-common==1.38.0 opentelemetry-exporter-otlp-proto-http==1.38.0 opentelemetry-proto==1.38.0 opentelemetry-sdk==1.38.0 opentelemetry-semantic-conventions==0.59b0 orjson==3.11.4 ormsgpack==1.12.0 packaging==25.0 proto-plus==1.26.1 protobuf==6.33.1 pyasn1==0.6.1 pyasn1_modules==0.4.2 pycparser==2.23 pydantic==2.12.4 pydantic_core==2.41.5 PyJWT==2.10.1 python-dotenv==1.2.1 PyYAML==6.0.3 requests==2.32.5 requests-toolbelt==1.0.0 rsa==4.9.1 sniffio==1.3.1 sse-starlette==2.1.3 starlette==0.50.0 structlog==25.5.0 tenacity==9.1.2 truststore==0.10.4 typing-inspection==0.4.2 typing_extensions==4.15.0 urllib3==2.5.0 uvicorn==0.38.0 watchfiles==1.1.1 xxhash==3.6.0 zipp==3.23.0 zstandard==0.25.0 ```
Author
Owner

@mcavdar commented on GitHub (Nov 24, 2025):

Closing this issue in favor of the new one: https://github.com/langchain-ai/langgraph/issues/6494

@mcavdar commented on GitHub (Nov 24, 2025): Closing this issue in favor of the new one: https://github.com/langchain-ai/langgraph/issues/6494
yindo changed title from [langchain]: LangSmith Studio fails to connect to local Agent server on Windows to [GH-ISSUE #1605] [langchain]: LangSmith Studio fails to connect to local Agent server on Windows 2026-06-05 17:25:41 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#215