I am using pip couchbase==4.1.2 library to connect to couchbase from kubernetes cluster. I am able to telnet to the couchbase cluster. My python version = 3.8.0 and openssl version = OpenSSL 1.1.1f .
Below is my python script
import uuid
import os
from datetime import datetime, timedelta
from pytz import timezone
from couchbase.auth import PasswordAuthenticator
from couchbase.cluster import Cluster
from couchbase.options import ClusterOptions , ClusterTimeoutOptions
from dotenv import load_dotenv
LOAD_TEST_USERNAME = “xxx@yyy.com”
load_dotenv()
server_ip = os.environ.get(‘CB_SERVER_IP’)
username = os.environ.get(‘CB_USERNAME’, ‘’)
password = os.environ.get(‘CB_PASSWORD’, ‘’)
bucket_name = os.environ.get(‘CB_BUCKET_NAME’)
scope = os.environ.get(‘CB_SCOPE’, ‘content’)
collection = os.environ.get(‘CB_COLLECTION’, ‘contents’)
auth = PasswordAuthenticator(username, password)
timeout_opts = ClusterTimeoutOptions(connect_timeout=timedelta(seconds=20),
kv_timeout=timedelta(seconds=20))
cluster = Cluster(“couchbase://{}”.format(server_ip), ClusterOptions(auth))
cluster.wait_until_ready(timedelta(seconds=50))
cb = cluster.bucket(bucket_name)
cb_coll = cb.scope(scope).collection(collection)
I am getting below error : -
Traceback (most recent call last): File "src/data-generator.py", line 28, in <module> cb = cluster.bucket(bucket_name) File "/usr/local/lib/python3.8/dist-packages/couchbase/cluster.py", line 156, in bucket return Bucket(self, bucket_name) File "/usr/local/lib/python3.8/dist-packages/couchbase/bucket.py", line 57, in __init__ self._open_bucket() File "/usr/local/lib/python3.8/dist-packages/couchbase/logic/wrappers.py", line 101, in wrapped_fn raise e File "/usr/local/lib/python3.8/dist-packages/couchbase/logic/wrappers.py", line 85, in wrapped_fn ret = fn(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/couchbase/bucket.py", line 63, in _open_bucket raise ErrorMapper.build_exception(ret) couchbase.exceptions.UnAmbiguousTimeoutException: <ec=14, category=couchbase.common, message=unambiguous_timeout (14), C Source=/home/ec2-user/workspace/python/sdk/python-manylinux-wheel-pipeline/couchbase-python-client/src/connection.cxx:109>
After enabling debug loglevel : -
[2023-10-06 08:36:05.232] [8,8] [debug] 67ms, Using nameserver: 10.2.0.10
[2023-10-06 08:36:05.234] [8,8] [debug] 1ms, [9e6bc9-3474-a447-26b4-54642ff292235e/287450-23ec-5b43-8c54-4ceb4dffd0de56/plain/-] x.x.x.75:11210 attempt to establish MCBP connection
[2023-10-06 08:36:05.234] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/287450-23ec-5b43-8c54-4ceb4dffd0de56/plain/-] x.x.x.75:11210 connecting to x.x.x.75:11210, timeout=2000ms
[2023-10-06 08:36:05.237] [8,10] [debug] 2ms, [9e6bc9-3474-a447-26b4-54642ff292235e/287450-23ec-5b43-8c54-4ceb4dffd0de56/plain/-] x.x.x.75:11210 connected to x.x.x.75:11210
[2023-10-06 08:36:05.237] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/287450-23ec-5b43-8c54-4ceb4dffd0de56/plain/-] <x.x.x.75/x.x.x.75:11210> user_agent={“a”:“cxx/1.0.0/178a242;Linux/x86_64;pycbc/4.1.2 (python/3.8.10)”,“i”:“9e6bc9-3474-a447-26b4-54642ff292235e/287450-23ec-5b43-8c54-4ceb4dffd0de56”}, requested_features=[tcp_nodelay, xattr, xerror, select_bucket, json, duplex, alt_request_support, tracing, sync_replication, vattr, collections, subdoc_create_as_deleted, preserve_ttl, unordered_execution, snappy, mutation_seqno]
[2023-10-06 08:36:05.239] [8,10] [debug] 1ms, [9e6bc9-3474-a447-26b4-54642ff292235e/287450-23ec-5b43-8c54-4ceb4dffd0de56/plain/-] <x.x.x.75/x.x.x.75:11210> supported_features=[tcp_nodelay, mutation_seqno, xattr, xerror, select_bucket, snappy, json, duplex, unordered_execution, tracing, alt_request_support, sync_replication, collections, preserve_ttl, vattr, subdoc_create_as_deleted]
[2023-10-06 08:36:05.246] [8,10] [debug] 7ms, [9e6bc9-3474-a447-26b4-54642ff292235e/287450-23ec-5b43-8c54-4ceb4dffd0de56/plain/-] <x.x.x.75/x.x.x.75:11210> detected network is “default”
[2023-10-06 08:36:05.246] [8,10] [debug] 0ms, PYCBC: create conn callback completed
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/6fa0b2-8b95-f149-0fff-31cc36845cc802] connecting to x.x.x.68:8092, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/0affce-f546-d74d-df1c-7e87859845e953] connecting to x.x.x.68:8091, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/5b7b9f-c523-1e42-67bb-fc2c85b931fcb1] connecting to x.x.x.69:8092, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/cf1209-e4a8-fd48-a9ce-77c4db9101a3e3] connecting to x.x.x.69:8091, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/169d43-abc3-cc42-efd6-589eaab43d5ccf] connecting to x.x.x.70:8091, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/3b536a-6780-4445-6d87-50d95b7c5e26b1] connecting to x.x.x.71:8092, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/703ab1-6a08-e745-b9e3-a70beb43fdf192] connecting to x.x.x.71:8091, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/b75332-ecdc-5841-2bad-b612ce34a9839f] connecting to x.x.x.72:8091, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/6d6dc1-b705-714a-12c8-a97ad2b1e280df] connecting to x.x.x.73:8091, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/f2c591-c173-8c46-4dd3-aea4af2e7fa9d8] connecting to x.x.x.74:8093, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/f495dc-6ff3-4940-9772-75cd6a2fb0aa09] connecting to x.x.x.74:8091, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/317a9e-0b7d-3247-1c99-a0604eff9dc6e7] connecting to x.x.x.75:8093, timeout=2000ms
[2023-10-06 08:36:05.247] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/8139d7-6fc2-ce46-2d0f-a5ae9b42e7952d] connecting to x.x.x.75:8091, timeout=2000ms
[2023-10-06 08:36:05.249] [8,10] [debug] 1ms, [9e6bc9-3474-a447-26b4-54642ff292235e/317a9e-0b7d-3247-1c99-a0604eff9dc6e7] connected to x.x.x.75:8093
[2023-10-06 08:36:05.249] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/3b536a-6780-4445-6d87-50d95b7c5e26b1] connected to x.x.x.71:8092
[2023-10-06 08:36:05.249] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/703ab1-6a08-e745-b9e3-a70beb43fdf192] connected to x.x.x.71:8091
[2023-10-06 08:36:05.249] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/8139d7-6fc2-ce46-2d0f-a5ae9b42e7952d] connected to x.x.x.75:8091
[2023-10-06 08:36:05.249] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/0affce-f546-d74d-df1c-7e87859845e953] connected to x.x.x.68:8091
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/6fa0b2-8b95-f149-0fff-31cc36845cc802] connected to x.x.x.68:8092
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/5b7b9f-c523-1e42-67bb-fc2c85b931fcb1] connected to x.x.x.69:8092
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/b75332-ecdc-5841-2bad-b612ce34a9839f] connected to x.x.x.72:8091
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/cf1209-e4a8-fd48-a9ce-77c4db9101a3e3] connected to x.x.x.69:8091
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/169d43-abc3-cc42-efd6-589eaab43d5ccf] connected to x.x.x.70:8091
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/703ab1-6a08-e745-b9e3-a70beb43fdf192] x.x.x.71:8091 put HTTP session back to idle connections
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/3b536a-6780-4445-6d87-50d95b7c5e26b1] x.x.x.71:8092 put HTTP session back to idle connections
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/6d6dc1-b705-714a-12c8-a97ad2b1e280df] connected to x.x.x.73:8091
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/f2c591-c173-8c46-4dd3-aea4af2e7fa9d8] connected to x.x.x.74:8093
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/b75332-ecdc-5841-2bad-b612ce34a9839f] x.x.x.72:8091 put HTTP session back to idle connections
[2023-10-06 08:36:05.250] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/f495dc-6ff3-4940-9772-75cd6a2fb0aa09] connected to x.x.x.74:8091
[2023-10-06 08:36:05.251] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/317a9e-0b7d-3247-1c99-a0604eff9dc6e7] x.x.x.75:8093 put HTTP session back to idle connections
[2023-10-06 08:36:05.251] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/0affce-f546-d74d-df1c-7e87859845e953] x.x.x.68:8091 put HTTP session back to idle connections
[2023-10-06 08:36:05.251] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/5b7b9f-c523-1e42-67bb-fc2c85b931fcb1] x.x.x.69:8092 put HTTP session back to idle connections
[2023-10-06 08:36:05.252] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/cf1209-e4a8-fd48-a9ce-77c4db9101a3e3] x.x.x.69:8091 put HTTP session back to idle connections
[2023-10-06 08:36:05.252] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/6fa0b2-8b95-f149-0fff-31cc36845cc802] x.x.x.68:8092 put HTTP session back to idle connections
[2023-10-06 08:36:05.252] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/169d43-abc3-cc42-efd6-589eaab43d5ccf] x.x.x.70:8091 put HTTP session back to idle connections
[2023-10-06 08:36:05.252] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/8139d7-6fc2-ce46-2d0f-a5ae9b42e7952d] x.x.x.75:8091 put HTTP session back to idle connections
[2023-10-06 08:36:05.252] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/6d6dc1-b705-714a-12c8-a97ad2b1e280df] x.x.x.73:8091 put HTTP session back to idle connections
[2023-10-06 08:36:05.252] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/f2c591-c173-8c46-4dd3-aea4af2e7fa9d8] x.x.x.74:8093 put HTTP session back to idle connections
[2023-10-06 08:36:05.252] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/f495dc-6ff3-4940-9772-75cd6a2fb0aa09] x.x.x.74:8091 put HTTP session back to idle connections
[2023-10-06 08:36:05.253] [8,8] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 attempt to establish MCBP connection
[2023-10-06 08:36:05.253] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connecting to x.x.x.75:11210, timeout=2000ms
[2023-10-06 08:36:05.255] [8,10] [debug] 2ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connected to x.x.x.75:11210
[2023-10-06 08:36:05.255] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> user_agent={“a”:“cxx/1.0.0/178a242;Linux/x86_64;pycbc/4.1.2 (python/3.8.10)”,“i”:“9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038”}, requested_features=[tcp_nodelay, xattr, xerror, select_bucket, json, duplex, alt_request_support, tracing, sync_replication, vattr, collections, subdoc_create_as_deleted, preserve_ttl, unordered_execution, snappy, mutation_seqno]
[2023-10-06 08:36:05.257] [8,10] [debug] 1ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> supported_features=[tcp_nodelay, mutation_seqno, xattr, xerror, select_bucket, snappy, json, duplex, unordered_execution, tracing, alt_request_support, sync_replication, collections, preserve_ttl, vattr, subdoc_create_as_deleted]
[2023-10-06 08:36:05.264] [8,10] [debug] 6ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> kv_engine node does not have configuration propagated yet (opcode=select_bucket (0x89), status=not_found (0x01), opaque=100663296)
[2023-10-06 08:36:05.264] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> reached the end of list of bootstrap nodes, waiting for 500ms before restart
[2023-10-06 08:36:05.764] [8,10] [debug] 500ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 attempt to establish MCBP connection
[2023-10-06 08:36:05.764] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connecting to x.x.x.75:11210, timeout=2000ms
[2023-10-06 08:36:05.767] [8,10] [debug] 2ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connected to x.x.x.75:11210
[2023-10-06 08:36:05.767] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> user_agent={“a”:“cxx/1.0.0/178a242;Linux/x86_64;pycbc/4.1.2 (python/3.8.10)”,“i”:“9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038”}, requested_features=[tcp_nodelay, xattr, xerror, select_bucket, json, duplex, alt_request_support, tracing, sync_replication, vattr, collections, subdoc_create_as_deleted, preserve_ttl, unordered_execution, snappy, mutation_seqno]
[2023-10-06 08:36:05.769] [8,10] [debug] 2ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> supported_features=[tcp_nodelay, mutation_seqno, xattr, xerror, select_bucket, snappy, json, duplex, unordered_execution, tracing, alt_request_support, sync_replication, collections, preserve_ttl, vattr, subdoc_create_as_deleted]
[2023-10-06 08:36:05.777] [8,10] [debug] 7ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> kv_engine node does not have configuration propagated yet (opcode=select_bucket (0x89), status=not_found (0x01), opaque=218103808)
[2023-10-06 08:36:05.777] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> reached the end of list of bootstrap nodes, waiting for 500ms before restart
[2023-10-06 08:36:06.277] [8,10] [debug] 500ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 attempt to establish MCBP connection
[2023-10-06 08:36:06.277] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connecting to x.x.x.75:11210, timeout=2000ms
[2023-10-06 08:36:06.279] [8,10] [debug] 2ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connected to x.x.x.75:11210
[2023-10-06 08:36:06.279] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> user_agent={“a”:“cxx/1.0.0/178a242;Linux/x86_64;pycbc/4.1.2 (python/3.8.10)”,“i”:“9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038”}, requested_features=[tcp_nodelay, xattr, xerror, select_bucket, json, duplex, alt_request_support, tracing, sync_replication, vattr, collections, subdoc_create_as_deleted, preserve_ttl, unordered_execution, snappy, mutation_seqno]
[2023-10-06 08:36:06.281] [8,10] [debug] 1ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> supported_features=[tcp_nodelay, mutation_seqno, xattr, xerror, select_bucket, snappy, json, duplex, unordered_execution, tracing, alt_request_support, sync_replication, collections, preserve_ttl, vattr, subdoc_create_as_deleted]
[2023-10-06 08:36:06.289] [8,10] [debug] 8ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> kv_engine node does not have configuration propagated yet (opcode=select_bucket (0x89), status=not_found (0x01), opaque=335544320)
[2023-10-06 08:36:06.290] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> reached the end of list of bootstrap nodes, waiting for 500ms before restart
[2023-10-06 08:36:06.790] [8,10] [debug] 500ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 attempt to establish MCBP connection
[2023-10-06 08:36:06.790] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connecting to x.x.x.75:11210, timeout=2000ms
[2023-10-06 08:36:06.792] [8,10] [debug] 2ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connected to x.x.x.75:11210
[2023-10-06 08:36:06.792] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> user_agent={“a”:“cxx/1.0.0/178a242;Linux/x86_64;pycbc/4.1.2 (python/3.8.10)”,“i”:“9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038”}, requested_features=[tcp_nodelay, xattr, xerror, select_bucket, json, duplex, alt_request_support, tracing, sync_replication, vattr, collections, subdoc_create_as_deleted, preserve_ttl, unordered_execution, snappy, mutation_seqno]
[2023-10-06 08:36:06.794] [8,10] [debug] 1ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> supported_features=[tcp_nodelay, mutation_seqno, xattr, xerror, select_bucket, snappy, json, duplex, unordered_execution, tracing, alt_request_support, sync_replication, collections, preserve_ttl, vattr, subdoc_create_as_deleted]
[2023-10-06 08:36:06.801] [8,10] [debug] 7ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> kv_engine node does not have configuration propagated yet (opcode=select_bucket (0x89), status=not_found (0x01), opaque=452984832)
[2023-10-06 08:36:06.801] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> reached the end of list of bootstrap nodes, waiting for 500ms before restart
[2023-10-06 08:36:07.301] [8,10] [debug] 500ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 attempt to establish MCBP connection
[2023-10-06 08:36:07.301] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connecting to x.x.x.75:11210, timeout=2000ms
[2023-10-06 08:36:07.304] [8,10] [debug] 2ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connected to x.x.x.75:11210
[2023-10-06 08:36:07.304] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> user_agent={“a”:“cxx/1.0.0/178a242;Linux/x86_64;pycbc/4.1.2 (python/3.8.10)”,“i”:“9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038”}, requested_features=[tcp_nodelay, xattr, xerror, select_bucket, json, duplex, alt_request_support, tracing, sync_replication, vattr, collections, subdoc_create_as_deleted, preserve_ttl, unordered_execution, snappy, mutation_seqno]
[2023-10-06 08:36:07.306] [8,10] [debug] 1ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> supported_features=[tcp_nodelay, mutation_seqno, xattr, xerror, select_bucket, snappy, json, duplex, unordered_execution, tracing, alt_request_support, sync_replication, collections, preserve_ttl, vattr, subdoc_create_as_deleted]
[2023-10-06 08:36:07.314] [8,10] [debug] 8ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> kv_engine node does not have configuration propagated yet (opcode=select_bucket (0x89), status=not_found (0x01), opaque=570425344)
[2023-10-06 08:36:07.314] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> reached the end of list of bootstrap nodes, waiting for 500ms before restart
[2023-10-06 08:36:07.814] [8,10] [debug] 500ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 attempt to establish MCBP connection
[2023-10-06 08:36:07.814] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connecting to x.x.x.75:11210, timeout=2000ms
[2023-10-06 08:36:07.817] [8,10] [debug] 2ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connected to x.x.x.75:11210
[2023-10-06 08:36:07.817] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> user_agent={“a”:“cxx/1.0.0/178a242;Linux/x86_64;pycbc/4.1.2 (python/3.8.10)”,“i”:“9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038”}, requested_features=[tcp_nodelay, xattr, xerror, select_bucket, json, duplex, alt_request_support, tracing, sync_replication, vattr, collections, subdoc_create_as_deleted, preserve_ttl, unordered_execution, snappy, mutation_seqno]
[2023-10-06 08:36:07.819] [8,10] [debug] 2ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> supported_features=[tcp_nodelay, mutation_seqno, xattr, xerror, select_bucket, snappy, json, duplex, unordered_execution, tracing, alt_request_support, sync_replication, collections, preserve_ttl, vattr, subdoc_create_as_deleted]
[2023-10-06 08:36:07.826] [8,10] [debug] 7ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> kv_engine node does not have configuration propagated yet (opcode=select_bucket (0x89), status=not_found (0x01), opaque=687865856)
[2023-10-06 08:36:07.826] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> reached the end of list of bootstrap nodes, waiting for 500ms before restart
[2023-10-06 08:36:08.327] [8,10] [debug] 500ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 attempt to establish MCBP connection
[2023-10-06 08:36:08.327] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connecting to x.x.x.75:11210, timeout=2000ms
[2023-10-06 08:36:08.330] [8,10] [debug] 2ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] x.x.x.75:11210 connected to x.x.x.75:11210
[2023-10-06 08:36:08.330] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> user_agent={“a”:“cxx/1.0.0/178a242;Linux/x86_64;pycbc/4.1.2 (python/3.8.10)”,“i”:“9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038”}, requested_features=[tcp_nodelay, xattr, xerror, select_bucket, json, duplex, alt_request_support, tracing, sync_replication, vattr, collections, subdoc_create_as_deleted, preserve_ttl, unordered_execution, snappy, mutation_seqno]
[2023-10-06 08:36:15.253] [8,10] [warning] 6923ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> unable to bootstrap in time
[2023-10-06 08:36:15.253] [8,10] [warning] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> failed to bootstrap session ec=unambiguous_timeout (14), bucket=“-content-management”
[2023-10-06 08:36:15.253] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> stop MCBP connection, reason=do_not_retry
[2023-10-06 08:36:15.253] [8,10] [debug] 0ms, PYCBC: open/close bucket callback completed
[2023-10-06 08:36:15.253] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/debb5e-4bde-1c4b-48cf-2563c23788c038/plain/-content-management] <x.x.x.75/x.x.x.75:11210> destroy MCBP connection
Traceback (most recent call last):
File “src/data-generator.py”, line 28, in
cb = cluster.bucket(bucket_name)
File “/usr/local/lib/python3.8/dist-packages/couchbase/cluster.py”, line 156, in bucket
return Bucket(self, bucket_name)
File “/usr/local/lib/python3.8/dist-packages/couchbase/bucket.py”, line 57, in init
self._open_bucket()
File “/usr/local/lib/python3.8/dist-packages/couchbase/logic/wrappers.py”, line 101, in wrapped_fn
raise e
File “/usr/local/lib/python3.8/dist-packages/couchbase/logic/wrappers.py”, line 85, in wrapped_fn
ret = fn(self, *args, **kwargs)
File “/usr/local/lib/python3.8/dist-packages/couchbase/bucket.py”, line 63, in _open_bucket
raise ErrorMapper.build_exception(ret)
couchbase.exceptions.UnAmbiguousTimeoutException: <ec=14, category=couchbase.common, message=unambiguous_timeout (14), C Source=/home/ec2-user/workspace/python/sdk/python-manylinux-wheel-pipeline/couchbase-python-client/src/connection.cxx:109>
[2023-10-06 08:36:15.261] [8,8] [debug] 7ms, PYCBC: exception_base_dealloc completed
[2023-10-06 08:36:15.261] [8,10] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/287450-23ec-5b43-8c54-4ceb4dffd0de56/plain/-] <x.x.x.75/x.x.x.75:11210> stop MCBP connection, reason=do_not_retry
[2023-10-06 08:36:15.261] [8,8] [debug] 0ms, PYCBC: dealloc_conn completed
[2023-10-06 08:36:15.261] [8,8] [debug] 0ms, [9e6bc9-3474-a447-26b4-54642ff292235e/287450-23ec-5b43-8c54-4ceb4dffd0de56/plain/-] <x.x.x.75/x.x.x.75:11210> destroy MCBP connection
[2023-10-06 08:36:15.262] [8,8] [debug] 0ms, dealloc transaction_config
[2023-10-06 08:36:15.267] [8,8] [debug] 5ms, dealloc transaction_query_options