SSL Error installing packages

Facing issue while installing/updating packages and while using download storage file activity in UiPath Studio. The error: The SSL connection could not be established, see inner exception.


 
Source: General Business Process
 
Message: The SSL connection could not be established, see inner exception.
 
Exception Type: System.Net.Http.HttpRequestException
 
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.
                --- 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.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize)
   at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
                --- End of inner exception stack trace ---
   at UiPath.Core.Activities.TaskExtensions.ThrowIfNeeded(Task task, Boolean suppresThrowException)
   at UiPath.Core.Activities.Orchestrator.BaseOrchestratorClientActivity.ThrowIfNeeded(AsyncCodeActivityContext ctx, Task task, Boolean suppresThrowException)
   at UiPath.Core.Activities.Orchestrator.BaseOrchestratorClientActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
   at System.Activities.AsyncCodeActivity`1.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 ---
   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.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

@shinenazeer

Can you please provide more details

  1. Studio version
  2. Activities version
  3. is installing causing issue or using activity?
  4. did this activity work in past?
  5. what authentication is being used

cheers

Hi @shinenazeer

This error means that connection was lost/closed during the same.

Please refer below post on same

Studio version - 2023.10.0
Activities version -

is installing causing issue or using activity? - installing/updating packages and also while using Download Storage File activity.
did this activity work in past? - was working fine till yesterday.
what authentication is being used -none this is UiPath activities no authentication.

Check if the Studio is connected to orchestrtor and pointing to correct folder. Also please Verify that the Storage Bucket URL in Orchestrator → Tenant → Settings → Storage has a valid HTTPS certificate.

@shinenazeer

Did you have any updates on the system?

like security patches or any software installation?

as per error looks like communication is breaking

can you check on any other system to validate it

cheers