Remote debugging won't work anymore: "Could not start remote agent"

Hello,

Since yesterday, I have been experiencing the following error when trying to run a workflow in Studio on debug mode with remote debugging.
In studio, I immediatly get the error message.
In orchestrator, a remote debbuging job appears Running but fails shortly after.

If I try to run a regular job from Orchestrator on the same robot, it works fine.
If I try to run launch the debug without remote debbuging, it works fine.
No update has been made to Studio or Assistant

Any idea on how to solve this ?

06/23/2022 15:51:38 => [Debug] Debug started for file: Main
06/23/2022 15:51:39 => [Debug] Starting remote agent.
06/23/2022 15:51:39 => [Debug] Connecting to debug hub
06/23/2022 15:51:39 => [Debug] Uploading project
06/23/2022 15:51:39 => [Error] RemoteException wrapping System.InvalidOperationException: Could not start remote agent.
at UiPath.Studio.Orchestrator.Agent.Services.RemoteAgentService.StartAsync(AgentStartOptions startOptions, CancellationToken cancellationToken)
at UiPath.Studio.Plugin.Workflow.Execution.Signalr.Services.SignalrExecutorProxy.StartAgentAsync(RemoteDebugOrchestratorSettings orchestratorSettings, CancellationToken cancellationToken)
at UiPath.Studio.Plugin.Workflow.Execution.Signalr.Services.SignalrExecutorProxy.ConnectAsync(String serverUrl, CancellationToken cancellationToken)
at UiPath.Studio.Plugin.Workflow.Execution.Signalr.Services.SignalrExecutorProxy.StartAsync(ExecutionStartOptionsSlim startOptions)

Hi @alexandre_Chopin

Could you please share your Studio and Orchestrator versions (is it Cloud or on-premise)?

Do you have any clues as to what might have changed?

Studio: 2022.4.3
Orchestrator on the Cloud: 22.6.18-release.4

Hi,
Not really helping but I have same issue. Logs show it working still at 16.6. and not after that.

For us, cloud orchestrator,
21.10.5 Studio on local machine and remote robot. Versions are specific version requested by orchestrator.

I got pushed .Net update KB5013887 and cumulative update KB5014699 on 15.6.2022 and the successful debug run could be done by my colleague who runs Win11 instead of my win10 21H2.

For me, I attempted full reinstall of studio but no help on that front. So could be related to Windows updates breaking things. Might be some of the security hardenings involved in latest update.

Remote debugging is not working on my machine either. UiPath Studio Enterprise 21.10.7 on both development and robot machine.

Error: RemoteException wrapping System.Exception: Job stopped with an unexpected exit code: 0xC000013A

Remote debugging works OK if I manually set it up on the remote machine with the IP, port, password, etc.

Thank you for reporting this issue. Our team found the cause and it will be fixed in one of the upcoming updates.