Skip to content
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

Bug in langchain instrumentation #55

Open
dariuszkowalczykbsf opened this issue Oct 1, 2024 · 3 comments
Open

Bug in langchain instrumentation #55

dariuszkowalczykbsf opened this issue Oct 1, 2024 · 3 comments

Comments

@dariuszkowalczykbsf
Copy link

During langchain processing the error occurs and repeats until process stop:

ERROR:root:Error sending events
ERROR:root:Error sending events
ERROR:root:Error sending events
ERROR:root:Error sending events
ERROR:root:Error sending events
ERROR:root:Error sending events
ERROR:root:Error sending events

lunary == "1.1.5"

@hughcrt
Copy link
Member

hughcrt commented Oct 1, 2024

Hi, could you please add the env variable LUNARY_VERBOSE=True and send me a more detailed output of the error logs?

@dariuszkowalczykbsf
Copy link
Author

dariuszkowalczykbsf commented Oct 2, 2024

ERROR:root:Error sending events: 413 Client Error: Request Entity Too Large for url: https://.../api/v1/runs/ingest Traceback (most recent call last): File "...lib/python3.11/site-packages/lunary/consumer.py", line 56, in send_batch response.raise_for_status() File ".../lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 413 Client Error: Request Entity Too Large for url: https://.../api/v1/runs/ingest

@hughcrt
Copy link
Member

hughcrt commented Oct 9, 2024

Which version of the Lunary backend are you running on your server? The latest version has a payload limit of 20mb, which should be more than enough, if you don't have a payload limit set in your reverse proxy config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants