Skip to content
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

BE not authorized #44

Open
VinickGold opened this issue Jun 21, 2018 · 4 comments
Open

BE not authorized #44

VinickGold opened this issue Jun 21, 2018 · 4 comments

Comments

@VinickGold
Copy link

Hi guys,

i'm running a program using your api and eventually i get an error with the message "BE not authorized". I really don't know what the error means, cause the message doesn't say to much about the root cause (At least to me ). Do you know anything about? I could just write some code to retry/restart the the process, but a really want to know if i'm doing something wrong related to the api usage instead write a lot more code to just "workaround" the situation.

Thanks in advance.

@cesardeazevedo
Copy link
Contributor

BE is the message type for login, i am not sure what could be causing it, but maybe you were disconnected and tried to send a message?

Are you sure that you are sending heartbeat message each 20 seconds in order to keep the connection alive?

@VinickGold
Copy link
Author

I'm sending the hearthbeat every 5s, now the message is a litlle bit more meaninfull to me. I will try reproduce the error and then i back here to provide more information and close the issue. I hope this information will be helpfull to other devs reading the github issues :)

@cesardeazevedo
Copy link
Contributor

Good, i will be adding more meaningful messages and validation on the new version.

@pinhopro
Copy link
Member

Can you please give us message log of your connection? It will be a lot easier for us to identify the problem, if any.

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

No branches or pull requests

3 participants