BlinkTradeJS icon indicating copy to clipboard operation
BlinkTradeJS copied to clipboard

BE not authorized

Open VinickGold opened this issue 7 years ago • 4 comments

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.

VinickGold avatar Jun 21 '18 23:06 VinickGold

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?

cesardeazevedo avatar Jun 22 '18 00:06 cesardeazevedo

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 :)

VinickGold avatar Jun 22 '18 11:06 VinickGold

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

cesardeazevedo avatar Jun 22 '18 12:06 cesardeazevedo

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

pinhopro avatar Jul 27 '18 15:07 pinhopro