View Issue Details

IDProjectCategoryView StatusLast Update
0009216Talermerchant backendpublic2024-12-13 18:15
Reportersebasjm Assigned Tosebasjm Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

sebasjm

2024-09-24 13:09

developer   ~0023366

payto_kycauths reports payto:// with subject instead of message

Christian Grothoff

2024-09-29 11:08

manager   ~0023388

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

Christian Grothoff

2024-09-29 11: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 20: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 ModifiedUsernameFieldChange
2024-09-23 17:55sebasjmNew Issue
2024-09-23 17:55sebasjmStatusnew => assigned
2024-09-23 17:55sebasjmAssigned To => Christian Grothoff
2024-09-24 13:09sebasjmNote Added: 0023366
2024-09-29 11:08Christian GrothoffNote Added: 0023388
2024-09-29 11:11Christian GrothoffNote Added: 0023389
2024-09-29 11:11Christian GrothoffAssigned ToChristian Grothoff => sebasjm
2024-09-29 11:11Christian GrothoffStatusassigned => feedback
2024-09-29 20:45sebasjmStatusfeedback => informing
2024-09-29 20:45sebasjmResolutionopen => fixed
2024-09-29 20:45sebasjmNote Added: 0023403
2024-10-07 14:35Christian GrothoffFixed in Version => 0.14
2024-12-13 18:15Christian GrothoffStatusinforming => closed
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend