robot
2024.10
true
Admin Guide
Last updated 21. Okt. 2024

Fehlerbehebung für den Roboterdienst

Keine Verbindung zum Roboter-Dienst

Beschreibung

Sometimes you might not be able to start an automation, no matter if the Robot Service is on or off. Manually starting the automation displays the following error message: "Get settings from service failed, reason System.Exception: Could not connect to UiPath Robot Service.".

The following solutions may need to be implemented by your network administrator.

Mögliches Problem

Lösung

Der Roboterdienst wird nicht ausgeführt.

Manually start the Robot service:

  1. Open the Services window.

  2. Select the UiPathRobotSvc service.
  3. Select Start.

Der Start des Roboterdienstes dauert zu lange.

Windows meldet Dienste, die nicht in einer bestimmten Zeit geladen werden. Standardmäßig beträgt dieser Timeoutwert 30 Sekunden, was für den Roboterdienst vielleicht nicht ausreicht. Um diesen Wert zu erhöhen, müssen Sie:

  1. den Windows-Registrierungs-Editor öffnen.

  2. Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control registry key, and select the Control subkey.

  3. If the ServicesPipeTimeout value is not available, create it:
    1. Right-click the Control subkey, and select DWORD (32-bit) Value from the New menu. A new blank DWORD Value is created.

    2. Geben Sie ServicesPipeTimeout als Name des neuen Werts ein.

  4. Double-click the ServicesPipeTimeout DWORD value. The Edit DWORD (32-bit) Value window is displayed.

  5. Wählen Sie im Abschnitt Basis die Option Dezimal aus.

  6. In the Value data: field, type in 180,000. This makes the default ServicesPipeTimeout 3 minutes. It should be enough time for all Windows services to properly load.

  7. Close the Windows Registry Editor, then restart the system for the changes to take effect.

Die Robotermaschine verfügt über falsche Berechtigungen. In diesem Fall wird der Roboterdienst möglicherweise auch als ausgeführt angezeigt.

Berechtigungen für Dienste werden wie folgt über den Windows-Registrierungs-Editor erteilt:

  1. den Windows-Registrierungs-Editor öffnen.

  2. Navigate to theHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet registry key.

  3. Right-click the Control subkey, and click on Permissions. The Permissions for Control window is displayed.

  4. Wählen Sie im Abschnitt Gruppe oder Benutzernamen den Benutzer aus, unter dem Sie angemeldet sind.

  5. Aktivieren Sie die Option Zulassen für Vollzugriff im Abschnitt Berechtigungen. Dadurch werden dem Roboter die erforderlichen Berechtigungen erteilt.

  6. Select Apply and OK to confirm the changes, then close the window.

  7. Restart the system for the changes to take effect.

Fehler bei der Ausführung als Administrator

Beschreibung

Starting with version 2020.4, running UiPath Assistant or Studio as an administrator could block the communication with the Robot Service. The following issues may occur:

  • In Studio - the Robot Status displays a "Robot Error" message, and when trying to run or debug a process, an "Access Denied" error is displayed.

  • In Assistant - the connection statust is incorrectly reported offline and the process list is not available.

Mögliches Problem

Studio and Assistant must communicate with the Robot Service, which is a separate Windows process. The Robot Service starts up at the same level of access rights as the Assistant or Studio, which ever calls the service first.

The issue arises when you start the Assistant or Studio at different levels of access rights, such as a normal user and then as an administrator. For example, say the Assistant starts as a normal user, and then you restart it as an administrator. The Robot Service, specifically the User Host service, which was started at the normal user level, is unable to communicate with the Assistant running at the administrator level.

Lösung

Ensure the Robot Service, Assistant, and Studio all operate at the same privilege level.

  • Keine Verbindung zum Roboter-Dienst
  • Beschreibung
  • Fehler bei der Ausführung als Administrator
  • Beschreibung
  • Mögliches Problem
  • Lösung

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo White
Vertrauen und Sicherheit
© 2005–2024 UiPath. Alle Rechte vorbehalten