Skip to content

Getting error - error: NOAUTH Authentication required (v4) #1681

@naveenakadaba

Description

@naveenakadaba
    const options = {
        socket: {
            host: config.redis.HOSTNAME,
            port: Number(config.redis.PORT)
        },
        username: config.redis.USERNAME,
        password: config.redis.PASSWORD,
        database: Number(config.redis.DATABASE)
    };

    const client = await createClient(options);

Password is correct. If I remove database option it works without any issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions