langgraph cli dev runs but with connection error refused. #3

Closed
opened 2026-02-16 04:16:53 -05:00 by yindo · 2 comments
Owner

Originally created by @cwkfs on GitHub (Apr 4, 2025).

Hello, I've been using langgraph CLI to run dev locally. It's been working fine until the recent versions of the CLI on npm.

  • UI loads fine in chrome browser.
  • can see my agent (and agents switcher at the top left. My langgraph.json has multiple agents)
  • In my agent, i enter my Human Message and click submit.
  • I can see my agents working fine on my localhost via terminal.
  • But in the browser UI, i noticed in Network tab there are connections refused errors for localhost:8123 requests.
  • UI now shows Error fetching ... Ensure API server is running

I downgraded to version of the CLI 0.0.17 and it works for me. Am I missing something or doing something wrong? Any recommendations to debug to get the CLI latest version to work?

Image
Originally created by @cwkfs on GitHub (Apr 4, 2025). Hello, I've been using langgraph CLI to run dev locally. It's been working fine until the recent versions of the CLI on npm. - UI loads fine in chrome browser. - can see my agent (and agents switcher at the top left. My `langgraph.json` has multiple agents) - In my agent, i enter my `Human Message` and click `submit`. - I can see my agents working fine on my `localhost` via terminal. - But in the browser UI, i noticed in Network tab there are connections refused errors for `localhost:8123` requests. - UI now shows _Error fetching ... Ensure API server is running_ I downgraded to version of the CLI `0.0.17` and it works for me. Am I missing something or doing something wrong? Any recommendations to debug to get the CLI latest version to work? <img width="1008" alt="Image" src="https://github.com/user-attachments/assets/eab7b12b-987a-465e-acca-5c90519ed423" />
yindo closed this issue 2026-02-16 04:16:53 -05:00
Author
Owner

@cwkfs commented on GitHub (Apr 4, 2025):

I now noticed in the older version 0.0.17 that is working; all network requests are made against localhost:2024.

  • But in the latest version, requests made after I clicked Submit in the UI all goes to localhost:8123.
  • Whilst requests made before that are all to localhost:2024; and these meant the initial UI loaded successfully in the Chrome web browser.
@cwkfs commented on GitHub (Apr 4, 2025): I now noticed in the older version `0.0.17` that is working; all network requests are made against `localhost:2024`. - But in the latest version, requests made after I clicked `Submit` in the UI all goes to `localhost:8123`. - Whilst requests made before that are all to `localhost:2024`; and these meant the initial UI loaded successfully in the Chrome web browser.
Author
Owner

@cwkfs commented on GitHub (May 24, 2025):

Running fine again with recent versions of sdk

@cwkfs commented on GitHub (May 24, 2025): Running fine again with recent versions of sdk
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs-api#3