View Issue Details

IDProjectCategoryView StatusLast Update
0007273Talerexchangepublic2026-01-26 05:27
ReporterChristian Grothoff Assigned ToResolution 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
PrioritynormalSeverityfeatureReproducibilityN/A
Status implementingResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Versionpost-2.0 
Summary0007273: taler-bank-benchmark should be able to launch libeufin [4h]
DescriptionRight now, taler-bank-benchmark only works with the C fakebank. But we will (eventually) want to benchmark libeufin. So taler-bank-benchmark should be modified to support launching libeufin (sandbox+nexus). FIXME exists in the code.
Tagsdebt

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2023-12-25 03:02

manager   ~0020806

I've now done some work on the exchange code to get this to pass. But, I am stuck with a 409 for /admin/add-incoming from libeufin at the start of the benchmark. I'm running it as follows:
$ cd src/benchmark/ # exchange.git
$ taler-unified-setup.sh -u exchange-account-2 -c bank-benchmark-cs.conf -be

Then in another shell:
./taler-bank-benchmark -c bank-benchmark-cs.conf -u exchange-account-2

The result (see logs) is:
10:55:58.326 [eventLoopGroupProxy-4-1] DEBUG tech.libeufin.bank.Main - 409 Conflict, POST /accounts/exchange/taler-wire-gateway/admin/add-incoming, BANK_UNALLOWED_DEBIT Insufficient balance for debitor

I've checked, and the max debit for admin is like 100000, so I do not understand why this is happening!

Christian Grothoff

2023-12-25 03:03

manager   ~0020807

Please JUST investigate the 409, and then re-assign to me!

Antoine A

2024-06-26 10:44

manager   ~0022722

I fixed the config in the dev/antoine/libeufin-bank-bench branch and got around 780 TPS

Christian Grothoff

2024-06-27 20:48

manager   ~0022747

780 TPS is not bad for a start. :-)

Christian Grothoff

2024-11-14 00:19

manager   ~0023713

We can now run the benchmark, triggers serialization errors in libeufin on modest load. Not totally unexpected, but probably something we should work on. Post-1.0 though is fine.

Christian Grothoff

2025-08-09 13:36

manager   ~0025637

I currently get failures trying to use taler-unified-setup with libeufin-bank. The exchange is not properly provisioned with the credentials to access its own account:

09-Aug-2025T15:33:26.171 O160G1JEWZ INFO libeufin-bank-api - GET /accounts/2/taler-wire-gateway/history/incoming?limit=1024&long_poll_ms=60000
09-Aug-2025T15:33:26.174 O160G1JEWZ DEBUG libeufin-bank-api - ApiException: Authorization header not found
        at tech.libeufin.common.ApiErrorKt.apiError(ApiError.kt:100)
        at tech.libeufin.common.ApiErrorKt.apiError$default(ApiError.kt:95)
        at tech.libeufin.common.ApiErrorKt.unauthorized(ApiError.kt:116)
        at tech.libeufin.bank.auth.AuthKt.missingAuth(auth.kt:145)
        at tech.libeufin.bank.auth.AuthKt.authenticateBankRequest(auth.kt:171)
        at tech.libeufin.bank.auth.AuthKt.access$authenticateBankRequest(auth.kt:1)
        at tech.libeufin.bank.auth.AuthKt$auth$1.invokeSuspend(auth.kt:111)
        at tech.libeufin.bank.auth.AuthKt$auth$1.invoke(auth.kt)
        at tech.libeufin.bank.auth.AuthKt$auth$1.invoke(auth.kt)
        at tech.libeufin.common.api.RouteKt$intercept$plugin$1$1.invokeSuspend(route.kt:28)
09-Aug-2025T15:33:26.177 O160G1JEWZ INFO libeufin-bank-api - 401 6ms: GENERIC_PARAMETER_MISSING Authorization header not found
09-Aug-2025T15:33:27.044 VW8WXEKCVR INFO libeufin-bank-api - 200 30007ms
09-Aug-2025T15:33:28.883 CB4R3WD949 INFO libeufin-bank-api - GET /taler-integration/withdrawal-operation/19911a08-0bbc-4fb9-b4fb-3f44f6d36720?old_state=pending&timeout_ms=30000
09-Aug-2025T15:33:47.064 1WQUAHLB5P INFO libeufin-bank-api - 200 30008ms
09-Aug-2025T15:33:50.497 8QU7V6MQPI INFO libeufin-bank-api - GET /taler-integration/withdrawal-operation/19911a08-0bbc-4fb9-b4fb-3f44f6d36720?old_state=pending&timeout_ms=30000

Issue History

Date ModifiedUsernameFieldChange
2022-07-05 11:05Christian GrothoffNew Issue
2022-07-05 11:05Christian GrothoffStatusnew => assigned
2022-07-05 11:05Christian GrothoffAssigned To => Christian Grothoff
2022-07-05 11:06Christian GrothoffAssigned ToChristian Grothoff => MS
2022-08-25 19:34Christian GrothoffPrioritynormal => low
2022-08-25 19:34Christian GrothoffSeveritytrivial => feature
2022-12-20 18:39Christian GrothoffTarget Version => 0.11
2023-09-03 16:10Christian GrothoffAssigned ToMS => Antoine A
2023-12-24 05:50Christian GrothoffAssigned ToAntoine A => Christian Grothoff
2023-12-25 03:02Christian GrothoffNote Added: 0020806
2023-12-25 03:02Christian GrothoffAssigned ToChristian Grothoff => Antoine A
2023-12-25 03:03Christian GrothoffPrioritylow => high
2023-12-25 03:03Christian GrothoffNote Added: 0020807
2024-02-09 23:34Christian GrothoffRelationship addedchild of 0008156
2024-04-05 12:59Christian GrothoffTarget Version0.11 => 0.14
2024-05-21 17:11Christian GrothoffRelationship deletedchild of 0008156
2024-06-26 10:43Antoine AAssigned ToAntoine A => Christian Grothoff
2024-06-26 10:44Antoine ANote Added: 0022722
2024-06-27 20:48Christian GrothoffNote Added: 0022747
2024-07-25 22:19Christian GrothoffSummarytaler-bank-benchmark should be able to launch libeufin => taler-bank-benchmark should be able to launch libeufin [4h]
2024-08-04 15:15Christian GrothoffTarget Version0.14 => 1.0 stretch goals
2024-09-13 22:57Christian GrothoffPriorityhigh => normal
2024-09-16 21:50Christian GrothoffTarget Version1.0 stretch goals => 1.1
2024-11-14 00:19Christian GrothoffNote Added: 0023713
2024-11-14 00:19Christian GrothoffAssigned ToChristian Grothoff => Antoine A
2025-04-17 20:39Christian GrothoffTarget Version1.1 => post-1.0
2025-04-23 22:51Christian GrothoffAssigned ToAntoine A =>
2025-04-23 22:51Christian GrothoffStatusassigned => implementing
2025-06-08 18:25Christian GrothoffTag Attached: debt
2025-08-09 13:36Christian GrothoffNote Added: 0025637
2025-08-09 13:36Christian GrothoffTarget Versionpost-1.0 => 1.5
2025-08-31 17:22Christian GrothoffTarget Version1.5 => post-1.0
2026-01-26 05:27Christian GrothoffTarget Versionpost-1.0 => post-2.0