Kucoin / kucoin-api-docs

KuCoin API Docs
Other
273 stars 146 forks source link

Max subscription count limitation of 300 per sessions #389

Open Johann-S opened 2 years ago

Johann-S commented 2 years ago

Hi,

I'm working on a lib for KuCoin websockets: https://github.com/IOfate/kucoin-ws

And I managed to create a new Websocket client each time we hit the limit of 300 subscriptions. But it seems it doesn't work because I still got this error: exceed max subscription count limitation of 300 per session

I don't understand what I'm doing wrong, any help would be great thanks 🙏

progressivehed commented 2 years ago

Hello

Are you running different websocket clients over one IP?

Also have you tried using official kucoin SDK?

Johann-S commented 2 years ago

yes indeed we run different websocket clients on one IP.

I checked the official SDK but it doesn't manage the limit of 300 subscriptions. Currently I decreased this threshold to 98 and I don't hit this limit with more than 700 subscriptions

progressivehed commented 2 years ago

It should work with the maximum limit of 300 subscription as described in the documnet.

Please try also with near to 300 subscription, like 290 subscription. If the issues persisted, then kindly message me in Kucoin API group.

I will help checking the issue on our servers.