Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Causes my IP to be blocked #1

Open
Ar4g0rn opened this issue Oct 7, 2021 · 1 comment
Open

Causes my IP to be blocked #1

Ar4g0rn opened this issue Oct 7, 2021 · 1 comment

Comments

@Ar4g0rn
Copy link

Ar4g0rn commented Oct 7, 2021

Exception: signedRequest error: {"code":-1003,"msg":"Way too much request weight used; IP banned until 1633627344042. Please use the websocket for live updates to avoid bans."} in /root/php-binance-bot/bi-api.php:1139
Stack trace:
#0 /root/php-binance-bot/bi-api.php(906): Binance\API->httpRequest('v3/account', 'GET', Array, true)
#1 /root/php-binance-bot/BinanceBotHoldings.class.php(47): Binance\API->balances(Array)
#2 /root/php-binance-bot/BinanceBotHoldings.class.php(34): BinanceBot\BinanceBotHoldings->update()
#3 /root/php-binance-bot/Bot.class.php(47): BinanceBot\BinanceBotHoldings->__construct(Array)
#4 /root/php-binance-bot/binance-bot.class.php(9): Bot->__construct()
#5 /root/php-binance-bot/binance-bot.class.php(13): BinanceBot->__construct()
#6 {main}PHP Notice: Undefined variable: updated in /root/php-binance-bot/BinanceBotHoldings.class.php on line 58
PHP Warning: Invalid argument supplied for foreach() in /root/php-binance-bot/BinanceBotHoldings.class.php on line 174
Candle updates remaining 1020 PHP Fatal error: Uncaught Exception: signedRequest error: {"code":-1003,"msg":"Way too much request weight used; IP banned until 1633627344042. Please use the websocket for live updates to avoid bans."} in /root/php-binance-bot/bi-api.php:1139
Stack trace:
#0 /root/php-binance-bot/bi-api.php(1255): Binance\API->httpRequest('v1/klines', 'GET', Array)
#1 /root/php-binance-bot/BinanceBotCandles.class.php(170): Binance\API->candlesticks('WANUSDT', '3m')
#2 /root/php-binance-bot/BinanceBotCandles.class.php(76): BinanceBot\BinanceBotCandles->updateNext(false, true, false)
#3 /root/php-binance-bot/BinanceBotCandles.class.php(64): BinanceBot\BinanceBotCandles->update()
#4 /root/php-binance-bot/Bot.class.php(48): BinanceBot\BinanceBotCandles->__construct(Array)
#5 /root/php-binance-bot/binance-bot.class.php(9): Bot->__construct()
#6 /root/php-binance-bot/binance-bot.class.php(13): BinanceBot->__construct()
#7 {main}
thrown in /root/php-binance-bot/bi-api.php on line 1139

@dmzoneill
Copy link
Owner

not relevant any more, but there was a rate limiter provided with the solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants