View Issue Details

IDProjectCategoryView StatusLast Update
0010458Talermerchant backendpublic2025-09-26 14:26
ReporterFlorian Dold Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version1.0 
Target Version1.1Fixed in Version1.1 
Summary0010458: multiple donau instances lead to weird donation failure (HTTP 500 on /pay)
DescriptionWhen the merchant is configured with multiple instances, and each of the instances has their own donau charity_id, trying to pay for an order with donation receipts leads to a strange failure, where /pay returns HTTP status 500.
Steps To Reproduce$ taler-harness run-integrationtests donau-multi
Additional Information2025-09-25T17:46:06.498867+0200 taler-merchant-httpd-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) INFO Processing /pay in phase 6
2025-09-25T17:46:06.498911+0200 taler-merchant-httpd-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) DEBUG issue_receipts_with_URL `http://localhost:8084/batch-issue/1'.
2025-09-25T17:46:06.498953+0200 taler-merchant-httpd-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) INFO Uploading JSON of 646 bytes (compressed)
2025-09-25T17:46:06.498961+0200 util-scheduler-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) DEBUG canceling task 0x17836490
2025-09-25T17:46:06.498965+0200 util-scheduler-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) DEBUG destroying task 0x17836490
2025-09-25T17:46:06.498969+0200 taler-merchant-httpd-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) INFO Processing /pay suspended in phase 6
2025-09-25T17:46:06.498978+0200 util-scheduler-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) DEBUG Adding task 0x1785cc20
2025-09-25T17:46:06.498982+0200 util-scheduler-3313673 DEBUG destroying task 0x178765e0
2025-09-25T17:46:06.498986+0200 util-scheduler-3313673 DEBUG Running task 0x17875cb0
2025-09-25T17:46:06.498991+0200 util-scheduler-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) DEBUG Adding task 0x178777f0
2025-09-25T17:46:06.498995+0200 util-scheduler-3313673 DEBUG destroying task 0x17875cb0
2025-09-25T17:46:06.498999+0200 util-scheduler-3313673 DEBUG scheduler has more tasks ready!
2025-09-25T17:46:06.499005+0200 util-scheduler-3313673 DEBUG select timeout = Thu Sep 25 17:46:06 2025
2025-09-25T17:46:06.499015+0200 util-scheduler-3313673 DEBUG Running task 0x17852540
2025-09-25T17:46:06.499018+0200 taler-merchant-httpd-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) INFO PG poll job active
2025-09-25T17:46:06.499022+0200 taler-merchant-httpd-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) INFO PG poll job finishes after 0 events
2025-09-25T17:46:06.499027+0200 util-scheduler-3313673 DEBUG destroying task 0x17852540
2025-09-25T17:46:06.499031+0200 util-scheduler-3313673 DEBUG Running task 0x17836490
2025-09-25T17:46:06.499085+0200 util-scheduler-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) DEBUG Adding task 0x1784e960
2025-09-25T17:46:06.499091+0200 util-scheduler-3313673 DEBUG destroying task 0x17836490
2025-09-25T17:46:06.499098+0200 util-scheduler-3313673 DEBUG select timeout = Thu Sep 25 17:46:16 2025
2025-09-25T17:46:06.499516+0200 util-scheduler-3313673 DEBUG Running task 0x1784e960
2025-09-25T17:46:06.499562+0200 taler-merchant-httpd-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) WARNING Parsing failed for field `issued_amount:0`
2025-09-25T17:46:06.499574+0200 taler-merchant-httpd-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) WARNING External protocol violation detected at donau_api_batch_issue_receipts.c:114.
2025-09-25T17:46:06.499581+0200 taler-merchant-httpd-3313673(MQTASWHHMP5GSJC6C55AQPQ6GM) ERROR Donau batch issue request from merchant-httpd failed (http_status==0)
TagsNo tags attached.

Activities

Christian Grothoff

2025-09-26 14:25

manager   ~0026027

Fix committed to master branch.

Christian Grothoff

2025-09-26 14:26

manager   ~0026028

API spec was wrong, idempotency case in donau returned incomplete value. Fixed various issues here. Test now passes.

Related Changesets

merchant: master d4d9a210

2025-09-26 16:25

Christian Grothoff


Details Diff
fix 0010458 Affected Issues
0010458
mod - src/backend/taler-merchant-httpd_post-orders-ID-pay.c Diff File

Issue History

Date Modified Username Field Change
2025-09-25 17:51 Florian Dold New Issue
2025-09-25 17:51 Florian Dold Status new => assigned
2025-09-25 17:51 Florian Dold Assigned To => Christian Grothoff
2025-09-26 14:25 Christian Grothoff Changeset attached => merchant master d4d9a210
2025-09-26 14:25 Christian Grothoff Note Added: 0026027
2025-09-26 14:25 Christian Grothoff Status assigned => resolved
2025-09-26 14:25 Christian Grothoff Resolution open => fixed
2025-09-26 14:26 Christian Grothoff Product Version => 1.0
2025-09-26 14:26 Christian Grothoff Fixed in Version => 1.1
2025-09-26 14:26 Christian Grothoff Note Added: 0026028