lua-resty-session icon indicating copy to clipboard operation
lua-resty-session copied to clipboard

resty-session v 3.10 rediscluster auth error : NOAUTH Authentication required

Open darkSheep404 opened this issue 1 year ago • 1 comments

Hi Bungle/Community we occur error "NOAUTH Authentication required" when using openresty-opendic with redis-cluster which rely on lua-resty-session 3.10

After troubleshooting, we found it casued by below PR which replaces the parameter auth required by redis-cluster- with a wrong param name password

For production environments, it is necessary to use clustered redis instead of single-node redis for high availability

Since 4.0 is not backward compatible, and there's no 3.10 branch, I don't seem to be able to initiate a PR,could you consider releasing 3.11 to fix this issue

Best regards image https://github.com/bungle/lua-resty-session/pull/139/commits/98711d539c7dae488d07539bd94bf809f07e3ab8

Change this line back will works image

darkSheep404 avatar Jul 11 '24 09:07 darkSheep404

I have also encountered this issue, using latest APISIX, which uses lua-resty-session 3.10 and incompatible with 4.0. Actually, this is a major bug, it would be very nice to build a bugfix release like 3.10.1. I could make a PR to a bugfix branch.

mmorev avatar Aug 23 '24 09:08 mmorev