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:
- Go to the Orchestrator server and open uipath.orchestrator.dll.config file
- Go to the Orchestrator database and open [identity].[Clients] table and check which ClientId coursing this issue
- 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
- Open this site https://cryptii.com/pipes/fpEyXg
- 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.
- Copy the value from right hand side and then go to the Orchestrator database then open [identity].[ClientSecrets]
- ClientId and hashed ClientSecret in the database
- Table [identity].[ClientSecrets] where the ClientID column will match the Id of the client from [identity].[Clients]
- The value from [identity].[ClientSecrets] is a hashed value of ClientSecret in the configuration file
- Update the same clientsecret in the DB as per the below screenshot.
[identity].[Clients] table
[identity].[ClientSecrets] table
- 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.