View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009730 | Taler | exchange KYC SPA | public | 2025-04-15 14:21 | 2025-04-15 23:25 |
Reporter | Christian Grothoff | Assigned To | sebasjm | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
Product Version | git (master) | ||||
Target Version | 1.0 | Fixed in Version | 1.0 | ||
Summary | 0009730: gigantic uploads by KYC SPA | ||||
Description | I'm trying to fill in the VQF 902.1 form with a single PDF attached. The PDF has 3.4 MB. The SPA attempted an upload of 9539961 bytes, so 9.5 MB (!). Expectations: - 3.4 MB encode to about 5.5 MB - + a few kb of JSON overhead => < 6 MB upload. On top, the upload *should* clearly be gzip compressed, which would yield a size of 3.8 MB for the PDF, and a total of 4 MB. Instead, I get a > 9 MB uncompressed monster upload (which I can't see server-side as we had an 8 MB limit set for now). Anyway, please investigate & reduce these upload sizes! | ||||
Tags | No tags attached. | ||||
|
Tried again, this time with documents of 200k and 30k. Still got an upload size of **5MB**. WTF? |
|
I managed to upload a PDF of 7426848 (7.1M) which it was encoded to 9.9M and the reported `content-length` of the request by the browser is 9902847 With firefox and chrome. The form doesn't leave garbage when moving between fields and I don't know how to reproduce it, you may share the `curl` version of the request. From firefox -> network -> select the POST request -> copy -> copy as Curl > Tried again, this time with documents of 200k and 30k. Still got an upload size of **5MB**. WTF? Could it be that you had a list of "Establishers of the legal relationship" with big PDFs and you just change "Copy of identification document" ? I also needed to change the client_max_body_size to 10M in order not to get `413 Request Entity Too Large` Anyway, I will check why the request is not gzipped |
|
Maybe, I now noticed that there were actually 3 documents in the form, maybe I didn't see the ID document I uploaded for the controlling person and thus miscounted. Still, please use gzip! |
|
f13a71f35..badbf4f5f |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-04-15 14:21 | Christian Grothoff | New Issue | |
2025-04-15 14:21 | Christian Grothoff | Status | new => assigned |
2025-04-15 14:21 | Christian Grothoff | Assigned To | => sebasjm |
2025-04-15 14:25 | Christian Grothoff | Note Added: 0024553 | |
2025-04-15 16:07 | sebasjm | Note Added: 0024555 | |
2025-04-15 16:18 | Christian Grothoff | Note Added: 0024556 | |
2025-04-15 18:51 | sebasjm | Status | assigned => resolved |
2025-04-15 18:51 | sebasjm | Resolution | open => fixed |
2025-04-15 18:51 | sebasjm | Note Added: 0024563 | |
2025-04-15 23:25 | Christian Grothoff | Fixed in Version | => 1.0 |
2025-04-15 23:25 | Christian Grothoff | Target Version | 1.0 stretch goals => 1.0 |