Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconnect fails when redis is in subscribe mode #178

Open
guimard opened this issue Jan 30, 2025 · 0 comments
Open

Reconnect fails when redis is in subscribe mode #178

guimard opened this issue Jan 30, 2025 · 0 comments

Comments

@guimard
Copy link

guimard commented Jan 30, 2025

Hi,

thanks a lot for Redis.pm. Anyway when we use a Redis object to subscribe to a channel, the reconnect mechanism always fail to reconnect to a restarted server when a password is asked. This is due to __is_valid_command which check that we're not in subscribe mode, so the "AUTH" command is never sent: Cannot use command 'auth' while in SUBSCRIBE mode, at /usr/share/perl5/vendor_perl/Redis.pm.

Best regards,
Xavier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant