Skip to content

Redis URL scheme is not supported, redis://<user>:<password>@<host>:<port> #165

@joshnatis

Description

@joshnatis

Hello, I'm having trouble getting the client to connect to Redis. Here is a rough reproducer:

use Redis;
my $r = Redis->new(server => $ENV{REDIS_URL});

My Redis URL is in this format: redis://<user>:<password>@<host>:<port>. That's the same as the schema described here: http://www.iana.org/assignments/uri-schemes/prov/redis.

When I try to connect, I get the error "Could not connect to Redis server at <my url>: Invalid argument".

I was able to connect with this URL schema using py-redis:

r = redis.from_url(os.environ.get('REDIS_URL'))

Help please! :D

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