Python client sdk timeout error

Hi. I install couchbase python client sdk, But get the error.
please check it.


  • window 10
  • python 3.7.6
  • pip install couchbase==3.1.3
  • Community Edition 6.5.1

DEBUG:couchbase.confmon:[-26058718] Refreshing current cluster map (bucket: bk_fms01) (L:319)
WARNING:couchbase.server:[-26058718] Failing command with error LCB_ERR_TIMEOUT (201): {"b":"bk_fms01","r":"","s":"kv:unknown","t":2500000} (L:818)
DEBUG:couchbase.server:[-26058718] <NOHOST:NOPORT> (CTX=0000000000000000,,SRV=000001A339B24620,IX=1) Server timed out. Some commands have failed (L:915)
DEBUG:couchbase.server:[-26058718] <NOHOST:NOPORT> (CTX=0000000000000000,,SRV=000001A339B24620,IX=1) Scheduling next timeout for 2500 ms. This is not an error (L:919)
Traceback (most recent call last):
  File "util\", line 21, in <module>
  File "C:\Users\7040_64bit\Desktop\pro\jangojango\tiktok01\venv\lib\site-packages\couchbase\", line 258, in wrapped
    return func(self, *args, **kwargs)
  File "C:\Users\7040_64bit\Desktop\pro\jangojango\tiktok01\venv\lib\site-packages\couchbase\", line 760, in exists
    return ExistsResult(CoreClient.exists(self.bucket, key, **forward_args(kwargs, *options)))
couchbase.exceptions.TimeoutException: <Key='key', RC=0xC9[LCB_ERR_TIMEOUT (201)], Operational Error, Results=1, C Source=(src/multiresult.c,316), Context={'status_code': 4, 'opaque': 0, 'cas': 0, 'key': 'key', 'bucket': 'bk_fms01',
 'collection': '', 'scope': '', 'context': '', 'ref': '', 'endpoint': '', 'type': 'KVErrorContext'}, Tracing Output={"key": {"s": "kv:Unknown", "i": 6843784474561370579, "b": "bk_fms01", "r": ""
, "t": 2500000, "debug_info": {"FILE": "src/callbacks.c", "FUNC": "exists_callback", "LINE": 1221}}}>
DEBUG:couchbase.lcbio_mgr:[-26058718] <> (HE=000001A33A259F90) Request=000001A339CFC4B0 has no connection.. yet (L:523)
WARNING:couchbase.tracer:[-26058718] Orphan responses observed: {"count":1,"service":"kv","top":[{"last_operation_id":"0x0","last_remote_address":"","operation_name":"exists","server_us":0,"total_us":2503000}]} (L

Hi @hanseonghye - Are you able to connect to the Admin UI (for a local env it is typically localhost:8091)? It seems the Python client is not able to connect to the cluster. Also, can you provide some logging output? LCB_LOGLEVEL=5 python3 <python script name>.py should provide some more detailed output.