knowhere icon indicating copy to clipboard operation
knowhere copied to clipboard

Document processing fails/times out when uploading oversized PDF files

Open EricNGOntos opened this issue 5 months ago • 1 comments

Describe the bug When I upload a very large PDF file (e.g., a 500-page report), the system seems to freeze in the 'Processing' state for a long time, and eventually times out or fails with an error. The document never becomes available for querying.

To Reproduce Steps to reproduce the behavior:

  1. Go to the document upload page.
  2. Select a PDF file that is extremely large (e.g., hundreds of pages).
  3. Click on upload.
  4. Wait for the processing to finish.
  5. See error or timeout.

Expected behavior The system should either process the document successfully by breaking it down into smaller parts, or provide a clear progress indicator, rather than just timing out.

Screenshots/Logs The UI just shows a timeout error after 5 minutes.

Additional context We frequently deal with large corporate reports and need the system to reliably handle these oversized files without crashing.

EricNGOntos avatar Jun 04 '26 10:06 EricNGOntos

Fixed by #127 (squash merged into staging).

EricNGOntos avatar Jun 04 '26 11:06 EricNGOntos