Binance 1008, websocket error <1008, too many request>

1,202 阅读1分钟

调用binance的open API链接 webSocket时报错**"1008,too many request"** 可供参考的错误原因:发起订阅或取消订阅stream时的请求次数问题

例:我订阅某K线的stream,取消订阅的请求发送了2次,那么你就会得到1008.的错误

I got an error of "1008, too many requests" when I used websocket with Binance OpenAPI.

Error reason for reference: the request times of subscription or unsubscribe is incorrect.

example: if I subscribe to a stream of kline and the unsubscribe request is sent twice, i will get error 1008, surprise.