Question
Sykes Asia Inc
PH
Last activity: 13 Oct 2020 3:22 EDT
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?
I have attached my runtime logs.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Sykes Asia Inc
PH
This error is still not solved. Please help
Pegasystems Inc.
US
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).
Sykes Asia Inc
PH
The possible resolution does not work. MessagingHost application still encounters error once in a while.
Pegasystems Inc.
US
I would suggest you open a support case as they will be able to get on with you and perform specific troubleshooting steps.
Sykes Asia Inc
PH
Hello. Our automation is scheduler to run every hour via task scheduler. We have script to terminate chrome, runtime every run. However, pc seems to get slow after hours of running, which i believe causes the messaging host not to work since pc is really slow. Any ideas?
Pegasystems Inc.
US
Rather than terminate Runtime and Chrome, why don't you just use the method within Runtime to have it close gracefully? Perhaps that is why something is hanging around. There's also an executable in the installation directory that you can use to close Runtime (ShutdownRuntime.exe).
Sykes Asia Inc
PH
I have now tried ShutdownRuntime.exe, however it seems to close runtime only and not chrome. Messaging host error still occurs. Does this have something to do with the termination script of chrome?
Pegasystems Inc.
US
Thanks Thomas!
@IsaiahR8 Please reply here with the Support Case ID when you open it so that we may track this for you!
Thanks!
Marissa | Senior Moderator | Pega Collaboration Center