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

No way to set the redis instance password #173

Open
1 task
jclendineng opened this issue May 14, 2024 · 3 comments
Open
1 task

No way to set the redis instance password #173

jclendineng opened this issue May 14, 2024 · 3 comments

Comments

@jclendineng
Copy link

jclendineng commented May 14, 2024

app version: 1.2.1

  • twitch api key set
  • [ X] youtube api key set

issue description:

Initial setup looks like its trying to use a built in redis instance but I get this error:

Error interacting with Redis (redis is required): NOAUTH: Authentication required.

I run a dedicated redis instance for other containers, I tried using REDIS_ADDRESS/REDIS_PORT to point to my container (even though it says not to in the docs...) but it did not fix that error. My redis instance does have a password so I tried adding REDIS_PASSWORD var and also disabling password auth and no luck.

@jclendineng
Copy link
Author

It looks like REDIS_ADDRESS defaults to localhost which may be the issue, it should probably accept an override to a separate instance if provided?

@madiele
Copy link
Owner

madiele commented May 14, 2024

This is the file with the defaults and all the declared variables

https://github.com/madiele/vod2pod-rss/blob/main/src%2Fconfigs%2Fmod.rs

I completely forgot to add a way to set the password! so you will have no luck with that, if you want to add the feature feel free to open a PR, otherwise I will add it myself next time I sit down to do some routine mantainence on the repo and I'll keep this issue open as a reminder.

If you don't set the address it will set it to localhost, mostly to help with local development, if it does not work even when you set your redis instance with no password I would make sure the vod2pod and redis container can comunicate with each other, maybe you are missing some docker networking magic

@jclendineng
Copy link
Author

Aw. I set allowblankpassword to true but I didn't remove the old password, when I removed the password it worked.

Thank you!!

@madiele madiele changed the title Redis issues No way to set the redis instance password Jun 5, 2024
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