Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-51703

[Enforce-TLS]: Support cbepctl usage over memcached ssl port

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • 7.1.0
    • couchbase-bucket
    • None
    • 1

    Description

      Similar to MB-47567 (which covers cbstats) cbepctl needs to work when TLS is enforced.

      See:

      # /opt/couchbase/bin/cbepctl localhost:11207 -u Administrator -p password start
      Traceback (most recent call last):
        File "/opt/couchbase/lib/python/cbepctl", line 368, in <module>
          c.execute()
        File "/opt/couchbase/lib/python/clitool.py", line 83, in execute
          f[0](mc, *args[2:], **opts.__dict__)
        File "/opt/couchbase/lib/python/cli_auth_utils.py", line 79, in g
          mc.sasl_auth_plain(username, password)
        File "/opt/couchbase/lib/python/mc_bin_client.py", line 488, in sasl_auth_plain
          return self.sasl_auth_start('PLAIN', '\0'.join([foruser, user, password]))
        File "/opt/couchbase/lib/python/mc_bin_client.py", line 484, in sasl_auth_start
          return self._doCmd(memcacheConstants.CMD_SASL_AUTH, mech, data)
        File "/opt/couchbase/lib/python/mc_bin_client.py", line 303, in _doCmd
          return self._handleSingleResponse(opaque)
        File "/opt/couchbase/lib/python/mc_bin_client.py", line 296, in _handleSingleResponse
          cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
        File "/opt/couchbase/lib/python/mc_bin_client.py", line 281, in _handleKeyedResponse
          cmd, errcode, opaque, cas, keylen, extralen, rv = self._recvMsg()
        File "/opt/couchbase/lib/python/mc_bin_client.py", line 250, in _recvMsg
          data = self._socketRecv(MIN_RECV_PACKET - len(response))
        File "/opt/couchbase/lib/python/mc_bin_client.py", line 244, in _socketRecv
          return self.s.recv(amount)
      ConnectionResetError: [Errno 104] Connection reset by peer 
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              owend Daniel Owen
              owend Daniel Owen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty