crypto-power/cryptopower

binance rate fetch error spams the log

Closed this issue · 0 comments

Part 1 is that I'm in the USA, and my terminal shows this:

2024-05-09 13:47:07.577 [ERR] EXT: binance: Error fetching ticker: binance failed to fetch ticker for BTCUSDT: error: status: 451 Unavailable For Legal Reasons resp: {
  "code": 0,
  "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."
}
2024-05-09 13:47:07.634 [ERR] EXT: binance: Error fetching ticker: binance failed to fetch ticker for DCRUSDT: error: status: 451 Unavailable For Legal Reasons resp: {
  "code": 0,
  "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."
}
2024-05-09 13:47:07.682 [ERR] EXT: binance: Error fetching ticker: binance failed to fetch ticker for LTCUSDT: error: status: 451 Unavailable For Legal Reasons resp: {
  "code": 0,
  "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."
}
2024-05-09 13:47:07.729 [ERR] EXT: binance: Error fetching ticker: binance failed to fetch ticker for DCRBTC: error: status: 451 Unavailable For Legal Reasons resp: {
  "code": 0,
  "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."
}
2024-05-09 13:47:07.781 [ERR] EXT: binance: Error fetching ticker: binance failed to fetch ticker for LTCBTC: error: status: 451 Unavailable For Legal Reasons resp: {
  "code": 0,
  "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."
}
2024-05-09 13:47:08.467 [ERR] EXT: binance: Error connecting websocket: unexpected response status 451  and error: websocket: bad handshake

Update, I'm continuing to get repeated [ERR] UI: the USD exchange rate is disabled in the logs every so often despite disabling rate fetching

https://matrix.to/#/!oxOZZtibVUXxXtdPJS:decred.org/$Ea8ycjWJWfzplav2lxgiyI2rikgAyiXFvQORa82WLlE?via=decred.org&via=matrix.org&via=integrations.ems.host