-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update license key troubleshooting #3157
Open
hinthornw
wants to merge
1
commit into
main
Choose a base branch
from
wfh/docs_updates
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# INVALID_LICENSE | ||
|
||
This error is raised when license verification fails while attempting to start a self-hosted LangGraph Platform server. This error is specific to the LangGraph Platform and is not related to the open source libraries. | ||
|
||
## When This Occurs | ||
|
||
This error occurs when running a self-hosted deployment of LangGraph Platform without a valid enterprise license or API key. | ||
|
||
## Troubleshooting | ||
|
||
### Confirm deployment type | ||
|
||
First, confirm the desired mode of deployment. | ||
|
||
#### For Local Development | ||
|
||
If you're just developing locally, you can use the lightweight in-memory server by running `langgraph dev`. | ||
See the [local server](../how-tos/local-server.md) docs for more information. | ||
|
||
#### For Managed LangGraph Platform | ||
|
||
If you would like a fast managed environment, consider the [Cloud SaaS](../langgraph_cloud.md) deployment option. This requires no additional license key. | ||
|
||
#### For Self-Hosted Lite (Limited Features) | ||
|
||
If your deployment is unlikely to see more than 1 million node executions per year and don't need Crons and other enterprise features, consider the [Self-Hosted Lite](../deployment_options.md#self-hosted-lite) deployment option. | ||
|
||
You can deploy with Self-Hosted Lite by setting a valid `LANGSMITH_API_KEY` in your environment (e.g., in the `.env` file referenced by `langgraph.json`) and building a Docker image. The API key must be associated with an account on a **Plus** plan or greater. | ||
|
||
#### For Self-Hosted Enterprise (Full Features) | ||
|
||
For full self-hosting, set the `LANGGRAPH_CLOUD_LICENSE_KEY` environment variable. If you are interested in an enterprise license key, please contact the LangChain support team. | ||
|
||
For more information on deployment options and their features, see the [Deployment Options](../../concepts/deployment_options.md) documentation. | ||
|
||
### Confirm credentials | ||
|
||
If you have confirmed that you would like to self-host LangGraph Platform, please verify your credentials. | ||
|
||
#### For Self-Hosted Lite | ||
|
||
1. Confirm that you have provided a working `LANGSMITH_API_KEY` environment variable in your deployment environment or `.env` file | ||
2. Confirm the provided API key is associated with an account on a **Plus** or **Enterprise** plan (or equivalent) | ||
|
||
#### For Self-Hosted Enterprise | ||
|
||
1. Confirm that you have provided a working `LANGGRAPH_CLOUD_LICENSE_KEY` environment variable in your deployment environment or `.env` file | ||
2. Confirm the key is still valid and has not surpassed its expiration date |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
# Error reference | ||
|
||
This page contains guides around resolving common errors you may find while building with LangChain. | ||
This page contains guides around resolving common errors you may find while building with LangGraph. | ||
Errors referenced below will have an `lc_error_code` property corresponding to one of the below codes when they are thrown in code. | ||
|
||
- [GRAPH_RECURSION_LIMIT](./GRAPH_RECURSION_LIMIT.md) | ||
- [INVALID_CONCURRENT_GRAPH_UPDATE](./INVALID_CONCURRENT_GRAPH_UPDATE.md) | ||
- [INVALID_GRAPH_NODE_RETURN_VALUE](./INVALID_GRAPH_NODE_RETURN_VALUE.md) | ||
- [MULTIPLE_SUBGRAPHS](./MULTIPLE_SUBGRAPHS.md) | ||
- [INVALID_CHAT_HISTORY](./INVALID_CHAT_HISTORY.md) | ||
|
||
## LangGraph Platform | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no need to create a separate section for this a single bullet point list is fine for now -- there are so few of them. and users don't know apriori if something is langgraph platform or langgraph in some cases |
||
|
||
These guides provide troubleshooting information for errors that are specific to the LangGraph Platform. | ||
|
||
- [INVALID_LICENSE](./INVALID_LICENSE.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have foreign speakers
per annum -> per year