Project

General

Profile

Actions

Question #1560

closed

File upload limit affects multiple files instead single ones

Added by Nina Richards over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Backend
Target version:
-
Start date:
2021-08-12
Estimated time:

Description

It appears that an upload of multiple files is not possible anymore when the combined size of all files is bigger than 10 MB. An attempt to upload files combined with more than 10 MB results in a 413 error warning (Request Entity Too Large). An upload of single images smaller than 10 MB still works without any problems.
The bug was observed here: https://thanados.openatlas.eu/insert/file/175560

Actions #1

Updated by Alexander Watzinger over 3 years ago

  • Target version changed from 7.1.0 to 6.5.0
  • Category changed from UI to Backend
  • Status changed from New to Assigned
  • Assignee set to Bernhard Koschiček-Krombholz
Actions #2

Updated by Bernhard Koschiček-Krombholz over 3 years ago

  • Status changed from Assigned to In Progress
  • Found in version changed from 6.5.0 to 6.3.0

We tested it and can confirm this issue with multiple files.

After looking into it, we discovered that the issue doesn't lie in our code, but in the flask components. We also tested an early version, 6.3.0., which has also this issue.

At the moment, we are not sure how to proceed. A temporary workaround would be to increase the file upload limit, which you can, because you are a manager. Just don't forget to set it back afterwards.

There is a related open issue on github: https://github.com/pallets/werkzeug/issues/1513

Actions #3

Updated by Alexander Watzinger about 3 years ago

  • Subject changed from 10 MB limit on muti file upload to File upload limit affects multiple files instead single ones
Actions #4

Updated by Bernhard Koschiček-Krombholz about 3 years ago

  • Tracker changed from Bug to Question
  • Status changed from In Progress to Closed
  • Target version deleted (6.5.0)
  • Found in version deleted (6.3.0)

Since this is an implementation detail from Flask/Werkzeug, we cannot change it. Thank you for reporting, we updated the manual with a clarification. Sorry for the inconvenience, a short time solution is, to ask a manager to rise the file upload limit temporarily.

Actions

Also available in: Atom PDF