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

LlamaParse closes connection unexpectedly #586

Open
majdalsado opened this issue Jan 16, 2025 · 0 comments
Open

LlamaParse closes connection unexpectedly #586

majdalsado opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@majdalsado
Copy link

Describe the bug
We've noticed that LlamaParse can occassionally return an error unable to perform operation on <TCPTransport closed=True reading=False 0x7f57480c0a40>; the handler is closed
and fail when trying to use it to parse a pdf file via the python library.

It seems to happen immediately when we make a request but goes away if we retry at least once so it feels like a network connectivity issue.

Anecdotally I've noticed it happens more often on larger files rather than smaller ones.

Files
Random files, no pattern or specific trigger.

Job ID
When this bug happens no Job ID gets created, the error seems to happen before it does so.

Client:

  • Python Library

Additional context
I call LlamaParse via LlamaParse.load_data(file_bytes). I'm not sure if the passing of file_bytes has something to do with it.

Here are logs of it happening whereby my function retries and it then goes through.
Image
Job ID of the job succeeding it: a387462e-9c4a-467e-8330-c80a76c7f6cc

App that we're running is a Python FastAPI running on Railway with Uvicorn v0.34 (latest).

@majdalsado majdalsado added the bug Something isn't working label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant