-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation on Kontrol or basic explanations ? #141
Comments
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 👍 |
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 😄 )
I intend to write a tutorial on Kite once I make it work fine if you don't mind 😄
The text was updated successfully, but these errors were encountered: