My processes were running without any problems. The processes I run via orchestrator work normally for a while, but then suddenly give an error and stop. When I check, I encounter the error “cannot communicate with browser”. When I connect to the server remotely, I see multiple Edge tabs opened one after the other (Its because of retry, ı think.). The error occurs randomly, sometimes after 1 hour, sometimes after 5 hours. When I close all tabs and start the process again, it continues without problems for a while. Since I think something else might be triggering this error, I’m leaving here a few logs I took from the event viewer.
Is it possible that the connection ones (First three screenshots) can trigger the fourth screenshot ? Which says "UiPath.Executor 22.10.4.0
System.Runtime.InteropServices.COMException (0x80040215): Exception from HRESULT: 0x80040215
at UiPath.IUiNode.GetBrowser()
at UiPath.UIAutomationNext.Services.DriverAsyncBrowserService.WaitPageLoadAsync(IUiNodeX nodeX, Int32 timeout) "
Sounds like you have misconfigured your Use App/Browser activity and it’s set to open a new browser each time instead of reusing an existing browser object (which should be stored in a variable).
First clear the issue of multiple broswers..by using kill before retry in exception scenario
Or check use app/browser with setting open never for where it is not beeded and open ifnotalreadyopen when needed so that multiple window issue gets resolved
Once that is done monitor the process if you still get this error
@muktadir
Thank you so much ! I was trying to solve this problem for one month… I tried everything but it didn’t work. As you said, it was caused by the sleeping tabs feature. When I turned it off, everything was fine. All 3 of my servers are working properly, again.