- Démarrage
- Prérequis
- Meilleures pratiques
- Installation
- Mise à jour en cours
- Serveur d'identité
- Résolution des erreurs de démarrage
- Exceptions Orchestrator
- Exceptions Identity Server
- Exceptions des webhooks
- Resource Catalog exceptions
Exceptions des webhooks
Les exceptions du service Webhook et les erreurs de chargement d’assembly courantes sont rencontrées au démarrage
500.30 ASP.NET Core app failed to start - System.TypeInitializationException: The type initializer for 'System.Threading.Tasks.Task' threw an exception
Exception
Exception Info: System.TypeInitializationException: The type initializer for 'System.Threading.Tasks.Task' threw an exception.
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Threading.Tasks, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Threading.Tasks, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Dynatrace.OneAgent.Introspection.TaskEventHandler.NotifyCreated(Object taskObject, Object stateObject)
at System.Threading.Tasks.Task..ctor(Boolean canceled, TaskCreationOptions creationOptions, CancellationToken ct)
at System.Threading.Tasks.Task..cctor()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.get_CompletedTask()
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Diagnostics.StackTraceSymbols.TryOpenFile(String path)
at UiPath.IdentityServer.Web.Program.<Main>(String[] args)
Exception Info: System.TypeInitializationException: The type initializer for 'System.Threading.Tasks.Task' threw an exception.
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Threading.Tasks, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Threading.Tasks, Version=4.0.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Dynatrace.OneAgent.Introspection.TaskEventHandler.NotifyCreated(Object taskObject, Object stateObject)
at System.Threading.Tasks.Task..ctor(Boolean canceled, TaskCreationOptions creationOptions, CancellationToken ct)
at System.Threading.Tasks.Task..cctor()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.get_CompletedTask()
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Diagnostics.StackTraceSymbols.TryOpenFile(String path)
at UiPath.IdentityServer.Web.Program.<Main>(String[] args)
Origine
Ce problème est causé par l’agent Dynatrace responsable de la surveillance des performances des applications (Application Performance Monitoring, APM).
Solution
Mise à niveau vers la dernière version autonome ou vers la version minimale prise en charge. Consultez la page Cycle de vie du produit pour plus de détails.
OU
Désactiver AppInsights, Dynatrace, NewRelic, DataDog.
500.30 ASP.NET Core app failed to start - Managed server didn't initialize after X ms
Exception
Application '/LM/W3SVC/1/ROOT' with physical root 'C:\Program Files (x86)\UiPath\APPLICATIONNAME\' failed to load coreclr. Exception message:
Managed server didn't initialize after X ms.
Application '/LM/W3SVC/1/ROOT' with physical root 'C:\Program Files (x86)\UiPath\APPLICATIONNAME\' failed to load coreclr. Exception message:
Managed server didn't initialize after X ms.
Origine
La limite de temps de démarrage peut être restrictive et entraîner des temps d’arrêt dans les environnements affectés par une utilisation élevée du processeur et une forte consommation de mémoire.
Solution
Passez àla version 20.10.5+ pour augmenter la limite de temps de démarrage à 300 secondes.
Si cela est insuffisant, cela signifie que le serveur tente d’exécuter quelque chose et a rencontré un blocage. Cela est souvent le cas lorsque le paramètre EnableMigrations est défini sur True et qu’il y a une grande migration suspendue au thread principal.
Si l’indicateur est défini sur False, collectez une copie de la mémoire et soumettez-la à votre représentant client.
500.30 ASP.NET Core app failed to start - System.ApplicationException: Ledger subscriber could not be started
Exception
Exception Info: System.ApplicationException: Ledger subscriber could not be started.
Exception Info: System.ApplicationException: Ledger subscriber could not be started.
This exception is typically preceded in the Application event log by a Microsoft.Data.SqlClient.SqlException (error 40) and a "SQL Server is shutting down" entry.
Check the Application event log for a SQL connection error immediately before the Ledger subscriber exception to confirm the cause.
Origine
SQL Server was not available when Webhooks attempted to start the Ledger subscriber. This happens when SQL Server runs on the same machine as Orchestrator and has not finished starting when Orchestrator starts after an OS restart.
Solution
- Confirm that SQL Server is running and accepting connections.
- Stop the Orchestrator site in IIS Manager.
- Start the Orchestrator site in IIS Manager.
- 500.30 ASP.NET Core app failed to start - System.TypeInitializationException: The type initializer for 'System.Threading.Tasks.Task' threw an exception
- Exception
- Origine
- Solution
- 500.30 ASP.NET Core app failed to start - Managed server didn't initialize after X ms
- Exception
- Origine
- Solution
- 500.30 ASP.NET Core app failed to start - System.ApplicationException: Ledger subscriber could not be started
- Exception
- Origine
- Solution