View Issue Details

IDProjectCategoryView StatusLast Update
0010220Talerexchangepublic2025-07-30 13:21
Reportersebasjm Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Summary0010220: setting up an exchange fail
Description

$ taler-exchange-offline -c exchange.conf download sign upload
2025-07-30T06:47:16.530313-0300 taler-exchange-offline-259848 ERROR Unexpected response code 502/1700 for exchange management get keys
2025-07-30T06:47:16.530380-0300 taler-exchange-offline-259848 ERROR Failed to download keys from `http://exchange.taler.test/': The exchange failed to talk to the process responsible for its private denomination keys or the helpers had no denominations (properly) configured. (HTTP status: 502/1700)

No errors on httpd or secmod logs
TagsNo tags attached.

Activities

sebasjm

2025-07-30 12:16

developer   ~0025588

relevant logs

2025-07-30T06:47:16.497557-0300 taler-exchange-httpd-257971 INFO Handling new request
2025-07-30T06:47:16.497621-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) INFO Handling request (GET) for URL '/management/keys'
2025-07-30T06:47:16.497670-0300 util-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Asked to $-expand $TALER_RUNTIME_DIR/sock/secmod-rsa-def
2025-07-30T06:47:16.497684-0300 util-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Split into `TALER_RUNTIME_DIR' and `sock/secmod-rsa-def' with default (null)
2025-07-30T06:47:16.498178-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) INFO Now synchronized with RSA helper
2025-07-30T06:47:16.498223-0300 util-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Asked to $-expand $TALER_RUNTIME_DIR/sock/secmod-cs-def
2025-07-30T06:47:16.498237-0300 util-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Split into `TALER_RUNTIME_DIR' and `sock/secmod-cs-def' with default (null)
2025-07-30T06:47:16.498724-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) INFO Now synchronized with CS helper
2025-07-30T06:47:16.498752-0300 util-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Asked to $-expand $TALER_RUNTIME_DIR/sock/secmod-eddsa-def
2025-07-30T06:47:16.498767-0300 util-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Split into `TALER_RUNTIME_DIR' and `sock/secmod-eddsa-def' with default (null)
2025-07-30T06:47:16.499809-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) INFO Now synchronized with EdDSA helper
2025-07-30T06:47:16.499876-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Preparing SQL statement `SELECT start_date,end_date,history_fee,account_fee,purse_fee,purse_timeout,history_expiration,purse_account_limit,master_sig FROM global_fee WHERE start_date >= $1' as `get_global_fees'
2025-07-30T06:47:16.500188-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Running prepared statement `get_global_fees' on 0x5b3094508a80
2025-07-30T06:47:16.500215-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Executing prepared SQL statement `get_global_fees'
2025-07-30T06:47:16.500556-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Execution of prepared SQL statement `get_global_fees' finished (PGRES_TUPLES_OK)
2025-07-30T06:47:16.500798-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) INFO Found global fees with 10 purses
2025-07-30T06:47:16.500850-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) INFO Loading global fees from DB: 1
2025-07-30T06:47:16.500872-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Preparing SQL statement `SELECT denominations_serial,denominations.master_sig,denom_revocations_serial_id IS NOT NULL AS revoked,valid_from,expire_withdraw,expire_deposit,expire_legal,coin,fee_withdraw,fee_deposit,fee_refresh,fee_refund,denom_type,age_mask,denom_pub FROM denominations LEFT JOIN denomination_revocations USING (denominations_serial);' as `select_denominations'
2025-07-30T06:47:16.501360-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Running prepared statement `select_denominations' on 0x5b3094508a80
2025-07-30T06:47:16.501388-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Executing prepared SQL statement `select_denominations'
2025-07-30T06:47:16.502211-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Execution of prepared SQL statement `select_denominations' finished (PGRES_TUPLES_OK)
2025-07-30T06:47:16.502252-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Preparing SQL statement `SELECT master_sig,exchange_pub,valid_from,expire_sign,expire_legal FROM exchange_sign_keys esk WHERE expire_sign > $1 AND NOT EXISTS (SELECT esk_serial FROM signkey_revocations skr WHERE esk.esk_serial = skr.esk_serial);' as `select_signkeys'
2025-07-30T06:47:16.502618-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Running prepared statement `select_signkeys' on 0x5b3094508a80
2025-07-30T06:47:16.502652-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Executing prepared SQL statement `select_signkeys'
2025-07-30T06:47:16.503214-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Execution of prepared SQL statement `select_signkeys' finished (PGRES_TUPLES_OK)
2025-07-30T06:47:16.503248-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Preparing SQL statement `SELECT auditors.auditor_pub,denominations.denom_pub_hash,auditor_denom_sigs.auditor_sig FROM auditor_denom_sigs JOIN auditors USING (auditor_uuid) JOIN denominations USING (denominations_serial) WHERE auditors.is_active;' as `select_auditor_denoms'
2025-07-30T06:47:16.503494-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Running prepared statement `select_auditor_denoms' on 0x5b3094508a80
2025-07-30T06:47:16.503521-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Executing prepared SQL statement `select_auditor_denoms'
2025-07-30T06:47:16.504238-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Execution of prepared SQL statement `select_auditor_denoms' finished (PGRES_TUPLES_OK)
2025-07-30T06:47:16.504273-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Preparing SQL statement `SELECT auditor_pub,auditor_url,auditor_name FROM auditors WHERE is_active;' as `select_auditors'
2025-07-30T06:47:16.504409-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Running prepared statement `select_auditors' on 0x5b3094508a80
2025-07-30T06:47:16.504435-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Executing prepared SQL statement `select_auditors'
2025-07-30T06:47:16.529616-0300 pq-257971(FDC3BMF6S1M9AND89W046W4JHC) DEBUG Execution of prepared SQL statement `select_auditors' finished (PGRES_TUPLES_OK)
2025-07-30T06:47:16.529904-0300 taler-exchange-httpd-257971(FDC3BMF6S1M9AND89W046W4JHC) INFO Request for `/management/keys' completed with HTTP status 502 (0)
2025-07-30T06:47:16.529957-0300 util-scheduler-257971 DEBUG Adding task 0x5b30945512a0
2025-07-30T06:47:16.529971-0300 util-scheduler-257971 DEBUG destroying task 0x5b309454c940
2025-07-30T06:47:16.529983-0300 util-scheduler-257971 DEBUG select timeout = end of time



This seems strange

2025-07-30T06:35:13.887669-0300 taler-exchange-secmod-cs-258629 WARNING No CS denominations configured

also this

2025-07-30T06:35:12.382595-0300 taler-exchange-secmod-rsa-258612 WARNING No RSA denominations configured

sebasjm

2025-07-30 13:20

developer   ~0025590

There is a configuration breaking change

-[COIN-EUR-n6-t1694706329]
+[COIN_EUR_n6_t1694706329]

we should have a migration script or better error message

Issue History

Date Modified Username Field Change
2025-07-30 12:15 sebasjm New Issue
2025-07-30 12:15 sebasjm Status new => assigned
2025-07-30 12:15 sebasjm Assigned To => Christian Grothoff
2025-07-30 12:16 sebasjm Note Added: 0025588
2025-07-30 13:20 sebasjm Note Added: 0025590
2025-07-30 13:21 sebasjm Status assigned => confirmed
2025-07-30 13:21 sebasjm Severity block => minor