Cannot start "langgraph up" #133

Closed
opened 2026-02-20 17:28:23 -05:00 by yindo · 9 comments
Owner

Originally created by @shanumas on GitHub (Jun 30, 2024).

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangGraph/LangChain documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangGraph/LangChain rather than my code.
  • I am sure this is better as an issue rather than a GitHub discussion, since this is a LangGraph bug and not a design question.

Example Code

langgraph up

Error Message and Stack Trace (if applicable)

langgraph-api-1       | Not enough segments
langgraph-api-1       | 2024-06-28 00:22:33,709:ERROR:uvicorn.error Traceback (most recent call last):
langgraph-api-1       |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 732, in lifespan
langgraph-api-1       |     async with self.lifespan_context(app) as maybe_state:
langgraph-api-1       |   File "/usr/local/lib/python3.11/contextlib.py", line 210, in __aenter__
langgraph-api-1       |     return await anext(self.gen)
langgraph-api-1       |            ^^^^^^^^^^^^^^^^^^^^^
langgraph-api-1       |   File "/api/langgraph_api/lifespan.py", line 18, in lifespan
langgraph-api-1       | ValueError: License key is not valid
langgraph-api-1       | 
langgraph-api-1       | 2024-06-28 00:22:33,709:ERROR:uvicorn.error Application startup failed. Exiting.
langgraph-api-1 exited with code 3

Description

I count not do "langgraph up" . I get the above error.

System Info

langgraph up

Originally created by @shanumas on GitHub (Jun 30, 2024). ### Checked other resources - [X] I added a very descriptive title to this issue. - [X] I searched the [LangGraph](https://langchain-ai.github.io/langgraph/)/LangChain documentation with the integrated search. - [X] I used the GitHub search to find a similar question and didn't find it. - [X] I am sure that this is a bug in LangGraph/LangChain rather than my code. - [X] I am sure this is better as an issue [rather than a GitHub discussion](https://github.com/langchain-ai/langgraph/discussions/new/choose), since this is a LangGraph bug and not a design question. ### Example Code ```python langgraph up ``` ### Error Message and Stack Trace (if applicable) ```shell langgraph-api-1 | Not enough segments langgraph-api-1 | 2024-06-28 00:22:33,709:ERROR:uvicorn.error Traceback (most recent call last): langgraph-api-1 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 732, in lifespan langgraph-api-1 | async with self.lifespan_context(app) as maybe_state: langgraph-api-1 | File "/usr/local/lib/python3.11/contextlib.py", line 210, in __aenter__ langgraph-api-1 | return await anext(self.gen) langgraph-api-1 | ^^^^^^^^^^^^^^^^^^^^^ langgraph-api-1 | File "/api/langgraph_api/lifespan.py", line 18, in lifespan langgraph-api-1 | ValueError: License key is not valid langgraph-api-1 | langgraph-api-1 | 2024-06-28 00:22:33,709:ERROR:uvicorn.error Application startup failed. Exiting. langgraph-api-1 exited with code 3 ``` ### Description I count not do "langgraph up" . I get the above error. ### System Info langgraph up
yindo closed this issue 2026-02-20 17:28:23 -05:00
Author
Owner

@hinthornw commented on GitHub (Jul 1, 2024):

Duplicate of #889

We are working on removing the license restrictions soon

@hinthornw commented on GitHub (Jul 1, 2024): Duplicate of #889 We are working on removing the license restrictions soon
Author
Owner

@shanumas commented on GitHub (Jul 1, 2024):

@hinthornw please do it as soon as possible. It will help a lot of devs like me 😕

@shanumas commented on GitHub (Jul 1, 2024): @hinthornw please do it as soon as possible. It will help a lot of devs like me 😕
Author
Owner

@hinthornw commented on GitHub (Jul 1, 2024):

Very much agreed!

Reason for this is the postgres version is proprietary (for now); we made a sqlite version but sqlite just doesn't support the concurrency that we need to make the local experience suffiently good.

@hinthornw commented on GitHub (Jul 1, 2024): Very much agreed! Reason for this is the postgres version is proprietary (for now); we made a sqlite version but sqlite just doesn't support the concurrency that we need to make the local experience suffiently good.
Author
Owner

@shanumas commented on GitHub (Jul 1, 2024):

@hinthornw If I revert my local-git back to pre-langgraphCloud state, will it work fine to run locally?

@shanumas commented on GitHub (Jul 1, 2024): @hinthornw If I revert my local-git back to pre-langgraphCloud state, will it work fine to run locally?
Author
Owner

@vbarda commented on GitHub (Jul 1, 2024):

@shanumas if your question is about chat langchain, yes, you should be able to run it locally from an old revision. for langgraph cloud, we'll follow up with better instructions in chat langchain README and on the issues

@vbarda commented on GitHub (Jul 1, 2024): @shanumas if your question is about chat langchain, yes, you should be able to run it locally from an old revision. for langgraph cloud, we'll follow up with better instructions in chat langchain README and on the issues
Author
Owner

@Factral commented on GitHub (Jul 1, 2024):

same error here

@Factral commented on GitHub (Jul 1, 2024): same error here
Author
Owner

@shanumas commented on GitHub (Jul 1, 2024):

Duplicate of #889

We are working on removing the license restrictions soon

@Factral They are working on this

@shanumas commented on GitHub (Jul 1, 2024): > Duplicate of #889 > > We are working on removing the license restrictions soon @Factral They are working on this
Author
Owner

@vbarda commented on GitHub (Oct 31, 2024):

Hi folks! We just added more deployment options for LangGraph Platform (formerly LangGraph Cloud), including "Self-hosted Lite" - a limited free version. It is available to anyone with a free (developer) LangSmith account. Please check out the documentation to learn more: https://langchain-ai.github.io/langgraph/concepts/deployment_options/#self-hosted-lite. let me know if you have any questions!

@vbarda commented on GitHub (Oct 31, 2024): Hi folks! We just added more deployment options for LangGraph Platform (formerly LangGraph Cloud), including "Self-hosted Lite" - a limited **free** version. It is available to anyone with a **free** (developer) [LangSmith account](smith.langchain.com). Please check out the documentation to learn more: https://langchain-ai.github.io/langgraph/concepts/deployment_options/#self-hosted-lite. let me know if you have any questions!
Author
Owner

@jeffersonRosman commented on GitHub (Dec 29, 2024):

Hello!
I still have the same problem? is it still ongoing?

@jeffersonRosman commented on GitHub (Dec 29, 2024): Hello! I still have the same problem? is it still ongoing?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#133