I got Authentication error when I try to connect to couchbase server. The error show look like below:
couchbase.exceptions.AuthenticationException: <RC=0xCE[LCB_ERR_AUTHENTICATION_FAILURE (206)], There was a problem while trying to send/receive your request over the network. This may be a result of a bad network or a misconfigured client or server, C Sour
the code structure is here:
db_info = {'host': 'couchbase://{host}', 'secure': False,'bucket_name': 'default','username': 'Administrator','password': 'password'}
auth = PasswordAuthenticator(db_info['username'], db_info['password'])
cluster = Cluster(db_info['host'], authenticator=auth)
bm = cluster.buckets()
Your suggestion is highly appreciated!!! @ellis.breen