Couchbase7.0.3 can not connect via TLS?

couchbase.exceptions.UnAmbiguousTimeoutException: <ec=14, category=couchbase.common, message=unambiguous_timeout, C Source=/Users/couchbase/jenkins/workspace/python/sdk/python-scripted-build-pipeline/py-client/src/connection.cxx:149>

connect couchbase through TLS but raise an error, and the port 11207 is open, but couchbase server failed to response

Cluster(
        'couchbases://{}'.format(
            '*.*.*.*?ssl=no_verify&tcp_keepalive=true'),
        ClusterOptions(
            PasswordAuthenticator('user', 'pass'),
            timeout_options=ClusterTimeoutOptions( ****),
            lockmode=LockMode.WAIT,
            enable_tls=True,
            tls_verify=TLSVerifyMode.NONE,
        ), lockmode=LockMode.WAIT
)

and python sdk couchbase===4.0.0

@mario_xu

Can you provide more information such as:

  • OS?
  • Local Install, Container (docker, K8S), etc?
  • Is the client trying to connect on the same computer, in a separate container, etc?

Can this connect without TLS? I can make a lot of guesses but more detailed information can help us better give you some things to try.

Thanks
Aaron