UiPath Documentation
private-test-cloud
2.2610
true
Private Test Cloud-Administratorhandbuch

Allgemeine Fehlerbehebung

Lösungen für häufige Verwaltungsprobleme in Private Test Cloud, einschließlich Symptomen, Ursachen und der Anleitung zur Wiederherstellung.

Das Remotezertifikat ist aufgrund von Fehlern in der Zertifikatskette ungültig: UntrustedRoot​

Der Fehler net::ERR_CERT_AUTHORITY_INVALID tritt auf, wenn Ihr Zertifikat abläuft oder an einem Zertifikatsrotationsprozess beteiligt ist, was darauf hinweist, dass es jetzt ungültig ist.

Der Fehler kann aus folgenden Gründen auftreten:

  • Sie können nicht auf Private Test Cloud zugreifen.
  • Ihr Roboter ist nicht verbunden.

Abbildung 1. Warnung: Ihre Verbindung ist nicht privat

Abbildung 2. UiPath-Fehlermeldung

Um diesen Fehler zu beheben, führen Sie die im folgenden Beispiel beschriebenen Schritte aus:

  1. Wählen Sie die Warnaufforderung Nicht sicher aus. Wählen Sie dann im Dropdownmenü die Option Zertifikat ist nicht gültig aus .

    Abbildung 3. Warnung: Zertifikat ist nicht gültig

  2. Wählen Sie in der Zertifikatsanzeige die Registerkarte Details aus.Wählen Sie dann Exportieren aus und speichern Sie das Zertifikat.

    Abbildung 4. Registerkarte „Details“.

  3. Öffnen Sie auf Ihrer lokalen Maschine certlm.msc und klicken Sie mit der rechten Maustaste auf den Ordner Persönlich, wählen Sie dann Alle Aufgaben und anschließend Importieren aus. Wählen Sie das zuvor generierte Zertifikat aus und importieren Sie es.

    Abbildung 5. Importieren des Zertifikats

  4. Wählen Sie im gleichen certlm.msc-Fenster wie im vorherigen Schritt den Ordner Vertrauenswürdige Stammzertifizierungsstellen aus, dann Alle Aufgaben und dann Importieren. Wählen Sie das zuvor generierte Zertifikat aus und importieren Sie es erneut.

    Abbildung 6. Zertifikat wird importiert

  5. Verbinden Sie den Roboter erneut, um zu überprüfen, ob der Fehler behoben ist.

    Wählen Sie das Symbol Site-Informationen anzeigen aus. Wählen Sie Verbindung ist sicher im Dropdownmenü aus.

Browsergruppenrichtlinien​

Wenn Sie sich über den Assistant bei Ihrem Orchestrator-Dienst anmelden, werden Sie zur SSO-Seite weitergeleitet. In einigen Browsern werden Sie möglicherweise aufgefordert, den UiPath-Assistant zu öffnen. Dies geschieht, weil der Protokollhandler des Assistant nicht zu den Gruppenrichtlinien des Browsers hinzugefügt wird.

Um das zu verhindern, führen Sie die nächsten Schritte aus, je nach Browser (Chrome/Microsoft Edge):

  1. Öffnen Sie den Registrierungs-Editor.
  2. Rufen Sie je nach verwendetem Browser Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome oder Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge auf.
  3. Fügen Sie einen neuen Schlüssel hinzu, und nennen Sie ihn AutoLaunchProtocolsFromOrigins.
  4. Wählen Sie (Standard) aus, um den Schlüssel zu bearbeiten.
  5. Fügen Sie im Dialogfeld String bearbeiten im Feld Wertdaten [{"allowed_origins": ["https://myOrchestrator.uipath.com/"],"protocol": "com.uipath.robot.oidc"}] hinzu und wählen Sie OK aus.
    Wichtig:

    Die Richtlinie AutoLaunchProtocolsFromOrigins erfordert Chrome 85 oder höher.

  6. Schließen Sie alle Registerkarten des Browsers, und starten Sie den Browser neu.
  7. Stellen Sie sicher, dass der Browser die neue Richtlinie angewendet hat, indem Sie chrome://policy oder edge://policy aufrufen. Die kürzlich hinzugefügte Richtlinie sollte im Abschnitt Chrome-Richtlinien oder Microsoft Edge mit dem Status OK aufgeführt werden.

User usage dashboard and top-up options appear although top-ups are not available​

In Private Test Cloud 2.2610.0, the portal shows the User usage dashboard and top-up options, such as the Request top-up button on Preferences > Licensing, even though top-ups are not available in Private Test Cloud. Top-up requests and grants do not succeed, because the licensing services reject them.

To hide these elements, turn off the EnableUserUsageView and EnableUserTokensTopUp feature flags in the feature-flags-portal-configmap ConfigMap. Choose the procedure that matches the access your kubeconfig has.

Turning off the feature flags with a cluster-wide kubeconfig​

Use this procedure if your kubeconfig has cluster-wide access. This is the usual case, and it includes Private Test Cloud on Linux.

Bevor Sie beginnen:

  • Use kubectl, or oc on OpenShift, with admin access to the cluster.

  • On Private Test Cloud on Linux, log in as root on a server node and run the following command:

    export KUBECONFIG="/etc/rancher/rke2/rke2.yaml" && export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin"
    export KUBECONFIG="/etc/rancher/rke2/rke2.yaml" && export PATH="$PATH:/usr/local/bin:/var/lib/rancher/rke2/bin"
    

