Open depado opened 8 years ago
Any chance someone using Kontrol could answer me ?
@Depado did you ever get your issue resolved? I'm currently running into a similar issue with "websocket: bad handshake" when trying to get simple example running.
No, I dropped it for now. I'm running things without Kontrol.
@Depado ... ok thx
@bhalle if you happen to make things work, would you mind writing down a small tutorial on how you managed to do it ? I'm still quite interested in that.
@Depado ... here ya go ... https://github.com/bhalle/api.kite
Thanks @bhalle I'll give that a try :+1:
Hello,
I'm trying to use Kontrol. First of all there a things I don't understand :
Currently I'm having a single error when I try to connect my client kite to the server kite going through Kontrol. I generated the keys with the commands given in your README.md file, started
etcd
and then started kontrol with the-initial
argument. It generated the key without a problem and then started kontrol like that :(I hope so far everything is fine)
Here is my server kite (I stripped down everything that wasn't needed) :
When I start this server, there is no problem, the kite registers itself with Kontrol. (Note that I ignored the error returned
k.RegisterForever
to simplify the snippet, but I do check it otherwise)First thing I don't understand :
So the [bus] Kite tells me that it has registered with Kontrol, and that the query to reach him is
/test/dev/bus/...
but Kontrol tells me it registered to/kontrol/dev/bus/...
. What am I missing here ?And then with my client I'm getting a
websocket: bad handshake
but I guess my misunderstanding in the way Kontrol works caused this issue.Also, sorry for the long post, I understand that you're busy and that you may have not the time to answer me. (And thanks for updating the example with a struct, it was helpful :smile: )
I intend to write a tutorial on Kite once I make it work fine if you don't mind :smile: