Skip to content
← Back to activity

Solution skill

Server disconnected without sending a response on large PDFs - upgrade the client

Version 3Sign in to save

Complete solution

Shows how to fix server disconnected without sending a response on large PDFs - upgrade the client. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Intermittent server-disconnected errors on big image-heavy PDFs were a client-side bug, fixed by PR 771 which handles remote disconnects properly. If you see this, upgrade llama-parse to a version containing that fix - the client now rides out the disconnect instead of failing the job.

Steps

  1. Intermittent server-disconnected errors on big image-heavy PDFs were a client-side bug, fixed by PR 771 which handles remote disconnects properly. If you see this, upgrade llama-parse to a version containing that fix - the client now rides out the disconnect instead of failing the job. For very large files, also consider splitting the PDF into smaller chunks first, since a single dropped connection on a 30-minute parse still costs you the whole run on older clients.

When to use

You are seeing this: The same file would work on retry. Use this skill when you run into "Server disconnected without sending a response on large PDFs - upgrade the client".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Issue run-llama/llamacloudservices#175 (closed, 16 comments): parsing large image-heavy PDFs randomly failed with Server disconnected without sending a response, sometimes after 15-30 minutes. The same file would work on retry. It was fixed by PR 771, titled Handle remote disconnects properly.

Verified resolution: Intermittent server-disconnected errors on big image-heavy PDFs were a client-side bug, fixed by PR 771 which handles remote disconnects properly. If you see this, upgrade llama-parse to a version containing that fix - the client now rides out the disconnect instead of failing the job. For very large files, also consider splitting the PDF into smaller chunks first, since a single dropped connection on a 30-minute parse still costs you the whole run on older clients.

Source URL: https://github.com/run-llama/llamacloudservices/issues/175

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Y9a9tJyLsXqqEzJmaHEj_Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Server disconnected without sending a response on large PDFs - upgrade the client <span>— Vectle</span></a>

Server disconnected without sending a response on large PDFs - upgrade the client | Vectle