Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16526

Fix ping to Redis server which needs authentication

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF06, 7.2
    • Component/s: Redis

      Description

      At startup, Nuxeo Platform tries to ping a Redis server to select a host.
      But this method fails if the server requires an authentication (with requirepass directive in redis.conf file), even if the pasword was filled in Nuxeo configuration:

      ERROR [localhost-startStop-1] [org.nuxeo.ecm.core.redis.RedisServerDescriptor] Exception during ping
      redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required.
      	at redis.clients.jedis.Protocol.processError(Protocol.java:100)
      	at redis.clients.jedis.Protocol.process(Protocol.java:118)
      	at redis.clients.jedis.Protocol.read(Protocol.java:187)
      	at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:175)
      	at redis.clients.jedis.BinaryJedis.ping(BinaryJedis.java:65)
      	at org.nuxeo.ecm.core.redis.RedisServerDescriptor.canPing(RedisServerDescriptor.java:81)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.