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

Also available in: Atom PDF