View Issue Details

IDProjectCategoryView StatusLast Update
0009758Talerwallet (WebExtension)public2025-04-19 19:18
ReporterChristian Grothoff Assigned Tosebasjm  
PrioritynormalSeverityblockReproducibilityN/A
Status assignedResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Versionpost-1.0 
Summary0009758: tried to add TOPS exchange to WebExtension and failed
DescriptionWell, technically the TOPS exchange was already in the list (with a balance of 0) and I just tried to 'withdraw'.
I get the following error with subject 'Wallet operation "addExchange" failed':
{
  "context": [],
  "cause": {
    "details": {
      "code": 7032,
      "when": {
        "t_ms": 1744980630020
      },
      "hint": "Error (WALLET_EXCHANGE_UNAVAILABLE)",
      "exchangeBaseUrl": "https://exchange.taler-ops.ch/"
    }
  }
}

Note that the TOPS exchange was running normally at the time.
Tagsux

Activities

Florian Dold

2025-04-19 17:57

manager   ~0024614

From your wallet DB, the exchange entry is in the following (bad!) state:

      "exchangeUpdateStatus": "unavailable-update",
      "exchangeEntryStatus": "used",
      "unavailableReason": {
        "code": 7038,
        "hint": "Error (WALLET_EXCHANGE_ENTRY_UPDATE_CONFLICT)",
        "detail": "master public key changed"
      }

To fix this, you'd need to purge the exchange. Or wallet-core needs to learn to deal with this more nicely, which is on the roadmap, but post-1.0.

I've improved error reporting to also include the above error details in the addExchange error and not just in the exchange entry.

Christian Grothoff

2025-04-19 19:16

manager   ~0024618

Purge worked, now I got another fun one for you. Look at the error message...
 (and yes, should be withdraw-exchange, then it works, but still...)
taler.png (44,374 bytes)   
taler.png (44,374 bytes)   

Christian Grothoff

2025-04-19 19:18

manager   ~0024619

I suggest that *if* the URL starts with taler:// but you do not recognize the action, write 'unsupported Taler-action "$ACTION"'
where $ACTION is the text between 'taler://' and the next '/'.

Issue History

Date Modified Username Field Change
2025-04-18 14:52 Christian Grothoff New Issue
2025-04-18 14:52 Christian Grothoff Status new => assigned
2025-04-18 14:52 Christian Grothoff Assigned To => Florian Dold
2025-04-18 14:53 Christian Grothoff Assigned To Florian Dold => sebasjm
2025-04-19 17:57 Florian Dold Note Added: 0024614
2025-04-19 17:58 Florian Dold Assigned To sebasjm => Christian Grothoff
2025-04-19 17:58 Florian Dold Status assigned => feedback
2025-04-19 19:16 Christian Grothoff Note Added: 0024618
2025-04-19 19:16 Christian Grothoff File Added: taler.png
2025-04-19 19:16 Christian Grothoff Assigned To Christian Grothoff => sebasjm
2025-04-19 19:18 Christian Grothoff Note Added: 0024619
2025-04-19 19:18 Christian Grothoff Status feedback => assigned
2025-04-19 19:18 Christian Grothoff Target Version 1.0 => post-1.0
2025-04-19 19:18 Christian Grothoff Tag Attached: ux