You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exporting Internal Server Error at exactly 30 Seconds #9218
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.
@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
Activity
[-]Exporting Internal Server Error at exactly 30[/-][+]Exporting Internal Server Error at exactly 30 Seconds[/+]SchrodingersGat commentedon Mar 2, 2025
@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
SchrodingersGat commentedon Mar 18, 2025
@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.