kataras / neffos

A modern, fast and scalable websocket framework with elegant API written in Go
http://bit.ly/neffos-wiki
MIT License
572 stars 47 forks source link

[BUG] redis.NewStackExchange got radis err: NOAUTH Authentication required. #55

Open bigBron opened 3 years ago

bigBron commented 3 years ago

I can confirm that the configuration is correct and the same configuration can connect to the cluster using go-redis. @kataras can you add a go-redis dependency?

Locate where the error occurred: https://github.com/kataras/neffos/blob/2221a9afc8392b9a3e984473dd34f8380ce80840/stackexchange/redis/stackexchange_redis.go#L106-L111

ref: https://github.com/mediocregopher/radix/blob/edd71ccab1b4dadde5b6e422e7af086230c0cf54/cluster.go#L203-L208

kluevandrew commented 2 years ago

Confirm same issue