How to resolve when it is not possible to browse Orchestrator that throws "Something Went Wrong While Getting Discovery Document " exception?
This is a generic error that can occur for multiple reasons. Follow the below approaches to potentially resolve the issue:
Approach 1:
- Open IIS and check application "Identity", "UiPath Orchestrator" and "Webhooks", if any of them are stopped, try manually starting them ("Identity", "UiPath Orchestrator" and "Webhooks").
- This is caused by the user account password change. For "Identity", "UiPath Orchestrator" and "Webhooks", go to Advanced Settings -> Identity -> Custom Account -> Set -> Put the Admin or DB username and password.
- Reset IIS.
Approach 2: If Approach 1 gives a "Current user did not login to the application!" error.
- Check that UiPath DB is logged in using the user credentials or Windows authentication.
- If a user credential is used in DB, check ~identity/appsettings.production.json and see if user credentials are used in the file, update back Application Pool -> "Identity", "UiPath Orchestrator" and "Webhooks" to Application Pool Identity.
- Reset IIS.
Approach 3:
- Go to Orchestrator server IIS -> UiPath Orchestrator site -> Bindings
- Edit it
- View Certificate
- Go to Details, scroll down till the end and Copy the Thumbprint value to Notepad
- Remove all blank spaces
- Paste the same in ~identity/appsettings.production.json under the Name key
- Reset IIS.
If none of the above steps help, capture the unfiltered event viewer application logs for further investigation.
Approach 4:
- Check the Quarantine folder of Antivirus for :
- UiPath.DataMigrator.Cli.exe
- UiPath.IdentityServer.Web.exe
- WebhookService.Migrate.Cli.exe
- WebhookService.Api.exe
- If those are deleted by antivirus create an exception on them and copy them in their original folders.
If the issue persists, reproduce the issue, collect the application event logs from the Orchestrator server and share the same with UiPath Support for further analysis.