Skip to main content
Pathfinder Advocate | Tier 6
January 3, 2023
Solved

How to reinstall botagent on a botrunner that gives an error after uninstalling?

  • January 3, 2023
  • 33 replies
  • 2249 views

I uninstalled the bot agent, used the uninstall.batch file on C:\Program Files\Automation Anywhere\Bot Agent

 

while i was trying to install the bot agent, it gave this error” 

Unable to connect to the Control Room and it may be due to not being able validate the SSL certificate presented by the Control Room.

This may be due to multiple reasons. To continue, please 1. Check to see if the SSL certificate has been added to the Java Key Store that is bundled with the bot agent. Then, try again.

If you continue to see this message, please contact your system administrator.”

 

what should i do next?

Best answer by Semih 3318

@Raul Jaimes @ChanduMohammad its solved now.

in the C:\Windows\System32\drivers\etc\host file, at the last row, I added the controlroom IP address tabspace controlroomlink and saved the file

then we updated the correct cacerts certificate in the C:\Program Files\Automation Anywhere\Bot Agent\jre\lib\security cacerts  this path.

installed botagent, it works now, thank you :)

33 replies

Most Valuable Pathfinder
January 4, 2023

Hi @Semih 3318 ,

You need to login to new CR with bot runner id, and then download the bot agent and complete the registration so it will map the device to the right CR. Just installing the bot agent will not map the device to the new CR

Checkout below tutorial for your reference,

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/devices/cloud-bot-agent-manual-upgrade.html

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/control-room/devices/cloud-add-local-device.html

Chand
Pathfinder Advocate | Tier 6
January 4, 2023

Hi @Raul Jaimes  I cant figure out which control room is in the properties file. Because new controlroom and old controlroom links are the same, maybe i miss something, but when i log in both controlrooms, i see both links are the same

Most Valuable Pathfinder
January 4, 2023

Hi @Semih 3318 

Are you taking about CR URL or below path?

C:\Windows\System32\config\systemprofile\AppData\Local\AutomationAnywhere

No two CR links will ever be same

Chand
Pathfinder Advocate | Tier 6
January 4, 2023

Hi @ChanduMohammad what does it mean that i should login to new controlroom with botrunner id? Sorry, i couldnt understand, its my first time to try switching controlrooms, so i got stucked

Pathfinder Advocate | Tier 6
January 4, 2023

Hi @ChanduMohammad 

I am taking the both controlroom url

its the old controlroom’home page link:https://rpa360.NAME.com/#/dashboard/home

its second:https://rpa360.NAME.com/#/dashboard/home

*NAME* is the same on both

Most Valuable Pathfinder
January 4, 2023

Hey @Semih 3318 

No problem, completely understand the situation.

Consider you have old CR link Ex: `https://community.cloud.automationanywhere.digital/ and a new one i.e `https://community2.cloud-2.automationanywhere.digital.

You are trying to setup Device registration for new CR i.e `https://community2.cloud-2.automationanywhere.digital/, checkout below steps.

  1. Delete below folder

C:\Windows\System32\config\systemprofile\AppData\Local\AutomationAnywhere

  1. Delete Device from CR» Device section
  2. Uninstall existing Bot Agent
  3. Login to the new CRURL in the browser i.e `https://community2.cloud-2.automationanywhere.digital/
  4. Click on Connect Device to the left side of the screen
  5. Continue following the displayed instructions for Bot Agent download and installation
Chand
Most Valuable Pathfinder
January 4, 2023

Hi @ChanduMohammad 

I am taking the both controlroom url

its the old controlroom’home page link:https://rpa360.NAME.com/#/dashboard/home

its second:https://rpa360.NAME.com/#/dashboard/home

*NAME* is the same on both

No worries please checkout above resolution and let us know if that helps

Chand
Pathfinder Advocate | Tier 6
January 4, 2023

@ChanduMohammad thank you for the replies, i did first 3 steps, but when i enter new controlroom link which is same with old one, it goes to the old one, so even if i install botagent again, it will probably go to old one now, i didnt understand how the links for home-AAcontrolroom can be same

Most Valuable Pathfinder
January 4, 2023

Hi @Semih 3318 

Please check with your IT or SPOC who has shared the new CR link, both are same or mystery behind it.

If this is not helping you please log a support case with AA

Chand
Raul Jaimes
Navigator | Tier 3
January 4, 2023

@ChanduMohammad thank you for the replies, i did first 3 steps, but when i enter new controlroom link which is same with old one, it goes to the old one, so even if i install botagent again, it will probably go to old one now, i didnt understand how the links for home-AAcontrolroom can be same

So, the ip’s were changed?