UiPath Documentation
private-test-cloud
2.2610
true
Private Test Cloud admin guide

General troubleshooting

Solutions for common administration issues in Private Test Cloud, including symptoms, causes, and recovery guidance.

The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot​

The net::ERR_CERT_AUTHORITY_INVALID error occurs when your certificate expires or is involved in a certificate rotation process, indicating that it is now invalid.

It is most likely that the error occurs for the following reasons:

  • You cannot access Private Test Cloud.
  • Your robot is disconnected.

Figure 1. Your connection is not private warning

Figure 2. UiPath Error message

To fix this error, take the steps, described in the following example:

  1. Select the Not secure warning prompt. Then select Certificate is not valid from the dropdown menu.

    Figure 3. Certificate is not valid warning

  2. In the Certificate Viewer, select the Details tab. Then select Export and save the certificate.

    Figure 4. Details tab

  3. On your local machine, open certlm.msc and right-select the Personal folder, then select All Tasks, then select Import. Select the previously generated certificate and import it.

    Figure 5. Importing certificate

  4. In the same certlm.msc window from the previous step, select the Trusted Root Certification Authorities folder, then select All tasks, then select Import. Select the previously generated certificate and import it again.

    Figure 6. Importing certificate

  5. Connect the robot again to check that the error is fixed.

    Select the View site information icon. Select Connection is secure from the dropdown menu.

Browser group policies​

Signing in to your Orchestrator service from the Assistant redirects you to the SSO page. In some browsers, you may be prompted to open UiPath Assistant. This happens due to the Assistant's protocol handler not being added to the browser's group policies.

To prevent this behavior, make sure to follow the next steps, depending on the browser (Chrome/Microsoft Edge):

  1. Open Registry Editor.
  2. Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome/ or Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge, depending on the browser you use.
  3. Add a new key and name it AutoLaunchProtocolsFromOrigins.
  4. Select (Default) to edit the key.
  5. In the Edit String dialog, in the Value data field, add [{"allowed_origins": ["https://myOrchestrator.uipath.com/"],"protocol": "com.uipath.robot.oidc"}] and select OK.
    Important:

    The AutoLaunchProtocolsFromOrigins policy requires Chrome 85 or later.

  6. Close all browser tabs and relaunch the browser.
  7. Verify that your browser applied the new policy by navigating to chrome://policy or edge://policy. The recently added policy should be listed under the Chrome Policies or Microsoft Edge section with the OK status.

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.

Before you begin:

  • 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.

Before you begin:

  • 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.

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated