Bug Description
The file invalidation server will show a 502 Bad gateway when a request is sent with a large number of files (~ >800). The invalidation request is correctly generated after a few minutes according to the container logs but this leaves the user clueless.
Reproduction Steps
- Send a large request (>1000 files) to https://file-invalidation.app.cern.ch/api/upload/ in dry_run_mode
- After a while loading the screen will show 502 Bad gateway error
Expected Behavior
Show a specific error message to the user if needed.
Possible Solution
Handle the post request in batches or use a loading page.
Related Issues
No response
Bug Description
The file invalidation server will show a 502 Bad gateway when a request is sent with a large number of files (~ >800). The invalidation request is correctly generated after a few minutes according to the container logs but this leaves the user clueless.
Reproduction Steps
Expected Behavior
Show a specific error message to the user if needed.
Possible Solution
Handle the post request in batches or use a loading page.
Related Issues
No response