Machine unavailable

Hi,

I have a problem. I have two production robots installed on a virtual machine.

Orchestrator in the cloud.

All is clear but after x hours without activity, “Machine” become unavailable in Orchestrator and next process will be place in “Wait” mode.

A simple manual log on the machine wake up it.

On the machine, I have these errors every minute :

UiPath.Service.Host 22.10.7.0
submitHeartbeat: System.Net.Http.HttpRequestException: An error occurred while sending the request.
—> System.IO.IOException: Unable to read data from the transport connection: Une connexion existante a dû être fermée par l’hôte distant…
—> System.Net.Sockets.SocketException (10054): Une connexion existante a dû être fermée par l’hôte distant.
— End of inner exception stack trace —
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer) at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at UiPath.Service.Utils.OrchestratorHttpHandler.SendWithTokenRetryAsync(HttpRequestMessage request, CancellationToken ct) at UiPath.Service.Utils.OrchestratorHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at UiPath.Service.Orchestrator.Clients.OrchestratorBaseClient.InternalRequestAsync[T](String baseUrl, String serviceUrl, HttpMethod method, HttpContent content, Func2 parseResponse, TokenFactory tokenFactory, TimeSpan timeout, Dictionary2 headers, CancellationToken ct) at UiPath.Service.Orchestrator.Clients.OrchestratorBaseClient.RequestAsync(String baseUrl, String serviceUrl, HttpMethod method, HttpContent content, TokenFactory tokenFactory, TimeSpan timeout, Dictionary2 headers, CancellationToken ct)
at UiPath.Service.Orchestrator.Clients.OrchestratorBaseClient.RequestAsync[T](String baseUrl, String serviceUrl, HttpMethod method, HttpContent content, TokenFactory tokenFactory, TimeSpan timeout, Dictionary`2 headers, CancellationToken ct)
at UiPath.Service.Orchestrator.Clients.OrchestratorClient.SubmitHeartbeatAsync(HeartbeatPayload payload, CancellationToken ct)
at UiPath.Service.Orchestrator.Clients.OrchestratorClient.SubmitHeartbeatAsync(HeartbeatCommandState heartbeatCommand, CancellationToken ct)
at UiPath.Service.Orchestrator.Notifications.HeartbeatGenerator.SubmitHeartbeatImpl()
at UiPath.Service.Orchestrator.Notifications.HeartbeatGenerator.<>c__DisplayClass30_0.<g__submitHeartbeat|1>d.MoveNext(), HResult -2146232800

Is there someone who can help me please ?

@SA64

Did you create a machine template for the vm as it is being used by teo users I beleive

You need to create machien tempalte and use machine details to connect and not interactive sign in

Cheers

@SA64

Check below for your reference

Hope this may help you

Thanks,
Srini

Excellent ways to find the issue !

Thank you, I search in this direction and back here for news.

1 Like

Unfortunately the problem is still here…

I’ve read many posts, but there is something different for me.

Error come after some hours (approx 3-4). I investigate on our system…