question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kucoin socket API issue

See original GitHub issue

I’m getting this error when subscribing to a KuCoin data feed:

return await self.watch(url, messageHash, request, subscriptionHash, subscription)
ccxt.base.errors.NetworkError: 401, message='Invalid response status', url=URL('wss://ws-api.kucoin.com/endpoint?token=X-X%3D%3D&acceptUserMessage=true')

The feed still works, but I get that error sporadically.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kroitorcommented, Feb 11, 2022

@sissnad thank you! I’ll try it on my side and will be back to you asap!

0reactions
StephanAkkermancommented, Nov 8, 2022

I am currently having the same problem with the latest CCXT release. @sissnad Were you able to fix it yourself?

Read more comments on GitHub >

github_iconTop Results From Across the Web

KuCoin API Documentation: General
General. Introduction. Welcome to KuCoin's trader and developer documentation. These documents outline the exchange functionality, market details, and APIs.
Read more >
kucoin websocket api, how to "subscribe" to their public ...
I just want a live feed of trades like other crypto exchanges... but when I want to connect to "wss://ws-api-futures.kucoin.com/endpoint" I get ...
Read more >
Second KuCoin API Webinar: WebSocket - YouTube
This is the second webinar in Webinar series of KuCoin API Community. This webinar topic is WebSocket and how to implement it.
Read more >
Websockets — python-kucoin 0.2.0 documentation
Websockets¶. Note: The websocket client is only available for python3.5+. This feature is still in development so check the documentation around message ...
Read more >
kucoin-websocket-api - npm
kucoin -websocket-api · Auto-reconnecting Websocket it can handle network outage or server disconnections! · Websocket can be closed any time with ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found