Skip to content

"Failed to fetch" in external browser to LangSmith Studio #3291

Open
@kbfifi

Description

Checked other resources

  • This is a bug, not a usage question. For questions, please use GitHub Discussions.
  • I added a clear and detailed title that summarizes the issue.
  • I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example).
  • I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue.

Example Code

Does not apply as I'm still setting up

Error Message and Stack Trace (if applicable)

Description

After installation I'm trying to see the Studio environment. So far I:

python3 -m venv langgraphstudiotest
source langgraphstudiotest/bin/activate
pip install --upgrade "langgraph-cli[inmem]"
langgraph new langgraphstudiotest --template react-agent-python
cd langgraphstudiotest             
mkdir app  
langgraph new app --template react-agent-python
cd app/                
pip install -e .
nano .env
langgraph dev --host 0.0.0.0

All well up-til-here.
What works from a remote web browser:
http://192.168.178.31:2024/ok => {"ok":true}
http://192.168.178.31:2024/docs => works

This doesn't work:
https://smith.langchain.com/studio/thread?baseUrl=http://192.168.178.31:2024 => Page shows: "Failed to fetch"

Also tried with
langgraph dev --host 192.168.178.31

Both give same results

See also #3261
Installed fix:
pip install --upgrade "langgraph-cli[inmem]" "langgraph-api==0.0.21"

Unfortenately not fixing my issue

System Info

python3 -m langchain_core.sys_info [4/1075]

System Information

OS: Linux
OS Version: #1 SMP Tue Nov 12 08:48:32 UTC 2024
Python Version: 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0]

Package Information

langchain_core: 0.3.33
langchain: 0.3.17
langchain_community: 0.3.16
langsmith: 0.2.11
langchain_anthropic: 0.3.5
langchain_fireworks: 0.2.7
langchain_openai: 0.3.3
langchain_text_splitters: 0.3.5
langgraph_api: 0.0.21
langgraph_cli: 0.1.70
langgraph_license: Installed. No version info available.
langgraph_sdk: 0.1.51
langgraph_storage: Installed. No version info available.

Optional packages not installed

langserve

Other Dependencies

aiohttp: 3.11.11
anthropic: 0.45.2
async-timeout: Installed. No version info available.
click: 8.1.8
cryptography: 43.0.3
dataclasses-json: 0.6.7
defusedxml: 0.7.1
fireworks-ai: 0.15.12
httpx: 0.28.1
httpx-sse: 0.4.0
jsonpatch: 1.33
jsonschema-rs: 0.25.1
langgraph: 0.2.69
langgraph-checkpoint: 2.0.10
langsmith-pyo3: Installed. No version info available.
numpy: 1.26.4
openai: 1.60.2
orjson: 3.10.15
packaging: 24.2
pydantic: 2.10.6
pydantic-settings: 2.7.1
pyjwt: 2.10.1
python-dotenv: 1.0.1
PyYAML: 6.0.2
requests: 2.32.3
requests-toolbelt: 1.0.0
SQLAlchemy: 2.0.37
sse-starlette: 2.1.3
starlette: 0.45.3
structlog: 24.4.0
tenacity: 9.0.0
tiktoken: 0.8.0
typing-extensions: 4.12.2
uvicorn: 0.34.0
watchfiles: 1.0.4
zstandard: Installed. No version info available.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions