View Issue Details

IDProjectCategoryView StatusLast Update
0010541Talermerchant backendpublic2025-10-30 21:40
ReporterFlorian Dold Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityrandom
Status assignedResolutionopen 
Target Version1.2 
Summary0010541: merchant response to /private/kyc flaky due to timing issues
DescriptionImmediately after having added a bank account to a merchant backend instance the

  GET /private/kyc

request sometimes returns a 204 No content response, even when we expect a 200 Ok response.

Whether we get 204 or 200 seems to depend on the timing, the merchant temporarily claims that no KYC is required, but maybe simply wasn't able to contact the exchange yet.
Steps To ReproduceUse taler-harness to run one of the tests below. Only happens sometimes / on some machines, depending on the timing.


    {
      "name": "tops-aml-custom-addr-postal",
      "timeSec": 1.763,
      "status": "fail"
    },
    {
      "name": "tops-aml-custom-addr-sms",
      "timeSec": 1.751,
      "status": "fail"
    },
    {
      "name": "tops-aml-kyx-natural",
      "timeSec": 1.759,
      "status": "fail"
    },
    {
      "name": "tops-aml-measures",
      "timeSec": 1.766,
      "status": "fail"
    },
    {
      "name": "tops-aml-legi",
      "timeSec": 1.753,
      "status": "fail"
    },
    {
      "name": "tops-challenger-twice",
      "timeSec": 1.762,
      "status": "fail"
    },
TagsNo tags attached.

Activities

Christian Grothoff

2025-10-30 21:40

manager   ~0026286

e4d78aa6..f1af21e4 fixes this in the backend, alas the tests still fail like this:
""
FATAL: test failed with exception AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected

+ 'exchange-unreachable'
- 'kyc-wire-required'
""

Note that "exchange-unreachable" is a perfectly good answer if we didn't have time to reach the exchange yet, and should obviously be acted on by waiting + trying again.

Issue History

Date Modified Username Field Change
2025-10-30 19:03 Florian Dold New Issue
2025-10-30 19:03 Florian Dold Status new => assigned
2025-10-30 19:03 Florian Dold Assigned To => Christian Grothoff
2025-10-30 21:40 Christian Grothoff Note Added: 0026286
2025-10-30 21:40 Christian Grothoff Assigned To Christian Grothoff => Florian Dold