-
Notifications
You must be signed in to change notification settings - Fork 80
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
Issue: Langsmith fails to batch ingest runs #808
Comments
Hi @omrish-Glossai could you confirm which langsmith version you are using? We increased timeouts/persistence of the requests in more recent versions, which would reduce the occurrence of this type of connection error |
I am using langsmith 0.1.77. |
Has anyone figured this out? |
this happens using 0.1.199 as well |
I am also facing the same issue, I'm using |
Same here, any chance to change the config somehow? |
Hi all this usually happens for one of two reasons:
We've updated the error messaging recently to make it (hopefully) more clear which of the two is causing this, and we'll also try to make the load balancer erroring a bit more clear |
To handle (2), we typically recommend excluding large, unhelpful content from traces: E.g.: https://docs.smith.langchain.com/how_to_guides/tracing/mask_inputs_outputs#rule-based-masking-of-inputs-and-outputs Or in We're also working to help automate some of this and also increase the max-payload size permitted. |
Not sure this is a solution but kind of worked around by changing this param
It takes more time though but finishes without any issues,. |
Issue you'd like to raise.
Hello,
I am using LangSmith and Langchain to trace my LLM usage. While running several times I receive the following warning:
langsmith.client:Failed to batch ingest runs: LangSmithConnectionError("Connection error caused failure to POST https://api.smith.langchain.com/runs/batch in LangSmith API. Please confirm your internet connection.. ConnectionError(ProtocolError('Connection aborted.', timeout('The write operation timed out')))")
When receiving this, the specific trace is not logged to the project.
Suggestion:
No response
The text was updated successfully, but these errors were encountered: