Why Couchbase is difficult to use?

Well, I won’t be able to connect to your cluster as I won’t be on your whitelisted IPs. I did check out the code and it looks fine (it’s the Java SDK getting started example I believe?) and compiles. Could you copy the stacktrace or error that you’re seeing? You may also want to double-check that the cluster certificate is correct, and that you’ve whitelisted your IP in the Capella UI. You can try uncommenting the ‘.trustManagerFactory(InsecureTrustManagerFactory.INSTANCE)’ line temporarily. This will disable certification verification so it’s insecure, but it will tell you if the problem is with the certificate. The SDK Capella troubleshooting connection guide may be useful to you too.

1 Like