redisson 连接不上
private void checkAuth(SentinelServersConfig cfg) {
if (cfg.getPassword() == null) {
return;
}
Caused by: java.util.concurrent.CompletionException: org.redisson.client.RedisException: ERR AUTH called without any password configured for the default user. Are you sure your configuration is correct?. channel: [id: 0xa2e4dcad, xxxxx.
command: (AUTH), params: (password masked)
redis:
redisson:
enabled: true
singleServerConfig:
address: redis://${tccloud.environment.redis.host}:${tccloud.environment.redis.port}
password: ${tccloud.environment.redis.password} // 密码为空 就不要配置,否则出错