View Issue Details

IDProjectCategoryView StatusLast Update
0010458Talermerchant backendpublic2025-10-31 19:49
ReporterFlorian Dold Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2025-09-26 12:25

manager   ~0026027

Fix committed to master branch.

Christian Grothoff

2025-09-26 12:26

manager   ~0026028

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

Issue History

Date ModifiedUsernameFieldChange
2025-09-25 15:51Florian DoldNew Issue
2025-09-25 15:51Florian DoldStatusnew => assigned
2025-09-25 15:51Florian DoldAssigned To => Christian Grothoff
2025-09-26 12:25Christian Grothoff
2025-09-26 12:25Christian GrothoffNote Added: 0026027
2025-09-26 12:25Christian GrothoffStatusassigned => informing
2025-09-26 12:25Christian GrothoffResolutionopen => fixed
2025-09-26 12:26Christian GrothoffProduct Version => 1.0
2025-09-26 12:26Christian GrothoffFixed in Version => 1.1
2025-09-26 12:26Christian GrothoffNote Added: 0026028
2025-10-31 19:49Christian GrothoffStatusinforming => closed