View Issue Details

IDProjectCategoryView StatusLast Update
0010503Talerwallet-corepublic2026-09-11 19:23
Reporteravalos Assigned Toavalos  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version1.8 
Summary0010503: getDonationStatements should not require network [discussion]
DescriptionI just found out that getDonationStatements does network calls to fetch information from the Donau. Since I'm using the request to render the statements in the main balances (assets) list, it is important that the request returns a list immediately. However, right now that Donau is down, it returns this error:

2025-10-17T11:20:09.039Z wallet.ts INFO finished wallet core request getDonauStatements with error: {
  "code": 7002,
  "when": {
    "t_ms": 1760700009038
  },
  "hint": "Error response did not even contain JSON. The request URL might be wrong or the service might be unavailable.",
  "requestUrl": "https://donau.test.taler.net/config",
  "requestMethod": "GET",
  "httpStatusCode": 504,
  "response": "<html>\r\n<head><title>504 Gateway Time-out</title></head>\r\n<body>\r\n<center><h1>504 Gateway Time-out</h1></center>\r\n<hr><center>nginx/1.26.3</center>\r\n</body>\r\n</html>\r\n",
  "contentType": "text/html"
}
TagsNo tags attached.

Activities

Florian Dold

2025-10-17 16:53

manager   ~0026191

It's not so easy: What if we have receipts that were not submitted yet?

If we have network, it might make sense to try to submit them. Without network (or if the attempt to submit times out), we could serve the old statements, but possibly with a flag to indicate that they're outdated.

But do we even need to ever show the statements when the DONAU is not reachable in the first place?

Florian Dold

2026-09-11 19:23

manager   ~0029961

I think we can resolve this as fixed, since the Android wallet balances screen is not affected anymore by a getDonationStatements taking longer to talk to the network. And getDonationStatements has a progress token now.

Issue History

Date Modified Username Field Change
2025-10-17 13:42 avalos New Issue
2025-10-17 13:42 avalos Status new => assigned
2025-10-17 13:42 avalos Assigned To => Florian Dold
2025-10-17 16:53 Florian Dold Note Added: 0026191
2025-10-17 16:54 Florian Dold Assigned To Florian Dold =>
2025-10-17 16:54 Florian Dold Status assigned => feedback
2025-10-17 16:54 Florian Dold Summary getDonationStatements should not require network => getDonationStatements should not require network [discussion]
2026-07-28 22:30 Florian Dold Target Version => 1.8
2026-09-11 19:23 Florian Dold Assigned To => avalos
2026-09-11 19:23 Florian Dold Status feedback => resolved
2026-09-11 19:23 Florian Dold Resolution open => fixed
2026-09-11 19:23 Florian Dold Note Added: 0029961