View Issue Details

IDProjectCategoryView StatusLast Update
0009243Talerwallet-corepublic2025-12-12 10:15
ReporterMarcS Assigned ToMarcS  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.0 
Target Versionpost-1.0Fixed in Version1.2 
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.

Relationships

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

Activities

Florian Dold

2025-01-14 23: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 12: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 16:38

manager   ~0024990

Test is down :-(.

MarcS

2025-12-12 10: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 Modified Username Field Change
2024-10-02 16:25 MarcS New Issue
2024-10-02 16:25 MarcS Status new => assigned
2024-10-02 16:25 MarcS Assigned To => Florian Dold
2024-10-02 17:05 Florian Dold Target Version => 1.0
2025-01-14 23:41 Florian Dold Note Added: 0023984
2025-01-14 23:41 Florian Dold Status assigned => feedback
2025-01-14 23:42 Florian Dold Assigned To Florian Dold => MarcS
2025-03-20 12:07 Florian Dold Note Added: 0024253
2025-04-18 15:22 Christian Grothoff Target Version 1.0 => 1.0 stretch goals
2025-05-25 16:38 Christian Grothoff Note Added: 0024990
2025-05-25 16:38 Christian Grothoff Assigned To MarcS => Florian Dold
2025-05-25 16:39 Christian Grothoff Status feedback => assigned
2025-06-05 03:03 Florian Dold Assigned To Florian Dold => MarcS
2025-07-12 18:02 Christian Grothoff Product Version => 1.0
2025-07-12 18:02 Christian Grothoff Target Version 1.0 stretch goals => post-1.0
2025-12-07 10:53 Christian Grothoff Status assigned => confirmed
2025-12-12 10:09 MarcS Relationship added related to 0010167
2025-12-12 10:15 MarcS Status confirmed => resolved
2025-12-12 10:15 MarcS Resolution open => fixed
2025-12-12 10:15 MarcS Fixed in Version => 1.2
2025-12-12 10:15 MarcS Note Added: 0026932