Error: Export Report to Excel – Server Timeout After 3 Minutes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ai.adma
    Junior Member
    • Nov 2025
    • 4

    #1

    Error: Export Report to Excel – Server Timeout After 3 Minutes

    When attempting to export the Clients Report to Excel from the system, the request fails after approximately 3 minutes, and the server returns a 504 Gateway Timeout error.
    Actual Result:
    • The request to the endpoint /api/v1/Report/action/exportList keeps processing for around 3 minutes.
    • The server responds with 504 Gateway Timeout.
    Impact:
    • Users cannot export the report (3,397 records).
    • Affects reporting and business operations.
    Technical Details (from browser console):
    • HTTP Status: 504 Gateway Timeout
    • Request Method: POST
    • Server: awselb/2.0
    • Duration: ~180 seconds
    • Content-Type: text/html
    Suspected Causes:
    • Export operation taking too long due to large dataset size.
    • Backend process not optimized (heavy queries, or slow Excel generation).
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9521

    #2
    Big lists should be exported in Lite mode as the docs suggests:

    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • ai.adma
      ai.adma commented
      Editing a comment
      Thank you for the update yuri

      I’m try using Lite mode as shown in the attached file, but the export still times out with a 504 error
  • ai.adma
    Junior Member
    • Nov 2025
    • 4

    #3
    Thank you for the update yuri

    I’m try using Lite mode as shown in the attached file, but the export still times out with a 504 error.
    Last edited by ai.adma; 11-20-2025, 08:22 AM.

    Comment

    • lazovic
      Super Moderator
      • Jan 2022
      • 1190

      #4
      Hi ai.adma,

      Your provider may be blocking such requests. I tested exporting 11,000 records in Lite mode with about 20 columns in the report, and everything exported in literally a minute, if not less.

      Comment

      Working...