Unable to connect to the couchbase server via sdk-doctor-linux

Hi,

We are using couchbase for one of our application (https://www.skolrup.com) but suddenly it stopped working. We tried to check the connectivity check with sdk-doctor-linux and got invalid bucket name/password. We can use the same credentials from Admin portal. Can you please suggest what could be the issue here?

Logs from SDK -

|====================================================================|
| ___ ___ _ __ ___ ___ ___ _____ ___ ___ |
| / | | |/ /| \ / _ \ / | / _ | _ \ |
| _
\ |) | ’ <
| |) | () | (_ | || () | / |
| |
//||_\ |/ _/ _| |_| __/||\ |
| |
|====================================================================|

Note: Diagnostics can only provide accurate results when your cluster
is in a stable state. Active rebalancing and other cluster configuration
changes can cause the output of the doctor to be inconsistent or in the
worst cases, completely incorrect.

13:14:27.992 INFO :arrow_forward: Parsing connection string couchbase://{IP-ADDRESS}/skolr
13:14:27.992 INFO :arrow_forward: Connection string identifies the following CCCP endpoints:
13:14:27.992 INFO :arrow_forward: 1. {IP-ADDRESS}:11210
13:14:27.992 INFO :arrow_forward: Connection string identifies the following HTTP endpoints:
13:14:27.992 INFO :arrow_forward: 1. {IP-ADDRESS}:8091
13:14:27.992 INFO :arrow_forward: Connection string specifies bucket skolr
13:14:27.992 WARN :arrow_forward: Your connection string specifies only a single host. You should consider adding additional static nodes from your cluster to this list to improve your applications fault-tolerance
13:14:27.992 INFO :arrow_forward: Performing DNS lookup for host {IP-ADDRESS}
13:14:27.992 INFO :arrow_forward: Attempting to connect to cluster via CCCP
13:14:27.992 INFO :arrow_forward: Attempting to fetch config via cccp from {IP-ADDRESS}:11210
13:14:27.997 ERRO :arrow_forward: Failed to fetch configuration via cccp from 1{IP-ADDRESS}:11210 (error: invalid bucket name/password)
13:14:27.997 INFO :arrow_forward: Attempting to connect to cluster via HTTP (Terse)
13:14:27.997 INFO :arrow_forward: Attempting to fetch terse config via http from {IP-ADDRESS}:8091
13:14:28.002 ERRO :arrow_forward: Failed to fetch terse configuration via http from {IP-ADDRESS}:8091 (error: incorrect bucket/password)
13:14:28.002 INFO :arrow_forward: Attempting to connect to cluster via HTTP (Full)
13:14:28.002 INFO :arrow_forward: Failed to connect via HTTP (Full), as it is not yet supported by the doctor
13:14:28.002 INFO :arrow_forward: Selected the following network type:
13:14:28.002 ERRO :arrow_forward: All endpoints specified by your connection string were unreachable, further cluster diagnostics are not possible
13:14:28.002 INFO :arrow_forward: Diagnostics completed

Summary:
[WARN] Your connection string specifies only a single host. You should consider adding additional static nodes from your cluster to this list to improve your applications fault-tolerance
[ERRO] Failed to fetch configuration via cccp from {IP-ADDRESS}:11210 (error: invalid bucket name/password)
[ERRO] Failed to fetch terse configuration via http from {IP-ADDRESS}:8091 (error: incorrect bucket/password)
[ERRO] All endpoints specified by your connection string were unreachable, further cluster diagnostics are not possible

Be careful with passwords (or usernames or bucketnames) that contain special characters that might be processed and translated by the shell. To avoid that, enclose in single quotes.

i.e. ‘Administrator:password’

@sandeep.bawalia just to check the basics - does the bucket sklor still exist?

@graham.pople This is a dummy bucket name. I added a dummy name here instead of actual bucket name.

@sandeep.bawalia understood. You may be able to anticipate my follow-up question :slight_smile:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.