Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

Kraken websocket not working #485

Open
atiqkhan26 opened this issue Dec 25, 2019 · 6 comments
Open

Kraken websocket not working #485

atiqkhan26 opened this issue Dec 25, 2019 · 6 comments

Comments

@atiqkhan26
Copy link

Hi experts,

I am trying to test the public channel of Kraken's beta environment and keep getting this error. Has anyone got it working for Kraken?

10:01:18.444 [nioEventLoopGroup-2-1] INFO info.bitrich.xchangestream.kraken.KrakenStreamingService - Connecting to wss://beta-ws.kraken.com 10:01:19.340 [nioEventLoopGroup-2-2] INFO info.bitrich.xchangestream.service.netty.WebSocketClientHandler - WebSocket Client connected! 10:01:19.340 [nioEventLoopGroup-2-2] WARN info.bitrich.xchangestream.kraken.KrakenStreamingService - Resubscribing channels 10:01:19.344 [nioEventLoopGroup-2-2] INFO info.bitrich.xchangestream.kraken.KrakenStreamingService - System status: KrakenSystemStatus{connectionID='9183671655362526710', event='systemStatus', status='online', version='0.3.0'} 10:01:19.548 [nioEventLoopGroup-2-2] ERROR info.bitrich.xchangestream.kraken.KrakenStreamingService - Channel ticker-LTC/USD has been failed: Public channels not available in this endpoint 10:01:45.826 [nioEventLoopGroup-2-2] ERROR info.bitrich.xchangestream.kraken.KrakenStreamingService - Channel ticker-LTC/USD has been failed: Subscription Not Found

Any help resolving this will be highly appreciated.

Thanks

@badgerwithagun
Copy link
Collaborator

@mdvx ?

@atiqkhan26
Copy link
Author

Although Kraken documentation says beta-ws.kraken.com can work with both public and private channels, it doesn't seem to be the case. I have to get the public channels from ws.kraken.com and private ones from beta-ws.kraken.com

Am I missing something which might be behaving differently for me.

@mdvx
Copy link
Contributor

mdvx commented Dec 26, 2019

I have not tried to connect to the beta channel yet, only provided a method to so in PR #457. There is also the Futures channel, which I want to implement too. @atiqkhan26 @badgerwithagun

@mdvx
Copy link
Contributor

mdvx commented Jan 6, 2020

Just rememebered, with Kraken the Api keys can get broken after which I get continual Invalid nonce errors. My solution is to create a new API key.

Speculation: I think maybe the server remembers the last nonce across sessions, and if you sent a big one up, you just set a high water mark.

@mdvx
Copy link
Contributor

mdvx commented Feb 29, 2020

I stopped getting invalid nonces errors, after I got multiple keys for multiple processes - now dev has a key, QA has one as does UAT

@mdvx
Copy link
Contributor

mdvx commented Feb 29, 2020

can we close this @atiqkhan26 @badgerwithagun

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

No branches or pull requests

3 participants