Skip to content

Redis Error - too many colons in adress #236

@gwellner

Description

@gwellner

I have an Error on trying to connect to a redis with a password and whole url.
The connection with localhost:6379 without password seems to work.

opt, err := redis.ParseURL(url)

I get the Error ..

dial tcp: address redis://:password@localhost:6379: too many colons in address

The colon on the end seems wrong too.

persistence.json

    "id": "redis-backend(dev)",
    "url": "redis://:password@localhost:6379",
    "name": "redis-backend(dev)",
    "type": "redis"

I can't find out why the go driver seems to use the wrong parsing format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions