Jump to content
McKay Development

Check if client is currently trying to logIn


Recommended Posts

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...