#2286·node-redis

Cluster connection error [ErrorReply: ERR Protocol error: unauthenticated multibulk length]

Author: xtianus79Created Oct 5, 2022Updated Aug 26, 2026
LabelsBugstale

I am getting an error with these connection settings. Related to the previous error but different, this one is connected directly with the node-redis cluster connection:

The error I keep getting is this. [ErrorReply: ERR Protocol error: unauthenticated multibulk length]

javascript
this.client = createCluster({
        rootNodes: [
          {
            url: 'redis://ip.address.here:6379',
            username: 'default',
            password: 'password'
          },
          {
            url: 'redis://ip.address.here:6379',
            username: 'default',
            password: 'password'
          },
          {
            url: 'redis://ip.address.here:6379',
            username: 'default',
            password: 'password'
          },
          {
            url: 'redis://ip.address.here:6379',
            username: 'default',
            password: 'password'
          },
          {
            url: 'redis://ip.address.here:6379',
            username: 'default',
            password: 'password'
          },
          {
            url: 'redis://ip.address.here:6379',
            username: 'default',
            password: 'password'
          },
        ]
			});

Environment:

  • Node.js Version: 16
  • Redis Server Version: 7.0.4
  • Node Redis Version: 4.+ latest
  • Platform: linux/ubuntu