View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010211 | Taler | exchange | public | 2025-07-25 22:24 | 2025-07-25 22:40 |
Reporter | Florian Dold | Assigned To | Christian Grothoff | ||
Priority | high | 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 | 0010211: exchange and merchant do not return SPA pages anymore | ||||
Description | Instead, they return an empty response when compression is requested/supported by the client, which is the default for most browsers these days. | ||||
Steps To Reproduce | root@5638bf1b5435:/# curl --unix-socket /run/taler-merchant/httpd/merchant-http.sock -i 'http://backend.test.taler.net/webui/' --compressed HTTP/1.1 200 OK Date: Fri, 25 Jul 2025 19:20:59 GMT Content-Encoding: zstd Content-Type: text/html Content-Length: 0 vs root@5638bf1b5435:/# curl --unix-socket /run/taler-merchant/httpd/merchant-http.sock -i 'http://backend.test.taler.net/webui/' HTTP/1.1 200 OK Date: Fri, 25 Jul 2025 19:21:32 GMT Content-Type: text/html Content-Length: 3343 | ||||
Tags | No tags attached. | ||||
|
Note that I am unable to reproduce this *locally* with the master branch of the respective components. But for the merchant running locally on my dev machine, even when I run "curl --compressed", the server never returns "Content-Encoding: zstd". |
|
Interesting difference: On my system, according to ldd, the -httpd binaries don't link to libzstd. => Very likely compression using zstd is broken. |
|
More likely: zstd was not installed when the Debian packages were deployed, and then the compression on package installation failed. We never link against libzstd, that's normal! |
|
Fix committed to master branch. |
|
See 17452a87..3a4656cd |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-07-25 22:24 | Florian Dold | New Issue | |
2025-07-25 22:24 | Florian Dold | Status | new => assigned |
2025-07-25 22:24 | Florian Dold | Assigned To | => Christian Grothoff |
2025-07-25 22:29 | Florian Dold | Note Added: 0025569 | |
2025-07-25 22:31 | Florian Dold | Note Added: 0025570 | |
2025-07-25 22:36 | Christian Grothoff | Note Added: 0025571 | |
2025-07-25 22:39 | Christian Grothoff | Changeset attached | => merchant master 3a4656cd |
2025-07-25 22:39 | Christian Grothoff | Note Added: 0025572 | |
2025-07-25 22:39 | Christian Grothoff | Status | assigned => resolved |
2025-07-25 22:39 | Christian Grothoff | Resolution | open => fixed |
2025-07-25 22:40 | Christian Grothoff | Note Added: 0025573 | |
2025-07-25 22:40 | Christian Grothoff | Product Version | => 1.0 |
2025-07-25 22:40 | Christian Grothoff | Fixed in Version | => 1.0 stretch goals |