Skip to main content

Symptom

The client can not connect to the database throwing an exception similar to:

Diagnosis

The server does not let you connect because the password is missing in your connection parameters.

Solution

Check your connection parameters and ensure they contain the password. If you are using ioredis (Redis client) with a Redis URL, check the URL format. ioredis requires a colon before the password. The format for IORedis - TLS enabled
The format for IORedis - TLS disabled
You can copy the correct client configuration from Upstash console clicking on Redis Connect button.