zenocrypto / zeno-gui

25 stars 6 forks source link

binance API error: code:-1022 "Signature for this request is not valid." #9

Open i8ramin opened 6 years ago

i8ramin commented 6 years ago

Having issues getting this to work with Binance. Downloaded latest version, generated new API key in Binance and copied the API secret into the config, but when I start it up, i get the following error:

Error getting exchange balances: "binance: binance GET https://api.binance.com/api/v3/account?timestamp=1514753803858&recvWindow=86400000&signature=****** 400 Bad Request {"code":-1022,"msg":"Signature for this request is not valid."} (possible reasons: invalid API keys, bad or old nonce, exchange is down or offline, on maintenance, DDoS protection, rate-limiting)"

Not a lot of information here: https://github.com/zenocrypto/zeno-gui/wiki/License-setup

Any advice?

i8ramin commented 6 years ago

full logs when starting up ...

$ ./zeno-gui-win-x64.exe
2017-12-31 13:05:06: Paid license enabled
2017-12-31 13:05:07: Connected to PM2 daemon
2017-12-31 13:05:07: Starting GUI server version 1.31
2017-12-31 13:05:07: No SSL enabled, starting non-secure server
2017-12-31 13:05:08: Web server listening on "http://555.555.555.555:8080"
2017-12-31 13:05:08: Open your browser and go to "http://555.555.555.555:8080"
2017-12-31 13:05:15: Client authenticated for IP: "::ffff:555.555.555.555"
2017-12-31 13:05:17: Error getting exchange balances: "binance: binance GET
https://api.binance.com/api/v3/account?timestamp=1514754316293&recvWindow=86400000&signature=********** 
400 Bad Request {"code":-1022,"msg":"Signature for this request is not valid."}
(possible reasons: invalid API keys, bad or old nonce, exchange is down or offline, 
on maintenance, DDoS protection, rate-limiting)"