View Issue Details

IDProjectCategoryView StatusLast Update
0010211Talerexchangepublic2025-07-25 22:40
ReporterFlorian Dold Assigned ToChristian Grothoff  
PriorityhighSeverityblockReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version1.0 
Target Version1.0 stretch goalsFixed in Version1.0 stretch goals 
Summary0010211: exchange and merchant do not return SPA pages anymore
DescriptionInstead, they return an empty response when compression is requested/supported by the client, which is the default for most browsers these days.
Steps To Reproduceroot@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
TagsNo tags attached.

Activities

Florian Dold

2025-07-25 22:29

manager   ~0025569

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".

Florian Dold

2025-07-25 22:31

manager   ~0025570

Interesting difference: On my system, according to ldd, the -httpd binaries don't link to libzstd.

=> Very likely compression using zstd is broken.

Christian Grothoff

2025-07-25 22:36

manager   ~0025571

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!

Christian Grothoff

2025-07-25 22:39

manager   ~0025572

Fix committed to master branch.

Christian Grothoff

2025-07-25 22:40

manager   ~0025573

See 17452a87..3a4656cd

Related Changesets

merchant: master 3a4656cd

2025-07-26 00:39

Christian Grothoff


Details Diff
tolerate missing zstd on package install, should fix 0010211 Affected Issues
0010211
mod - debian/taler-merchant.postinst Diff File

Issue History

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