Activity Timeouts, Can't Stream robot machine

@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”: “UiPath”,
“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
windows 7 - How do I keep an RDP session alive from the client side? - Super User

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

Can you validate if have been installed properly the Certificated… When you are installing an older Orchestrator version and this one does not request you the Fingerprint you need to install the Certificated in the Machine while you are going to be connected to the orchestrator.

Regards,