Skip to content

RedisClient.address always set to "127.0.0.1:6379" when 'options.tls' is set #1035

Closed
@mmoskal

Description

@mmoskal

The field is set here:
https://github.com/NodeRedis/node_redis/blob/master/index.js#L64

before the 'tls' options are copied. This leads to error message that read:

Redis connection to 127.0.0.1:6379 failed - read ECONNRESET

instead of say:

Redis connection to myserver.net:6380 failed - read ECONNRESET

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions