Skip to content

Error while trying to configure redis-sentinel URI #31

Open
@282ori

Description

@282ori

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?

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