Safari Connection Issues
Safari blocks plain-HTTP traffic on localhost. When running Studio withlanggraph dev, you may see âFailed to load assistantsâ errors.
Solution 1: Use Cloudflare Tunnel
- Python
- JS
baseUrl parameter specifies your agent server endpoint.
Solution 2: Use Chromium browser
Chrome and other Chromium browsers allow HTTP on localhost. Uselanggraph dev without additional configuration.
Chrome connection issues
Starting with Chrome version 142, you may experience âFailed to initialize Studioâ errors with âTypeError: Failed to fetchâ when trying to connect LangSmith Studio to your local development server vialanggraph dev. This occurs even when the API server at http://127.0.0.1:2024/docs loads successfully.
Root Cause: Chrome 142 fully enforces the Private Network Access (PNA) specification with no fallback, which blocks HTTPS sites (like https://smith.langchain.com) from accessing HTTP localhost servers by default.
Symptoms
- Running
langgraph devstarts the server successfully. - Navigating to
http://127.0.0.1:2024/docsshows the API documentation correctly. - LangSmith Studio at
https://smith.langchain.comshows: âFailed to initialize Studio - Please verify if the API server is running or accessible from the browser. TypeError: Failed to fetchâ. - Browser console shows errors like:
Permission was denied for this request to access the 'unknown' address space.
Solution: Allow local network access in Chrome
- Open LangSmith Studio at
https://smith.langchain.comin Chrome. - Click the lock icon (or site information icon) to the left of the address bar.
- Look for the âLocal network accessâ option in the dropdown.
- Change the setting from âAsk (default)â or âBlockâ to âAllowâ.
- Reload the page.
Additional troubleshooting
Check for browser extension conflicts Browser extensions (especially Ollama Chrome extension or AI model extensions) can interfere with localhost connections:- Disable all browser extensions temporarily.
- Restart Chrome.
- Try connecting to Studio again.
- If it works, re-enable extensions one by one to identify the culprit.
- In Chrome, go to Settings > Privacy and Security > Site Settings.
- Find
https://smith.langchain.comin the list. - Click Clear data.
- Restart Chrome and try again.
Brave Connection Issues
Brave blocks plain-HTTP traffic on localhost when Brave Shields are enabled. When running Studio withlanggraph dev, you may see âFailed to load assistantsâ errors.
Solution 1: Disable Brave Shields
Disable Brave Shields for LangSmith using the Brave icon in the URL bar.Solution 2: Use Cloudflare Tunnel
- Python
- JS
baseUrl parameter specifies your agent server endpoint.
Graph Edge Issues
Undefined conditional edges may show unexpected connections in your graph. This is because without proper definition, Studio assumes the conditional edge could access all other nodes. To address this, explicitly define the routing paths using one of these methods:Solution 1: Path map
Define a mapping between router outputs and target nodes:- Python
- Javascript
Solution 2: Router type definition
Specify possible routing destinations using PythonâsLiteral type:
Experiment troubleshooting in Studio
Run experiment button is disabled
Check the following:- Deployed application: If your application is deployed on LangSmith, you may need to create a new revision to enable this feature.
- Local development server: If you are running your application locally, make sure you have upgraded to the latest version of the
langgraph-cli(pip install -U langgraph-cli). Additionally, ensure you have tracing enabled by setting theLANGSMITH_API_KEYin your projectâs.envfile.