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

cbcompact should support with ssl port

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 7.0.2
    • None
    • couchbase-bucket
    • windows
    • 1

    Description

      Tested on 7.0.2 build 6660 

      On single node cluster enabled N2N and selected as strict

      loaded travel sample bucket.

      Executed cbcompact command as:

      cbcompact 172.23.97.164:11207 compact 1 -u Administrator -p password --purge-only-upto-seq=1000000 -b travel-sample

      And output observed as:

      Traceback (most recent call last):
      File "C:\Program Files\Couchbase\Server\lib\python\cbcompact", line 68, in <module>
      main()
      File "C:\Program Files\Couchbase\Server\lib\python\cbcompact", line 65, in main
      c.execute()
      File "C:\Program Files\Couchbase\Server\lib\python\clitool.py", line 83, in execute
      f[0](mc, *args[2:], **opts._dict_)
      File "C:\Program Files\Couchbase\Server\lib\python\cbcompact", line 41, in g
      f(mc, vbucket, purgeBeforeTs, purgeBeforeSeq, dropDeletes, **kwargs)
      File "C:\Program Files\Couchbase\Server\lib\python\cli_auth_utils.py", line 79, in g
      mc.sasl_auth_plain(username, password)
      File "C:\Program Files\Couchbase\Server\lib\python\mc_bin_client.py", line 488, in sasl_auth_plain
      return self.sasl_auth_start('PLAIN', '\0'.join([foruser, user, password]))
      File "C:\Program Files\Couchbase\Server\lib\python\mc_bin_client.py", line 484, in sasl_auth_start
      return self._doCmd(memcacheConstants.CMD_SASL_AUTH, mech, data)
      File "C:\Program Files\Couchbase\Server\lib\python\mc_bin_client.py", line 303, in _doCmd
      return self._handleSingleResponse(opaque)
      File "C:\Program Files\Couchbase\Server\lib\python\mc_bin_client.py", line 296, in _handleSingleResponse
      cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
      File "C:\Program Files\Couchbase\Server\lib\python\mc_bin_client.py", line 281, in _handleKeyedResponse
      cmd, errcode, opaque, cas, keylen, extralen, rv = self._recvMsg()
      File "C:\Program Files\Couchbase\Server\lib\python\mc_bin_client.py", line 250, in _recvMsg
      data = self._socketRecv(MIN_RECV_PACKET - len(response))
      File "C:\Program Files\Couchbase\Server\lib\python\mc_bin_client.py", line 244, in _socketRecv
      return self.s.recv(amount)
      ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

      Attachments

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

        Activity

          drigby Dave Rigby added a comment -

          cbcompact is an internal support / development tool and is not end-user supported - note it's not documented at https://docs.couchbase.com/server/current/cli/cli-intro.html

          Furthermore the common use-case for it is to compact the local node which localhost can be used.

          drigby Dave Rigby added a comment - cbcompact is an internal support / development tool and is not end-user supported - note it's not documented at https://docs.couchbase.com/server/current/cli/cli-intro.html Furthermore the common use-case for it is to compact the local node which localhost can be used.

          People

            deepika.verma Deepika Verma (Inactive)
            deepika.verma Deepika Verma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty