Orchestrator
2022.10
False
Image de fond de la bannière
Guide d'installation d'Orchestrator
Dernière mise à jour 19 avr. 2024

Exceptions des webhooks

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.

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Logo Uipath blanc
Confiance et sécurité
© 2005-2024 UiPath. All rights reserved.