Skip to content

Exporting Internal Server Error at exactly 30 Seconds #9218

Closed

Description

@imager2019

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

Issue seems to be same as closed on #6376, #5571, #6177

Running on version 0.17.7 from Admin in the PART...Parts and exporting the data. Using any and all export styles results in a "Internal Server Error" at exactly 30 seconds.

Steps to Reproduce

From Site, select admin...Admin
under PART, select Parts
use EXPORT function and select format (json is our preferred format, but all formats exhibit same issue) and press SUBMIT

After exactly 30 seconds, receive "Internal Server Error" and no export take place.

Expected behaviour

Expect to have JSON file available for download

Deployment Method

  • Docker
  • Package
  • Bare metal
  • Other - added info in Steps to Reproduce

Version Information

InvenTree Version 0.17.7
API Version 294
Python Version 3.9.5
Django Version 4.2.17

Database sqlite3

Please verify if you can reproduce this bug on the demo site.

  • I can reproduce this bug on the demo site.

Relevant log output

Activity

  1. added
    bug
    question
    triage:not-checked
    on Mar 2, 2025
  2. changed the title [-]Exporting Internal Server Error at exactly 30[/-] [+]Exporting Internal Server Error at exactly 30 Seconds[/+] on Mar 2, 2025
  3. SchrodingersGat commented on Mar 2, 2025

    @SchrodingersGat
    Member

    @imager2019 while the updated exporter tool is more efficient, you may still run into server timeout issues when exporting a very large dataset.

    In #9096 I am working on transitioning the export process to the background worker - so that the data export runs in the background and informs the frontend client when complete. This will avoid any timeout issues for the web server

  4. added
    import / export
    and removed
    triage:not-checked
    on Mar 2, 2025
  5. SchrodingersGat commented on Mar 18, 2025

    @SchrodingersGat
    Member

    @imager2019 data export will now be performed via the background worker (from v1.0.0 onwards) - so these timeouts will no longer be an issue.

  6. added this to the 1.0.0 milestone on Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugimport / exportquestion

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions