View Issue Details

IDProjectCategoryView StatusLast Update
0010943Talermerchant backendpublic2026-01-29 20:20
Reportersebasjm Assigned ToChristian Grothoff  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Summary0010943: backend doesnt return on long polling
Descriptiondoing a request to order details, when the order was claim I expected to server to return so the pages refreshes the state of the order on time but it kept waiting until timeout

the full request, this request took 15 seconds (you can see in the screenshot) and the response has a new ETAG
everything is fine it just don't wait until timeout

also the response headers should be unquoted

curl 'https://merchant.taler/private/orders/2026.029-00R7S58Q32ZCM?lp_not_etag=523Z63B4F5H51T7B8V76TNTJCW9QG1PSFTDD7FYTD5ANVDRDFE00&timeout_ms=15000' \
  -H 'Accept: application/json' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Authorization: Bearer secret-token:3P84KXCT934Y89SGTZQPQDYHKWC74QNNJ5DZQ1M0TV22AGBNJJRG' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'If-none-match: 523Z63B4F5H51T7B8V76TNTJCW9QG1PSFTDD7FYTD5ANVDRDFE00' \
  -H 'Origin: http://localhost:8080' \
  -H 'Pragma: no-cache' \
  -H 'Referer: http://localhost:8080/' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: cross-site' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
  -H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "Linux"'

GET /private/orders/2026.029-00R7S58Q32ZCM?lp_not_etag=523Z63B4F5H51T7B8V76TNTJCW9QG1PSFTDD7FYTD5ANVDRDFE00&timeout_ms=15000 HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-US,en;q=0.9
Authorization: Bearer secret-token:3P84KXCT934Y89SGTZQPQDYHKWC74QNNJ5DZQ1M0TV22AGBNJJRG
Cache-Control: no-cache
Connection: keep-alive
Host: merchant.taler
If-none-match: 523Z63B4F5H51T7B8V76TNTJCW9QG1PSFTDD7FYTD5ANVDRDFE00
Origin: http://localhost:8080
Pragma: no-cache
Referer: http://localhost:8080/
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Linux"


HTTP/1.1 200 OK
date: Thu, 29 Jan 2026 19:13:30 GMT
access-control-allow-origin: *
access-control-expose-headers: *
cache-control: no-store
content-type: application/json
etag: "72ZX21EG1C2ED2QGJ1EQWHQVP9GP62C6PTR89A620VMG278FK4H0"
content-length: 1256
Connection: keep-alive
Keep-Alive: timeout=5
{
  "order_status_url": "https://merchant.taler/orders/2026.029-00R7S58Q32ZCM?token=G1M0HYRQA1NN9Y7CX6FC5YJRKW",
  "contract_terms": {
    "nonce": "71F9T90X9KSJFMVDW73VSH8W8XCPB54ZHCMTB7W87M0C37JVHXTG",
    "amount": "KUDOS:2",
    "h_wire": "02803C5JA1V8VCAHQMH8ZQ9ZJKW31E1FQMQTWY8FDP7WH046SCYC16H47QRNXM77PBCD138VGNMSQW1HT4EMTM7XWZFKSADWV57K380",
    "max_fee": "KUDOS:0",
    "summary": "e",
    "version": 0,
    "merchant": {
      "name": "admin",
      "address": {},
      "jurisdiction": {}
    },
    "order_id": "2026.029-00R7S58Q32ZCM",
    "products": [],
    "exchanges": [
      {
        "url": "https://exchange.taler/",
        "priority": 1024,
        "master_pub": "N3FQ37R864780XGNMQR0Q5738AXRR1PYSJ44CNKQ2HPV0SE5X95G",
        "max_contribution": "KUDOS:2"
      }
    ],
    "timestamp": {
      "t_s": 1769712902
    },
    "minimum_age": 0,
    "wire_method": "iban",
    "merchant_pub": "EW1KWE4R1VH4Y78HTEX6C2FRHF0DJ2ZSXP8HRJFCAV01B8WYF5TG",
    "pay_deadline": {
      "t_s": 1769712961
    },
    "refund_deadline": {
      "t_s": 1769713081
    },
    "default_money_pot": 0,
    "merchant_base_url": "https://merchant.taler/",
    "wire_transfer_deadline": {
      "t_s": 1769713141
    }
  },
  "order_status": "claimed"
}
TagsNo tags attached.
Attached Files
image.png (94,225 bytes)   
image.png (94,225 bytes)   
image-2.png (46,310 bytes)   
image-2.png (46,310 bytes)   

Activities

Issue History

Date Modified Username Field Change
2026-01-29 20:20 sebasjm New Issue
2026-01-29 20:20 sebasjm Status new => assigned
2026-01-29 20:20 sebasjm Assigned To => Christian Grothoff
2026-01-29 20:20 sebasjm File Added: image.png
2026-01-29 20:20 sebasjm File Added: image-2.png