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

cant connect remote redis via redis url #77

Closed
michaelchandrag opened this issue Mar 15, 2020 · 1 comment
Closed

cant connect remote redis via redis url #77

michaelchandrag opened this issue Mar 15, 2020 · 1 comment

Comments

@michaelchandrag
Copy link

Hi, i can't connect to my Heroku Redis

url := redis://{user}:{password}@{host}:{port}

connection := rmq.OpenConnection("", "tcp", url, 1)

got this error

2020/03/15 14:33:40 rmq redis error is not nil dial tcp: address {the url}: too many colons in address
panic: rmq redis error is not nil dial tcp: address {the url}: too many colons in address

is there any bug and how to fix this?

Thank you

@wellle
Copy link
Member

wellle commented May 1, 2020

Seems to be an issue in go-redis. See redis/go-redis#864 (comment):

Use https://godoc.org/github.com/go-redis/redis#ParseURL

@wellle wellle closed this as completed May 1, 2020
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

2 participants