---
title: "METRIC UNKNOWN - RegistryError ... Insufficient credentials"
description: "METRIC UNKNOWN - RegistryError occurs due to incorrect registry password in orchestrator.yaml. Upgrading to Opsview 6.12.1+ or updating the password and applying changes resolves the issue."
url: "https://docs.itrsgroup.com/docs/faq/opsview/4922874719005-opsview-metric-unknown-registryerror-insufficient-credentials/index.html"
---
## Symptoms

- The following error appears repeatedly in `/var/log/opsview/opsview.log`:

  ```
  METRIC UNKNOWN - RegistryError<status_code=401, error_code=110, index=0, message='The request requires user authentication', raw_message=bytearray(b'{"errorCode":110,"message":"The request requires user authentication","cause":"Insufficient credentials","index":0}
  ')>
  ```

- You occasionally see the error `Web exception: Please refer to the system log for more details or contact your System Administrator` in the UI

  AND/OR

- The registry password within the orchestrator.yaml is being reset.

## Cause: Incorrect registry password

*Known issue: **OP-42928** - this has been fixed in **Opsview 6.12.1***

The `setup-monitoring.yml` playbook sets the registry password in the file relevant file to the default value of `opsview` despite this not necessarily being the correct registry password.

`/opt/opsview/monitoringscripts/etc/plugins/self-monitoring/orchestrator.yaml`

### Solution

Either upgrade to version 6.12.1+, or do as follows:

- File to update:

```
/opt/opsview/monitoringscripts/etc/plugins/self-monitoring/orchestrator.yaml
```

**For version 6.9.0 you may need to do the below:**
as an apply change reverts the changes when done on the above file

```
sed -i 's/password: opsview/password: '`cat /opt/opsview/deploy/etc/user_secrets.yml | grep opsview_registry_password | awk '{print $2}'`'/g' /opt/opsview/monitoringscripts/builtin/etc/plugins/self-monitoring/orchestrator.yaml
```

**Important Requirement:**

**-** Please now Apply Changes to push out the change to the relevant file.


