View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010125 | Taler | exchange KYC SPA | public | 2025-06-23 16:56 | 2025-06-24 11:55 |
Reporter | Florian Dold | Assigned To | Christian Grothoff | ||
Priority | urgent | Severity | block | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 1.0 | ||||
Target Version | 1.0 stretch goals | Fixed in Version | 1.0 stretch goals | ||
Summary | 0010125: uploading KYC document sometimes fails with 400 (likely broken request compression) | ||||
Description | See summary. | ||||
Tags | No tags attached. | ||||
|
This is actually an exchange issue! Very hard to reproduce, since only some upload contents seem to cause this behavior. Notably, a form with a field that contains large random base32-crockford encoded data *doesn't* trigger this behavior. What does trigger it is a form upload with multiple JSON fields that each have some structure and a large-ish base64 string. Here's a reproducer: $ taler-harness run-integrationtests kyc-form-compression |
|
Leads to the following error log in the exchange: 2025-06-24T11:02:57.880899+0200 taler-exchange-httpd-3905977(6JYCXE9RF0HP289SFKK8RHPT68) INFO Handling request (POST) for URL '/kyc-upload/Q61H7346DZ8DA93886MGW3B1NPZGNAF3FZKKE5QDPF4SQ2TH8EWG-0-1' 2025-06-24T11:02:57.880926+0200 taler-exchange-httpd-3905977(6JYCXE9RF0HP289SFKK8RHPT68) WARNING External protocol violation detected at ../src/lib/mhd/mhd_upload.c:191. |
|
Note that the POST body is *not* malformed, taking it manually and piping it through "openssl zlib -d" produces the correct output. |
|
Fix committed to master branch. |
|
Actual fix is in libgnunetmhd. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-06-23 16:56 | Florian Dold | New Issue | |
2025-06-23 16:56 | Florian Dold | Assigned To | => Florian Dold |
2025-06-23 16:56 | Florian Dold | Status | new => assigned |
2025-06-24 10:56 | Florian Dold | Note Added: 0025338 | |
2025-06-24 10:56 | Florian Dold | Assigned To | Florian Dold => Christian Grothoff |
2025-06-24 11:03 | Florian Dold | Note Added: 0025339 | |
2025-06-24 11:04 | Florian Dold | Note Added: 0025340 | |
2025-06-24 11:52 | Christian Grothoff | Changeset attached | => gnunet master 1e6f8828 |
2025-06-24 11:52 | Christian Grothoff | Note Added: 0025343 | |
2025-06-24 11:52 | Christian Grothoff | Status | assigned => resolved |
2025-06-24 11:52 | Christian Grothoff | Resolution | open => fixed |
2025-06-24 11:55 | Christian Grothoff | Product Version | => 1.0 |
2025-06-24 11:55 | Christian Grothoff | Fixed in Version | => 1.0 stretch goals |
2025-06-24 11:55 | Christian Grothoff | Note Added: 0025344 |