does gcouchbase still supported or obsolete…(https://docs.couchbase.com/python-sdk/2.5/async-programming.html)
connectionstring documentation also very limited… stressful to start…
(https://docs.couchbase.com/c-sdk/2.5/options.html), nothing mentioned about username and password property there…
couchbase server env
docker run -d --name db -p 8091-9000:8091-9000 -p 11209-11214:11209-11214 -p 18091-18096:18091-18096 couchbase:enterprise-6.0.2
using couchbase, working fine (on python console)
from couchbase.bucket import Bucket
cb = Bucket(‘couchbase://127.0.0.1/products’,username=‘admin’, password=‘pwd123’)
using gcouchbase
from gcouchbase.bucket import Bucket
cb = Bucket(‘couchbase://127.0.0.1/products’,username=‘admin’, password=‘pwd123’)
desperately keep throwing this,
File “src/gevent/event.py”, line 268, in gevent._event.AsyncResult.get
File “src/gevent/event.py”, line 296, in gevent._event.AsyncResult.get
File “src/gevent/event.py”, line 286, in gevent._event.AsyncResult.get
File “src/gevent/event.py”, line 266, in gevent._event.AsyncResult._raise_exception
File “/Users/harry/Dev/myFistProject/env/lib/python3.7/site-packages/gevent/_compat.py”, line 48, in reraise
raise value
couchbase.exceptions._TimeoutError_0x17 (generated, catch TimeoutError): <RC=0x17[Client-Side timeout exceeded for operation. Inspect network conditions or increase the timeout], Error getting initial connection to cluster>