---
title: How to Fix an Auth Failed Error When Connecting to Valkey?
url: https://docs.vultr.com/support/products/storage/databases/valkey/how-to-fix-an-auth-failed-error-when-connecting-to-valkey
description: "Check why Valkey returns WRONGPASS on Vultr: use a rediss:// TLS URI and confirm the cluster is in Running state."
publish_date: 2025-09-15T13:57:38.383831Z
last_updated: 2026-10-26T23:32:30.880597Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

If you encounter the following error when connecting to your Vultr Managed Valkey Database:

```
AUTH failed: WRONGPASS invalid username-password pair or user is disabled.
```

It indicates an issue with your authentication credentials or connection method. This error can occur due to an incorrect password, wrong username, using a non-TLS connection, or if the database is not fully operational. To resolve the issue:

* **Use the correct connection string:** Copy the connection string directly from the Vultr Console. Valkey requires a secure URI format for connections. It should look like:

    ```
    rediss://<username>:<password>@<hostname>:<port>
    ```

    >[!IMPORTANT]
    >`rediss://` indicates a TLS-encrypted connection. Non-TLS URIs (`redis://`) will fail authentication.

* **Connect using `redis-cli`:** Provide the full URI with the `-u` flag:

    ```console
    $ redis-cli -u rediss://<username>:<password>@<hostname>:<port>
    ```

    This ensures the client uses the correct protocol, host, port, username, and password.

* **Verify the database state:** Ensure your Valkey database is **Running** and fully operational. Databases in states such as **Rebalancing** or **Rebuilding** will not accept connections and may produce authentication errors.

For more details on retrieving Valkey database credentials, refer to the [Valkey Connection Details](https://docs.vultr.com/products/storage/databases/valkey/management/connection/connection-details) guide.
