View Issue Details

IDProjectCategoryView StatusLast Update
0009216Talermechant backendpublic2024-10-07 16:35
Reportersebasjm Assigned Tosebasjm  
PrioritynormalSeveritymajorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version0.14 
Target Version0.14Fixed in Version0.14 
Summary0009216: merchant can't get KYC info from exchange
Descriptionthis is the config

[kyc-rule-tier1_aggregate]
OPERATION_TYPE = AGGREGATE
NEXT_MEASURES = onlyTalers
IS_AND_COMBINATOR = NO
EXPOSED = YES
THRESHOLD = YEIN:10
TIMEFRAME = forever
ENABLED = YES

i don't see any error in the exchange logs (strange since it's reporting 504)


merchant log


INFO HTTP request for `http://exchange.taler.test:1180/kyc-check/4E6PV6876R5DB7WYHTMMF7BGKM6YRYDDVRF6XZKN6H3EMSC080GG?timeout_ms=180>
INFO Checking KYC status of `payto://iban/DE1327812254798?receiver-name=the%20name%20of%20the%20merchant' at `http://exchange.taler.>
WARNING Request to `http://exchange.taler.test:1180/kyc-check/4E6PV6876R5DB7WYHTMMF7BGKM6YRYDDVRF6XZKN6H3EMSC080GG?timeout_ms=180000>
WARNING External protocol violation detected at exchange_api_kyc_check.c:241.
ERROR Unexpected response code 504/10 for exchange kyc_check
INFO Checking KYC status of `payto://iban/DE1327812254798?receiver-name=the%20name%20of%20the%20merchant' at `http://exchange.taler.>
WARNING Exchange responded with HTTP status 504 (10) to /kyc-check request!
INFO Will repeat inquiry in 24 ms
INFO HTTP request for `http://exchange.taler.test:1180/kyc-check/4E6PV6876R5DB7WYHTMMF7BGKM6YRYDDVRF6XZKN6H3EMSC080GG?timeout_ms=180>
INFO Checking KYC status of `payto://iban/DE1327812254798?receiver-name=the%20name%20of%20the%20merchant' at `http://exchange.taler.>
WARNING Request to `http://exchange.taler.test:1180/kyc-check/4E6PV6876R5DB7WYHTMMF7BGKM6YRYDDVRF6XZKN6H3EMSC080GG?timeout_ms=180000>
WARNING External protocol violation detected at exchange_api_kyc_check.c:241.
ERROR Unexpected response code 504/10 for exchange kyc_check
INFO Checking KYC status of `payto://iban/DE1327812254798?receiver-name=the%20name%20of%20the%20merchant' at `http://exchange.taler.>
WARNING Exchange responded with HTTP status 504 (10) to /kyc-check request!
INFO Will repeat inquiry in 62 ms
INFO HTTP request for `http://exchange.taler.test:1180/kyc-check/4E6PV6876R5DB7WYHTMMF7BGKM6YRYDDVRF6XZKN6H3EMSC080GG?timeout_ms=180>
INFO Checking KYC status of `payto://iban/DE1327812254798?receiver-name=the%20name%20of%20the%20merchant' at `http://exchange.taler.>
WARNING Request to `http://exchange.taler.test:1180/kyc-check/4E6PV6876R5DB7WYHTMMF7BGKM6YRYDDVRF6XZKN6H3EMSC080GG?timeout_ms=180000>
WARNING External protocol violation detected at exchange_api_kyc_check.c:241.
ERROR Unexpected response code 504/10 for exchange kyc_check
INFO Checking KYC status of `payto://iban/DE1327812254798?receiver-name=the%20name%20of%20the%20merchant' at `http://exchange.taler.>
WARNING Exchange responded with HTTP status 504 (10) to /kyc-check request!



$ curl 'http://merchant.taler.test:1180/private/kyc'
{
  "kyc_data": [
    {
      "payto_uri": "payto://iban/DE1327812254798?receiver-name=the%20name%20of%20the%20merchant",
      "exchange_url": "http://exchange.taler.test:1180/",
      "no_keys": false,
      "auth_conflict": false,
      "exchange_http_status": 504,
      "exchange_code": 10,
      "limits": [],
      "payto_kycauths": [
        "payto://iban/DE9714548806481?receiver-name=Exchanger+Normal&subject=TTXXJ0NV304YG03PF8QPHC2HMF68JD3F0N2W2T9TGH0ENBW0ZE6G"
      ]
    }
  ]
}

TagsNo tags attached.

Activities

sebasjm

2024-09-24 15:09

developer   ~0023366

payto_kycauths reports payto:// with subject instead of message

Christian Grothoff

2024-09-29 13:08

manager   ~0023388

Need to read my own RFCs more often... Fixed subject to message in ec97c24a..4dc7dc50.

Christian Grothoff

2024-09-29 13:11

manager   ~0023389

You're getting a gateway timeout, that's likely from your reverse proxy, not the exchange. Did you set your reserve proxy to deal with long timeouts?

sebasjm

2024-09-29 22:45

developer   ~0023403

correct, maybe 180s is too much? nginx default is 60s

i can change my config but maybe it would be nice to ship this with better defaults like 50s

Issue History

Date Modified Username Field Change
2024-09-23 19:55 sebasjm New Issue
2024-09-23 19:55 sebasjm Status new => assigned
2024-09-23 19:55 sebasjm Assigned To => Christian Grothoff
2024-09-24 15:09 sebasjm Note Added: 0023366
2024-09-29 13:08 Christian Grothoff Note Added: 0023388
2024-09-29 13:11 Christian Grothoff Note Added: 0023389
2024-09-29 13:11 Christian Grothoff Assigned To Christian Grothoff => sebasjm
2024-09-29 13:11 Christian Grothoff Status assigned => feedback
2024-09-29 22:45 sebasjm Status feedback => resolved
2024-09-29 22:45 sebasjm Resolution open => fixed
2024-09-29 22:45 sebasjm Note Added: 0023403
2024-10-07 16:35 Christian Grothoff Fixed in Version => 0.14