View Issue Details

IDProjectCategoryView StatusLast Update
0010239Talertaler-harnesspublic2025-08-06 10:51
Reporteroec Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.0 
Summary0010239: self-provisioning fails on {demo,test}.taler.net
DescriptionTrying to provision a merchant instance via https://demo.taler.net/provision/en/ returns an internal error. Same on test.taler.net
Steps To ReproduceGo to https://demo.taler.net/provision/en/.
Enter name for a new instance, click on 'Create!'
Additional InformationThe logs inside the taler-sandcastle.ng container on test.taler.net say:

ERROR:talermerchantdemos.provision.provision:taler-harness returned 1,
stdout:>>>><<<<
stderr:>>>>2025-08-05T09:02:18.479Z codec.ts WARN Extra property common_amounts for CurrencySpecification at (TalerMerchantApi.VersionResponse).currencies.[TESTKUDOS]
2025-08-05T09:02:18.479Z codec.ts WARN Extra property common_amounts for CurrencySpecification at (TalerMerchantApi.VersionResponse).currencies.[CHF]
2025-08-05T09:02:18.616Z taler-harness:index.ts INFO account merchant-95e5bbf3 successfully provisioned
2025-08-05T09:02:18.681Z taler-harness:index.ts INFO instance merchant-95e5bbf3 created successfully
An error occurred while running provision-bank-and-merchant
_TalerError: Error (code undefined)
    at _TalerError.fromUncheckedDetail (/usr/lib/taler-harness/node_modules/taler-harness/dist/taler-harness-bundled.cjs:8927:12)
    at succeedOrThrow (/usr/lib/taler-harness/node_modules/taler-harness/dist/taler-harness-bundled.cjs:14096:22)
    at CommandGroup.myAction (/usr/lib/taler-harness/node_modules/taler-harness/dist/taler-harness-bundled.cjs:106065:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errorDetail: {
    type: 'fail',
    case: 401,
    detail: {
      code: 2015,
      hint: 'The merchant refused the request due to lack of authorization.',
      detail: "Check 'Authorization' header"
    }
  },
  cause: undefined
}
<<<<<
TagsNo tags attached.

Activities

MarcS

2025-08-05 18:55

developer   ~0025627

Please test on HEAD first (may break anytime), then on TEST, and only if you're convinced it won't break stuff others depend on deploy on DEMO.

oec

2025-08-05 18:59

developer   ~0025628

@MarcS, the issue seems to be that _this_ feature of taler-harness (provision-bank-and-merchant) is not part of any test in first place. It used to be more of a convenience feature for devs to be used locally. With the self-provisioning demo, we now need test this feature, too.

sebasjm

2025-08-06 08:58

developer   ~0025630

The error you are getting in the taler-harness is due to a change in the merchant backend. The support for EXTERNAL auth has been dropped and __ALL__ integration tests are failing. I'm working on that now.

I'm adding this here so you don't confuse that error log with the actual problem with the self-provisioning

sebasjm

2025-08-06 10:51

developer   ~0025633

I think I fixed it at

ae3b46492..2b6e5a653

@oec can you check?

Issue History

Date Modified Username Field Change
2025-08-05 17:15 oec New Issue
2025-08-05 17:17 oec Description Updated
2025-08-05 18:55 MarcS Note Added: 0025627
2025-08-05 18:59 oec Note Added: 0025628
2025-08-06 08:58 sebasjm Note Added: 0025630
2025-08-06 10:51 sebasjm Note Added: 0025633