View Issue Details

IDProjectCategoryView StatusLast Update
0009243Talerwallet-corepublic2025-12-21 20:46
ReporterMarcS Assigned ToMarcS Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0 
Target Version1.3Fixed in Version1.3 
Summary0009243: When an Exchange is not reachable, wallet-core should return "not reachable" instead of some JSON error
DescriptionHEAD was down, I tried to get the ToS, but got this error:
WalletBackendResponseError(code: 7002, when: Optional(taler_swift.Timestamp.milliseconds(1727801238236)), hint: "Couldn\'t parse JSON format from error response", requestUrl: Optional("https://exchange.head.taler.net/terms"), httpStatusCode: Optional(502), errorResponse: nil, message: nil)

wallet-core should return that the Exchange couldn't be reached, but not some obscure JSON error.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0010167 closedMarcS iOS wallet doesn't show error states of exchange entries [2d] 

Activities

Florian Dold

2025-01-14 22:41

manager   ~0023984

The wallet now throws the right GANA code (WALLET_EXCHANGE_UNAVAILABLE = 7032) with {exchangeBaseUrl: string, innerError?: TalerErrorDetail} instead.

commit f119f4aae40623bb0c15f61f58a65a40ce233eab (HEAD -> master, origin/master, origin/HEAD)
Author: Florian Dold <florian@dold.me>
Date: Tue Jan 14 23:40:43 2025 +0100

    wallet-core: use proper GANA error code when ToS download fails

Florian Dold

2025-03-20 11:07

manager   ~0024253

Way to test this:

$ ssh taler-test@firefly.gnunet.org
$ sandcastle-ng/
# to stop sandcastle:
$ ./sandcastle-stop
# to start it again
$ ./sandcastle-run
# (Starting it takes a while)

Christian Grothoff

2025-05-25 14:38

manager   ~0024990

Test is down :-(.

MarcS

2025-12-12 09:15

developer   ~0026932

The wallet now shows "Network unavailable" at the top of the screen when the internet connection is down.
If the connection works but the Exchange returns errors, they are shown in Settings -> Payment Services.

Issue History

Date ModifiedUsernameFieldChange
2024-10-02 14:25MarcSNew Issue
2024-10-02 14:25MarcSStatusnew => assigned
2024-10-02 14:25MarcSAssigned To => Florian Dold
2024-10-02 15:05Florian DoldTarget Version => 1.0
2025-01-14 22:41Florian DoldNote Added: 0023984
2025-01-14 22:41Florian DoldStatusassigned => feedback
2025-01-14 22:42Florian DoldAssigned ToFlorian Dold => MarcS
2025-03-20 11:07Florian DoldNote Added: 0024253
2025-04-18 13:22Christian GrothoffTarget Version1.0 => 1.0 stretch goals
2025-05-25 14:38Christian GrothoffNote Added: 0024990
2025-05-25 14:38Christian GrothoffAssigned ToMarcS => Florian Dold
2025-05-25 14:39Christian GrothoffStatusfeedback => assigned
2025-06-05 01:03Florian DoldAssigned ToFlorian Dold => MarcS
2025-07-12 16:02Christian GrothoffProduct Version => 1.0
2025-07-12 16:02Christian GrothoffTarget Version1.0 stretch goals => post-1.0
2025-12-07 09:53Christian GrothoffStatusassigned => implementing
2025-12-12 09:09MarcSRelationship addedrelated to 0010167
2025-12-12 09:15MarcSStatusimplementing => informing
2025-12-12 09:15MarcSResolutionopen => fixed
2025-12-12 09:15MarcSFixed in Version => 1.2
2025-12-12 09:15MarcSNote Added: 0026932
2025-12-19 19:36Christian GrothoffFixed in Version1.2 => 1.3
2025-12-19 19:36Christian GrothoffTarget Versionpost-1.0 => 1.3
2025-12-21 20:46Christian GrothoffStatusinforming => closed