View Issue Details

IDProjectCategoryView StatusLast Update
0007538Talerwallet (WebExtension)public2023-02-21 16:39
Reporterdavidak Assigned ToFlorian Dold  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version0.9 
Target Version0.9.2Fixed in Version0.9.2 
Summary0007538: request to origin https://exchange.demo.taler.net was throttled
DescriptionThe exchange throttled my transaction, so i get errors in the wallet.

This happens with large amounts like 5000 KUDOS and more.

The transfer continues and finishes successful.

Error:

There was an error trying to complete the transaction


withdrawal did not finish (797 / 1000 coins withdrawn)
{
  "code": 7015,
  "hint": "withdrawal did not finish (797 / 1000 coins withdrawn)",
  "errorsPerCoin": {
    "107": {
      "code": 7004,
      "hint": "request to origin https://exchange.demo.taler.net was throttled",
      "requestMethod": "POST",
      "requestUrl": "https://exchange.demo.taler.net/reserves/AXGHSQHRN2FQDJ1N9RTRH93AZ42P8545CAPH0D276WAXSE6VGVBG/withdraw",
      "throttleStats": {
        "tokensHour": 1893.0020347222235,
        "tokensMinute": 393.1220833333333,
        "tokensSecond": 0.3250000000001246,
        "maxTokensHour": 2000,
        "maxTokensMinute": 500,
        "maxTokensSecond": 100
      }
    },
    "108": {
      "code": 7004,
      "hint": "request to origin https://exchange.demo.taler.net was throttled",
      "requestMethod": "POST",
      "requestUrl": "https://exchange.demo.taler.net/reserves/AXGHSQHRN2FQDJ1N9RTRH93AZ42P8545CAPH0D276WAXSE6VGVBG/withdraw",
      "throttleStats": {
        "tokensHour": 1893.002036666668,
        "tokensMinute": 393.12219999999996,
        "tokensSecond": 0.3320000000001246,
        "maxTokensHour": 2000,
        "maxTokensMinute": 500,
        "maxTokensSecond": 100
      }
    },
    "109": {
      "code": 7004,
      "hint": "request to origin https://exchange.demo.taler.net was throttled",
      "requestMethod": "POST",
      "requestUrl": "https://exchange.demo.taler.net/reserves/AXGHSQHRN2FQDJ1N9RTRH93AZ42P8545CAPH0D276WAXSE6VGVBG/withdraw",
      "throttleStats": {
        "tokensHour": 1893.002037777779,
        "tokensMinute": 393.12226666666663,
        "tokensSecond": 0.3360000000001246,
        "maxTokensHour": 2000,
        "maxTokensMinute": 500,
        "maxTokensSecond": 100
      }
    },
Additional Informationwithdrawal did not finish (797 / 1000 coins withdrawn)

You can show a progress bar with this data ;)


A solution would be to have less coins. That would be possible if coins have a greater value, like 1000 KUDOS.
TagsNo tags attached.

Activities

Florian Dold

2023-02-10 15:59

manager   ~0019797

That's expected and more of a bug than a feature!

The wallet is allowed to make at most 100 request per second, 500 per minute and 2000 per hour for a particular exchange.

With the new batched withdrawals (just implemented), the request throttling should not kick in as soon when doing bigger withdrawals. But it will still kick in for really big ones, and that's intended.

Issue History

Date Modified Username Field Change
2022-12-25 20:32 davidak New Issue
2022-12-25 20:32 davidak Status new => assigned
2022-12-25 20:32 davidak Assigned To => Florian Dold
2023-01-08 10:20 Christian Grothoff Target Version => 0.9.3
2023-02-10 15:59 Florian Dold Status assigned => resolved
2023-02-10 15:59 Florian Dold Resolution open => no change required
2023-02-10 15:59 Florian Dold Note Added: 0019797
2023-02-10 15:59 Florian Dold Target Version 0.9.3 => 0.9.2
2023-02-21 16:39 Christian Grothoff Fixed in Version => 0.9.2
2023-02-21 16:39 Christian Grothoff Status resolved => closed
2023-04-13 20:37 Florian Dold Category wallet (WebExtensions) => wallet (WebExtension)