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

Too many requests #17

Open
hslimi opened this issue Jun 17, 2018 · 1 comment
Open

Too many requests #17

hslimi opened this issue Jun 17, 2018 · 1 comment

Comments

@hslimi
Copy link

hslimi commented Jun 17, 2018

When running the bot for several hours i got this error:

        _header:
         'GET /api/v1/ticker/24hr?symbol=BNBBTC HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nX-MBX-APIKEY: xxx\r\nUser-Agent: axios/0.18.0\r\nHost: www.binance.com\r\nConnection: close\r\n\r\n',
        _onPendingData: [Function: noopPendingOutput],
        agent: [Agent],
        socketPath: undefined,
        timeout: undefined,
        method: 'GET',
        path: '/api/v1/ticker/24hr?symbol=BNBBTC',
        _ended: true,
        res: [IncomingMessage],
        aborted: undefined,
        timeoutCb: null,
        upgradeOrConnect: false,
        parser: null,
        maxHeadersCount: null,
        _redirectable: [Writable],
        [Symbol(isCorked)]: false,
        [Symbol(outHeadersKey)]: [Object] },
     data:
      { code: -1003,
        msg:
         'Way too many requests; IP banned until 1529256050872. Please use the websocket for live updates to avoid bans.' } } }
Error Message: Way too many requests; IP banned until 1529256050872. Please use the websocket for live updates to avoid bans.
Error action Error: Invalid get_ticker
@JimboFromLimbo
Copy link

This is due to the bot using the REST API instead of using the WebSockets available.

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