Hi ,
I’m setting up Gitea to use a Redis cluster as a cache. According to the documentation, the connection string supports specifying a password for authentication as mentioned below,
redis+cluster://[password@]host1 [: port1][, host2 [:port2]][, hostN [:portN]][/ database][?[option=value]*]
My Redis cluster requires a username and password for authentication, so I updated the connection string accordingly to include the username as below,
redis+cluster://[username:password@]host1 [: port1][, host2 [:port2]][, hostN [:portN]][/ database][?[option=value]*]
This setup works perfectly when Redis is configured to use IPv4 addresses. However, when I switch to using IPv6 addresses, the connection fails.
Is there a specific format for including a username when using redis+cluster
as a cache?