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

cbepctl errors out when tls is enforced

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Major
    • None
    • 7.0.2
    • couchbase-bucket
    • Windows

    Description

      7.0.2 build 6645 

      Selected Enforce TLS as Strict.

      Loaded travel-sample bucket and executed cbepctl command as:

      cbepctl 172.23.97.111:11210 -u Administrator -p password -b travel-sample compact 512 0 0 1
      Failed to connect to host 172.23.97.111 on port 11210: [WinError 10061] No connection could be made because the target machine actively refused it

      As error observed with port 11210 so tried with port 11207 , but error observed with 11207 also:

      cbepctl 172.23.97.111:11207 -u Administrator -p password -b travel-sample compact 512 0 0 1
      Traceback (most recent call last):
      File "C:\Program Files\Couchbase\Server\lib\python\cbepctl", line 379, in <module>
      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\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

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            deepika.verma Deepika Verma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty