Currently, for reasons I do not know, my bots take about a minute to logIn. Sometimes, due to the nature of the business, I receive a call to log in again, but sometimes it tries to login on top of a client instance that is currently trying. I tried to solve this by implementing a timeout, calling logOff when it fires off.
I wanted to know if there is a way to check if the client instance is currently trying to login. Or I have to implement a variable on my end to check it.
Also, is there a reason why my bots are taking this long? I am using the TCP protocol, but I read some topics here forcing WebSockets. I run these bots on containers inside a cloud environment.