DeviaVir / zenbot

Zenbot is a command-line cryptocurrency trading bot using Node.js and MongoDB.
MIT License
8.21k stars 2.04k forks source link

Binance API is down! unable to call getBalance, retrying in 20s #2689

Closed kaanguven closed 2 years ago

kaanguven commented 3 years ago

I get the error in the title after running zenbot for 1 day and it goes like this :

{ currency: 'TRY', asset: 'DOGE' } ] An error occurred InvalidNonce: binance {"code":-1021,"msg":"Timestamp for this request was 1000ms ahead of the server's time."} at binance.throwExactlyMatchedException (D:\zenbot-unstable\zenbot-unstable\node_modules\ccxt\js\base\Exchange.js:532:19) at binance.handleErrors (D:\zenbot-unstable\zenbot-unstable\node_modules\ccxt\js\binance.js:2866:18) at D:\zenbot-unstable\zenbot-unstable\node_modules\ccxt\js\base\Exchange.js:594:18 at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:93:5) at async timeout (D:\zenbot-unstable\zenbot-unstable\node_modules\ccxt\js\base\functions\time.js:195:24) at async binance.request (D:\zenbot-unstable\zenbot-unstable\node_modules\ccxt\js\binance.js:2875:26) at async binance.fetchBalance (D:\zenbot-unstable\zenbot-unstable\node_modules\ccxt\js\binance.js:1037:26) { constructor: [class InvalidNonce extends NetworkError]

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.