-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
I'm unable to establish a connection to Azure Cache for Redis, when using the ClusterClient:
//this works, but I need a ClusterClient from now on...
client := redis.NewClient(&redis.Options{
Addr: config.Queue.Redis.Addr,
Password: config.Queue.Redis.Pw,
DB: config.Queue.Redis.Db,
TLSConfig: &tls.Config{
InsecureSkipVerify: false,
},
})//this is giving me a i/o timeout error
client := redis.NewClusterClient(&redis.ClusterOptions{
Addrs: []string{config.Queue.Redis.Addr},
Password: config.Queue.Redis.Pw,
})//this is giving me the error: x509: cannot validate certificate for xx.xxx.xx.xx because it doesn't contain any IP SANs
client := redis.NewClusterClient(&redis.ClusterOptions{
Addrs: []string{config.Queue.Redis.Addr},
Password: config.Queue.Redis.Pw,
TLSConfig: &tls.Config{
InsecureSkipVerify: false,
},
})This issue might be related to #1691 ? Any ideas?
/edit: formatting
/edit2: I'm using go-redis v8.6.0, tried on MacOS & Linux
Metadata
Metadata
Assignees
Labels
No labels