Activity Timeouts, Can't Stream robot machine

I changed resolution on orchestrator to 0, settings too. In the event viewer we are not getting resolution event. Timeout still exist;

UiPath.Executor 20.4.1.0
UiPath.Core.ElementOperationException: Timeout reached. —> System.Runtime.InteropServices.COMException: Timeout reached.
at UiPath.UiNodeClass.BringIntoView()
at UiPath.Core.UiElement.BringToForeground()
— End of inner exception stack trace —
at UiPath.Core.Activities.TaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at UiPath.Executor.BaseRunner.EndExecute(IAsyncResult result)
at UiPath.Executor.InProcessRunner.EndExecute(IAsyncResult result)
at UiPath.Core.Activities.ExecutorInvokeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager), HResult -2146233088

@Lakshay_Verma

Type Into’s activate property was true. Changed it to false. Now getting an exception like that;

UiPath.Executor 20.4.1.0
UiPath.Core.ElementOperationException: Desktop has been disconnected while performing UI actions. —> System.Runtime.InteropServices.COMException: Desktop has been disconnected while performing UI actions.
at UiPath.UiNodeClass.WriteText(String text, UiInputMethod inputMethod)
at UiPath.Core.UiElement.WriteText(String text, InputMethod method)
— End of inner exception stack trace —
at UiPath.Core.Activities.TaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at UiPath.Executor.BaseRunner.EndExecute(IAsyncResult result)
at UiPath.Executor.InProcessRunner.EndExecute(IAsyncResult result)
at UiPath.Core.Activities.ExecutorInvokeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager), HResult -2146233088

Could you please share Uipath.settings file
And change login to console to Yes and run it.

Tried that and didn’t work.

{
“SecureLicenseKey”:blablabla",
“TracingLevel”: “Information”,
“UiPathServerUrl”: “https://cloud.uipath.com/blablabla”,
“ConnectionString”: “”,
“ActivitiesFeed”: “”,
“NuGetApiKey”: “”,
“NuGetServerUrl”: “%ProgramData%\UiPath\Packages”,
“LowLevelTracing”: false,
“LoginToConsole”: false,
“ResolutionWidth”: 0,
“ResolutionHeight”: 0,
“ResolutionDepth”: 0,
“FontSmoothing”: false
}

Change login to console to TRUE

Like i said tried and didn’t work.

As per this setting file i see it is selected as Login to console: False

Yes i changed false after i tried it was true.

Problem with this is, system gets disconnected when start to do UI Interaction. I am just thinking about what causing it. Is event log changed or is it still same ?

Still same. There would be an issue about logout/locked screen but i don’t know system side.

There is a way to check in, You can install a third part software on your machine.
e.g. Ultraview it work likes Team Viewer.
connect via ultraview from some other system and see what exactly causing this.

By any chance are you using Lync ?

Try this

HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Terminal Server Client - RemoteDesktop_SuppressWhenMinimized and set it’s value to 2.

I tried that too, didn’t work either. No i am not using Lync.

Can you try to execute Ultraview and see what causing this problem, Is it a login issue or getting locked when bot is executing

Can’t right now. Probably it’s about lock. That explains why i can’t see stream too. But what’s the cure for that :slight_smile:

I am not sure about this however this is one way
https://superuser.com/questions/1144853/how-do-i-keep-an-rdp-session-alive-from-the-client-side

Couldn’t logout, i couldn’t change arguments properly.

Hi @ercan.nebiler
I am faceing the same problem,have you got the solution?

@donghai Hi,

I left RPA actually because of these problems. You should contact with technical support. We had a session. They uninstalled everything and installed again. They checked every file. I don’t remember now.

1 Like