Support > Forums > OpenBots Studio > Connecting the agent with the server after restarting the computer

Connecting the agent with the server after restarting the computer

Lakshmi S

  • Reporter
  • Calender Icon June 28,2021 at 7:05 AM

Hi all,

After computer restart ( Windows 10 Pro, with an active agent connection) I can not connect the agent with the server I get: Error occured while connecting to the server Details : Exception when calling AuthApi.GetAuthTokden: at least one error has occurred

This forum has 173 topics, 516 replies, and was last updated 10 months ago by Ehtesham Abad

Lakshmi S

  • Participant
  • Calender Icon July 06,2021 at 3:40 PM

Hello Jan,

Thanks for the information. Our development team has confirmed that the root of the problem is caused by the Agent password not getting decrypted on retrieval from the Registry as it should. This is a machine specific issue, which will be resolved on the next version. For now, it will be necessary to clear and rewrite the Agent password when computer is restarted.

Hope this helps!

Lakshmi S

  • Participant
  • Calender Icon July 02,2021 at 6:23 AM

Hi Nataly,

More details steps

  • my agent is connected with my Openbot ( proper credentails ). Enhanced security is set.
  • i restart my computer while Openbots Agent is running
  • i can not connect my agent to server after restart
  • i have to use 'clear credentials' function
  • i can connect again

HKCU\Software\Openbots\Agent\Credentials\Password - I can not verify password , it's encrypted

Lakshmi S

  • Participant
  • Calender Icon July 01,2021 at 7:24 PM

Hi Jan,

The error you mention above indicates that the API is having issues validating the Agent information. Please make sure that the Agent information matches the data generated by the agent's Machine Info tool. For instance, if using Enhanced Security, the MAC Address value might have changed if it is not static.

Another possibility is that the credentials are incorrect, we don't allow users to update existing agent's username/password because of security protocols. To test this scenario, you would need to check your Registry or create a new agent to verify that is the issue.

Lakshmi S

  • Participant
  • Calender Icon June 28,2021 at 7:40 AM

I use version 1.5.1

You are not authorized to reply, please click here to login and add your reply to this topic.