Project

General

Profile

Actions

roos-fs tasks #532

open

(BUG) PDF export of completed services fails with 504 Gateway Timeout

Added by Vadim Pariev 7 months ago. Updated 5 days ago.

Status:
Closed
Priority:
Normal
Start date:
10/13/2025
Due date:
% Done:

0%

Estimated time:

Description

A user reported an issue where generating a PDF export of completed services results in a 504 Gateway Timeout error. The issue occurs when attempting to export a large dataset for an extended time range.




Steps to Reproduce:

  • Navigate to Services.
  • Click on Export Services.
  • Select a time range (e.g., 1st September – 13th October).
  • Click PDF export.
  • Observe the result — the system returns a 504 Gateway Timeout error.

Observed behavior:

  • The export request times out when generating a large PDF file.
  • Other export formats (e.g., Excel) work correctly, even for large queries.
  • The issue appears to be related to query size or PDF generation time.

Expected behavior:

  • Large data exports (including PDF format) should complete successfully without timeout errors.
  • The system should be able to handle large queries efficiently — possibly by optimizing the generation process, implementing asynchronous exports, or introducing background job processing.

Files

Actions #1

Updated by Vadim Pariev 7 months ago

  • Status changed from Backlog to Open
  • Assignee set to Vadim Pariev
Actions #2

Updated by Vadim Pariev 7 months ago

  • Assignee changed from Vadim Pariev to Anton Obolientsev
Actions #3

Updated by Anton Obolientsev 7 months ago

  • Status changed from Open to In progress
Actions #4

Updated by Anton Obolientsev 7 months ago

  • Status changed from In progress to Deployed (QA)
Actions #5

Updated by Olena Tretjakova 7 months ago

  • Status changed from Deployed (QA) to Ready for Deployment (prod)

Environment: Staging.

Steps to Reproduce:

  1. Create 'large' task template with 12 information fields.https://screenrec.com/share/Z5F2YDmbWM
  2. Create the 'Test 10/16(3)' Service with 10 'large' tasks. https://screenrec.com/share/u30mZRsNWG
  3. Complete the 'Test 10/16(3)' Service. https://screenrec.com/share/SH5tWPnFaj
  4. Open the 'Services' page. Click on the 'Export Completion Reports' button.
  5. The report is downloaded (5.58 Mb). https://screenrec.com/share/nbrO7d3XPV

Expected Result:
A big report can be downloaded from system to computer.

Actual Result:
The Report 5.58 Mb was downloaded to computer.

Actions #6

Updated by Vadim Pariev 6 months ago

  • Status changed from Ready for Deployment (prod) to Closed
Actions #7

Updated by Albert Katasonov 5 days ago

  • Project changed from 8 to Roos-fs-ZIP
Actions

Also available in: Atom PDF