To turn off the feature flags, take the following steps:

  1. Find the Private Test Cloud namespace:

    NS=$(kubectl get configmap -A --field-selector metadata.name=feature-flags-portal-configmap -o jsonpath='{.items[0].metadata.namespace}'); echo "Namespace: $NS"
    NS=$(kubectl get configmap -A --field-selector metadata.name=feature-flags-portal-configmap -o jsonpath='{.items[0].metadata.namespace}'); echo "Namespace: $NS"
    

    The output shows the namespace, usually Namespace: uipath. If it shows only Namespace: with no value, contact UiPath Support.

  2. Turn off the feature flags:

    kubectl -n "$NS" patch configmap feature-flags-portal-configmap --type merge -p '{"data":{
    "EnableUserUsageView":"{\"version\":\"1\",\"key\":\"EnableUserUsageView\",\"kind\":\"bool\",\"name\":\"EnableUserUsageView\",\"temporary\":false,\"on\":false,\"variations\":[{\"value\":true,\"name\":\"true\"},{\"value\":false,\"name\":\"false\"}],\"defaults\":{\"onVariation\":\"true\",\"offVariation\":\"false\"}}",
    "EnableUserTokensTopUp":"{\"version\":\"1\",\"key\":\"EnableUserTokensTopUp\",\"kind\":\"bool\",\"name\":\"EnableUserTokensTopUp\",\"temporary\":false,\"on\":false,\"variations\":[{\"value\":true,\"name\":\"true\"},{\"value\":false,\"name\":\"false\"}],\"defaults\":{\"onVariation\":\"true\",\"offVariation\":\"false\"}}"
    }}'
    kubectl -n "$NS" patch configmap feature-flags-portal-configmap --type merge -p '{"data":{
    "EnableUserUsageView":"{\"version\":\"1\",\"key\":\"EnableUserUsageView\",\"kind\":\"bool\",\"name\":\"EnableUserUsageView\",\"temporary\":false,\"on\":false,\"variations\":[{\"value\":true,\"name\":\"true\"},{\"value\":false,\"name\":\"false\"}],\"defaults\":{\"onVariation\":\"true\",\"offVariation\":\"false\"}}",
    "EnableUserTokensTopUp":"{\"version\":\"1\",\"key\":\"EnableUserTokensTopUp\",\"kind\":\"bool\",\"name\":\"EnableUserTokensTopUp\",\"temporary\":false,\"on\":false,\"variations\":[{\"value\":true,\"name\":\"true\"},{\"value\":false,\"name\":\"false\"}],\"defaults\":{\"onVariation\":\"true\",\"offVariation\":\"false\"}}"
    }}'
    
  3. Wait 1 to 2 minutes, then refresh the portal page.

The User usage page and the Request top-up option are no longer shown. If you encounter any issues, contact UiPath Support.

Turning off the feature flags with a namespace-only kubeconfig​

Use this procedure if your kubeconfig only has access to the Private Test Cloud namespace.

Bevor Sie beginnen:

  • Use kubectl, or oc on OpenShift, with your Private Test Cloud kubeconfig.
  • Make sure the kubeconfig is allowed to read and change ConfigMaps in the Private Test Cloud namespace.

To turn off the feature flags, take the following steps:

  1. Set the Private Test Cloud namespace.

    Use the namespace value from the input.json file you used to install Private Test Cloud. If that value is empty, the namespace is uipath. Replace uipath in the following command if your namespace is different:

    NS=uipath
    NS=uipath
    
  2. Turn off the feature flags:

    kubectl -n "$NS" patch configmap feature-flags-portal-configmap --type merge -p '{"data":{
    "EnableUserUsageView":"{\"version\":\"1\",\"key\":\"EnableUserUsageView\",\"kind\":\"bool\",\"name\":\"EnableUserUsageView\",\"temporary\":false,\"on\":false,\"variations\":[{\"value\":true,\"name\":\"true\"},{\"value\":false,\"name\":\"false\"}],\"defaults\":{\"onVariation\":\"true\",\"offVariation\":\"false\"}}",
    "EnableUserTokensTopUp":"{\"version\":\"1\",\"key\":\"EnableUserTokensTopUp\",\"kind\":\"bool\",\"name\":\"EnableUserTokensTopUp\",\"temporary\":false,\"on\":false,\"variations\":[{\"value\":true,\"name\":\"true\"},{\"value\":false,\"name\":\"false\"}],\"defaults\":{\"onVariation\":\"true\",\"offVariation\":\"false\"}}"
    }}'
    kubectl -n "$NS" patch configmap feature-flags-portal-configmap --type merge -p '{"data":{
    "EnableUserUsageView":"{\"version\":\"1\",\"key\":\"EnableUserUsageView\",\"kind\":\"bool\",\"name\":\"EnableUserUsageView\",\"temporary\":false,\"on\":false,\"variations\":[{\"value\":true,\"name\":\"true\"},{\"value\":false,\"name\":\"false\"}],\"defaults\":{\"onVariation\":\"true\",\"offVariation\":\"false\"}}",
    "EnableUserTokensTopUp":"{\"version\":\"1\",\"key\":\"EnableUserTokensTopUp\",\"kind\":\"bool\",\"name\":\"EnableUserTokensTopUp\",\"temporary\":false,\"on\":false,\"variations\":[{\"value\":true,\"name\":\"true\"},{\"value\":false,\"name\":\"false\"}],\"defaults\":{\"onVariation\":\"true\",\"offVariation\":\"false\"}}"
    }}'
    
  3. Wait 1 to 2 minutes, then refresh the portal page.

The User usage page and the Request top-up option are no longer shown. If you encounter any issues, contact UiPath Support.

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support(opens in new window)

Möchten Sie lernen? UiPath Academy(opens in new window)

Haben Sie Fragen? UiPath-Forum(opens in new window)

Auf dem neuesten Stand bleiben