15-10-24 04:11 PM
Hello All,
We are upgrading from Blue Prism 6.10.2 to 7.3.1, but We've encountered an issue with Microsoft Edge Chromium and the Native Messaging Host (Blueprism.MessagingHost.exe).
Automation that normally worked in 6.10.2 generates an exception when launching in 7.3.1 in Studio Mode. The exception is: Could not open target process. I've checked this article, but in our case, the problem has a different cause: BPE error: "Could not open target process" when launching or attaching to an application in the Object Studio : (blueprism.com)
I noticed it's caused by the fact that BluePrism.MessagingHost.exe takes a long time to load. Under my account, it's about 20 seconds. I've tried changing the Messaging Host Detection timeout parameter inside extension options, to 30 or 60 seconds, without success.
If I start MS Edge using a "Utility Environment::Start Process" action, wait for BluePrism.MessagingHost.exe process, and then attach my object to the website, everything works fine.
I've checked the Troubleshooting browser integration (blueprism.com). No item suits my case.
I've checked the BPE error "The browser extension was not detected" when attempting to launch a browser based (Chrome, Firefox or Edge Chromium) application : (blueprism.com) trying to find some clue. Without success here.
Changing this parameter in Automate.exe.config didn't work as well.
Has anyone else come across this and found a solution?
Thanks in advance,
yesterday
Hi Flavio - We've recently upgraded to 7.3.1 as well and seeing the same issue. Have you figured out a solution for this?
yesterday
One workaround is to launch the browser via the Utility - Environment VBO then use the Wait for Process action to wait for BluePrism.MessagingHost.exe. Then once you know the browser and the messaging host are ready, use Attach.
yesterday
Hi John - Thanks for the response. We've tried this and it has certainly improved the performance but is still not as quick as what it used to be. Is this the only workaround? Also, do you know if this issue is a known one and if this has been fixed in any new releases?
5 hours ago
Hi Maneesh it's a known issue, although if you look at the Knowledgebase article linked above you'll see there are multiple possible causes. Where I've seen this issue it's always seemed that things weren't starting/loading as quickly as they should, and the workaround I proposed helps to slow things down slightly in order to ensure the browser, extension, messaging host, BP and web page are all ready. Yes it's a bit slower, but given that a launch won't happen often during a process (usually only once) it's a small price to pay.
The Release Notes will mention the improvements made in each release, so as with any upgrade project, it's best to study all releases between your current version and your target version in order to understand what the differences are and how they will affect you.
49m ago
Hello, All,
Just to chime in here. We are also in the process of upgrading from 6.10.2 to 7.3.1, and we have experienced the very same behavior. We also have settled on the 'Start Process' for MS Edge, and then 'Wait for Process' for the BP extension application to load. It feels like a bit of a workaround but has also been stable.
@John__Carter , a bit of a rebuttal, if you would. This specific issue derailed our attempt to upgrade to v7.1 nearly two years ago. I put in a support ticket and the agents worked for weeks without a resolution. At the outset of our v7.3.1 attempt, I again put in a ticket and again spent weeks submitting logs, demonstrating the issue (and, by the way, having the agent recreate the issue on his system) and going through all of the steps outlined on various knowledge base articles. It was not until I had my personal epiphany about what was happening, and had come up with our version of the workaround, that we were able to move forward.
All of this is to say, the Blue Prism Support folks should:
I apologize if this is all a bit salty, but this specific topic has been one (well, really two) of the more frustrating events in my working with the Blue Prism application.
<<stepping back from my soapbox>>
Red