View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010239 | Taler | taler-harness | public | 2025-08-05 17:15 | 2025-08-06 10:51 |
Reporter | oec | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.0 | ||||
Summary | 0010239: self-provisioning fails on {demo,test}.taler.net | ||||
Description | Trying to provision a merchant instance via https://demo.taler.net/provision/en/ returns an internal error. Same on test.taler.net | ||||
Steps To Reproduce | Go to https://demo.taler.net/provision/en/. Enter name for a new instance, click on 'Create!' | ||||
Additional Information | The 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 } <<<<< | ||||
Tags | No tags attached. | ||||
|
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. |
|
@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. |
|
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 |
|
I think I fixed it at ae3b46492..2b6e5a653 @oec can you check? |