Messaging Host did not connect to the sharing service.
My automation gets this error once in a while. But when i check the pega robotics extension, it is currently enabled in chrome. However, this error gets fixed immediately after killing the runtime and restarting it. Can you help how to avoid this error?
It would seem as though the MessagingHost application is not responding. I would suggest opening a support case to get your specific scenario looked at in-person.
If that is not feasible, a possible resolution could be to terminate Chrome on startup before you start your adapter. You can use the static method GetProcessesByName and pass that result to a ListLoop where you extract a proxy from the loop representing each process. This will have a Kill() method you can call (or you can write a C# script to kill a process).