Native Messaging Host launch delay in Chrome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-02-23 02:49 PM
We are in the process of moving automations from Blue Prism 6.6 to 7.1.2, but I've come across an issue with Chrome and the Native Messaging Host.
Automations that normally worked in 6.6 generate an exception when launching in 7.1.2 in Studio Mode. I have not gotten any further yet. The exception is generated because Blue Prism cannot connect with the browser extension, and after a bit of troubleshooting I noticed it's caused by the fact that BluePrism.MessagingHost.exe takes a very long time to load. Under my own account it's ~20 seconds, and after changing the Messaging Host Detection timeout to 25 seconds, launches started working.
Then I tried it in the Digital Worker account, and for some reason the Messaging Host executable pops up in Task Manager more than 50 seconds after launch.
I am about to resort to starting Chrome via the Utility - Environment Business Object with an Exception-Timeout loop as it's the easiest solution, but I feel that Launch should be doing what it's designed for.
It worked just fine in 6.6, so I don't understand why it is broken in 7.1.2.
Has anyone else come across this and found a solution?
Thanks in advance,
Pawel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-02-23 05:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-02-23 12:56 PM
Resetting the browser extension options did not work.
Here's what I ended up doing:
- Launch Chrome manually via Utility - Environment - Start Process
- Wait for "BluePrism.MessagingHost" via Utility - Environment - Wait for Process
- Attach
It still takes about 50+ seconds before the process is found, but at least it will attach.
Take care,
Pawel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-05-24 12:46 PM
Hi Pavel,
I am facing same issue but the delay is nearly 8 mn. Did you find any other solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-10-24 08:01 PM
Hello @PawelMrozik ,
I'm facing an issue similar to yours... the Native Messaging Host is affecting "Launch" actions, but for me, it's a lack of waiting in the internal "Launch" code (if I wait for the process to start, the following actions work normally).
Changing the Extension parameters didn't work for me (if you have any tips), the behavior is the same. We are using BP v7.3.1 (migrating from v6.10.2).
Did you find another solution besides calling MS Edge using "Utility - Environment: Start process"?
All documentation I've found on Blue Prism website doesn't fit our scenario.
Regards,
