Skip to content

Reconnect fails when redis is in subscribe mode #178

@guimard

Description

@guimard

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions