Details
-
Bug
-
Resolution: Duplicate
-
Major
-
7.0.2
-
Untriaged
-
Windows 64-bit
-
-
1
-
Unknown
Description
Tested on 7.0.2 build 6645
Selected Enforce TLS as Strict.
Executed cbtransfer command as:
cbtransfer https://172.23.97.111:18091 stdout: -u Administrator -p password
WARN: cbtransfer is deprecated please use cbdatarecovery instead
Exception in thread w0:
Traceback (most recent call last):
File "C:\Program Files\Couchbase\Server\lib\python\runtime\lib\threading.py", line 954, in _bootstrap_inner
self.run()
File "C:\Program Files\Couchbase\Server\lib\python\runtime\lib\threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "C:\Program Files\Couchbase\Server\lib\python\pump.py", line 426, in run_worker
rv = Pump(self.opts, source, sink, source_map, sink_map, self.ctl,
File "C:\Program Files\Couchbase\Server\lib\python\pump.py", line 485, in run
rv_batch, batch = self.source.provide_batch()
File "C:\Program Files\Couchbase\Server\lib\python\pump_dcp.py", line 251, in provide_batch
rv = self.get_dcp_conn()
File "C:\Program Files\Couchbase\Server\lib\python\pump_dcp.py", line 546, in get_dcp_conn
err, self.dcp_conn = pump.get_mcd_conn(host, port, username, password, bucket, self.opts.ssl,
File "C:\Program Files\Couchbase\Server\lib\python\pump.py", line 1181, in get_mcd_conn
conn = cb_bin_client.MemcachedClient(host, port, use_ssl=use_ssl, verify=verify, cacert=ca_cert)
File "C:\Program Files\Couchbase\Server\lib\python\cb_bin_client.py", line 118, in _init_
raise sock_error
UnboundLocalError: local variable 'sock_error' referenced before assignment
interrupted.
When executed same command for non strict , command executed successfully: cbtransfer http://172.23.96.164:8091 stdout: -u Administrator -p password.
Attachments
Issue Links
- duplicates
-
MB-48112 [CLI] cbtransfer based tools fail to connect to cluster when TLS is enforced
- Closed