View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010239 | Taler | taler-harness | public | 2025-08-05 15:15 | 2025-10-31 19:49 |
| Reporter | oec | Assigned To | oec | Resolution deadline | |
| Implementer | Reviewer | ||||
| Release signed by | Deployed by | ||||
| Verifier | Communicator | ||||
| Data protection authority notification required | No | ||||
| CSIRT notification required | No | ||||
| Estimated effort (hours) | Actual effort (hours) | 0 | |||
| Fast-track | No | ||||
| Work package | none | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.0 | ||||
| Target Version | 1.1 | Fixed in Version | 1.1 | ||
| 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? | |
| Yes, deployed and tested on test.taler.net. Self-provisioning works again. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-08-05 15:15 | oec | New Issue | |
| 2025-08-05 15:17 | oec | Description Updated | |
| 2025-08-05 16:55 | MarcS | Note Added: 0025627 | |
| 2025-08-05 16:59 | oec | Note Added: 0025628 | |
| 2025-08-06 06:58 | sebasjm | Note Added: 0025630 | |
| 2025-08-06 08:51 | sebasjm | Note Added: 0025633 | |
| 2025-08-10 16:58 | oec | Assigned To | => oec |
| 2025-08-10 16:58 | oec | Status | new => informing |
| 2025-08-10 16:58 | oec | Resolution | open => fixed |
| 2025-08-10 16:58 | oec | Note Added: 0025639 | |
| 2025-10-18 22:51 | Christian Grothoff | Fixed in Version | => 1.1 |
| 2025-10-18 22:51 | Christian Grothoff | Target Version | => 1.1 |
| 2025-10-31 19:49 | Christian Grothoff | Status | informing => closed |