An Error During Robot Deletion And Creation Causes Robot Into Unresponsive Status

An error has occurred during Robot deletion and creation also all Robot went unresponsive status

Error: An error has occurred during Robot deletion and creation also all Robot went unresponsive status.

From Identity Server Error: IdentityServer4.Validation.ClientSecretValidator Client secret validation failed for client: 3161bbcf-381a-4ed8-afac-aa96b08694e4.

From Orchestrator Application Info Message: IdentityServer4.Events.DefaultEventService {"ClientId":"3161bbcf-381a-4ed8-afac-aa96b08694e4", "Category":"Authentication", "Name":"Client Authentication Failure", "EventType":"Failure", "Id":1011, "Message":"Invalid client secret", "ActivityId":"8000e654-0002-f600-b63f-84710c7967bb", "TimeStamp":"2023-06-21T07:47:39Z", "ProcessId":4748, "LocalIpAddress":"10.180.128.162:443", "RemoteIpAddress":"10.180.128.162"}

Resolution:

  1. Go to the Orchestrator server and open uipath.orchestrator.dll.config file
  2. Go to the Orchestrator database and open [identity].[Clients] table and check which ClientId coursing this issue
  3. Once identified the clientid then check the same clientId in the uipath.orchestrator.dll.config and check ClientSecret corresponding to the clientId as per the event log
  4. Open this site https://cryptii.com/pipes/fpEyXg

  1. Enter the ClientSecret from the left hand side test box and it will auto generate the secret value from right hand side as per the below screenshot.

  1. Copy the value from right hand side and then go to the Orchestrator database then open [identity].[ClientSecrets]
  2. ClientId and hashed ClientSecret in the database
  3. Table [identity].[ClientSecrets] where the ClientID column will match the Id of the client from [identity].[Clients]
  4. The value from [identity].[ClientSecrets] is a hashed value of ClientSecret in the configuration file
  5. Update the same clientsecret in the DB as per the below screenshot.

[identity].[Clients] table

[identity].[ClientSecrets] table

  1. Once updating the correct Secret Value in the above table, it is possible to delete the Robot and make the connection to the assistant as expected.