Unable to connect to LangSmith Studio

I configured the env and langgraph.json files according to the tutorial, and I can now see the tracing records of my locally running agent on LangSmith.

However, after starting the agent using langgraph dev, clicking the link provided by the Studio UI results in the following error:

-------------------------------------

Failed to initialize Studio

Please verify if the API server is running or accessible from the browser.

TypeError: Failed to fetch

hi @kamasammohana6657

Try this in order:

  1. Confirm local server is reachable:
  2. If using Chrome (v142+ especially):
    • In https://smith.langchain.com, click the lock icon in the address bar
    • Set Local network access to Allow
    • Reload Studio
    • If still failing, temporarily disable extensions and retry

  1. Fallback for Safari/Brave (or stubborn Chrome):
    • Run langgraph dev --tunnel
    • In Studio, use Connect to local server, paste the tunnel URL, add it to allowed origins, then connect