Skip to content

Conversation

@xrhstoskap
Copy link

Description

Fix large file upload failures caused by mismatched backend limits.

This PR fixes an issue where file uploads larger than 50MB would silently fail.
Although nginx was configured to allow uploads up to 100MB, Django backend settings
(DATA_UPLOAD_MAX_MEMORY_SIZE and FILE_UPLOAD_MAX_MEMORY_SIZE) were limited to 50MB,
causing requests to be rejected before processing.

Fixes #3156


What changed

  • Increased DATA_UPLOAD_MAX_MEMORY_SIZE
  • Increased FILE_UPLOAD_MAX_MEMORY_SIZE
  • Aligned Django backend upload limits with the nginx configuration (100MB)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have read and understood the rules about how to Contribute to this project
  • The pull request is for the correct target branch (develop)
  • No new plugins (analyzers, connectors, visualizers, playbooks, pivots or ingestors) were added or modified
  • No new libraries were added as requirements
  • Linters (Black, Flake, Isort) pass without errors
  • Tests were not added or modified (configuration-only change)
  • The PR description includes a GitHub keyword to automatically close the related issue (Fixes #3156)

Notes

  • This change only affects backend upload limits.
  • No impact on existing APIs or plugin behavior.
  • Successfully tested by uploading and processing a ~75MB file.

@mlodic mlodic closed this Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problems with uploads of big files

2 participants