Details
-
Bug
-
Resolution: Resolved
-
Major
-
4.0.x, 4.1.x
-
None
-
None
-
0
Description
cluster.bucket() faces time out when the bootstrapping node is an index or query node as select_bucket request goes to 11210 port on non-kv node.
Tried this on all patches of Python SDK versions 4.0 and 4.1.
Attached are the code ("temp.py") and SDK logs ("logs.log") from the Python SDK version 4.1.10 reproduction.
The console output is:
Traceback (most recent call last):
|
File "/tmp/sdk/temp.py", line 46, in <module> |
cb = cluster.bucket(bucket_name)
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "/usr/local/lib/python3.12/site-packages/couchbase/cluster.py", line 156, in bucket |
return Bucket(self, bucket_name) |
^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "/usr/local/lib/python3.12/site-packages/couchbase/bucket.py", line 57, in __init__ |
self._open_bucket()
|
File "/usr/local/lib/python3.12/site-packages/couchbase/logic/wrappers.py", line 98, in wrapped_fn |
raise e
|
File "/usr/local/lib/python3.12/site-packages/couchbase/logic/wrappers.py", line 82, in wrapped_fn |
ret = fn(self, *args, **kwargs)
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
File "/usr/local/lib/python3.12/site-packages/couchbase/bucket.py", line 63, in _open_bucket |
raise ErrorMapper.build_exception(ret)
|
couchbase.exceptions.UnAmbiguousTimeoutException: UnAmbiguousTimeoutException(<ec=14, category=couchbase.common, message=unambiguous_timeout (14), C Source=/tmp/pip-install-5ls48d9d/couchbase_ddfa2f50f6b645ef846387a44dd763c0/src/connection.cxx:112>) |
Reproduction Steps: * create a 2-node cluster with 1 data node and 1 index/query node
- run the attached Python code, with the connection string as only the Index/Query node.
Attachments
Issue Links
- depends on
-
CXXCBC-447 Unable to connect to bucket if non-KV node provided in connection string
- Closed