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

Error while trying to configure redis-sentinel URI #31

Open
28ori opened this issue Nov 4, 2023 · 0 comments
Open

Error while trying to configure redis-sentinel URI #31

28ori opened this issue Nov 4, 2023 · 0 comments

Comments

@28ori
Copy link

28ori commented Nov 4, 2023

Hi,
Im trying to use the redis connector in Openshift.
I need to connect to redis-sentinel through openshift Service resource. my configuration:
redis.uri=redis-sentinel://my-redis-sentinel-service:my-port/0?timeout=some-timeout&sentinelMasterId=myMasterId
when I tried that I received this error:
"Cannot build a RedisURI. One of the following must be provided Host, Socket or Sentinel"
also tried to configure:
redis.uri=redis-sentinel://my-redis-sentinel-service:my-port?timeout=some-timeout&sentinelMasterId=myMasterId (no default db)
redis.uri=redis-sentinel://my-redis-sentinel-service:my-port/0?timeout=some-timeout&sentinelMasterId=myMasterId
and also tried without the 'timeout'
Does anyone know what can cause this problem?

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

1 participant