Today I ran the sdk-doctor and got below logs. As you can see the error indicates "i/o timeout". This is confusing because it does not explicitly say that what is the exact error. Can this be improved to indicate exact error of not able to reach the host or similarly something else per each type of error. Also I did not see much of documentation on types of errors we can expect from sdk-doctor ; this is another thing to improve.
19:27:44.470 INFO ▶ Parsing connection string couchbase://23.214.132.32/trigger
19:27:44.470 INFO ▶ Connection string identifies the following CCCP endpoints:
19:27:44.470 INFO ▶ 1. 23.214.132.32:11210
19:27:44.470 INFO ▶ Connection string identifies the following HTTP endpoints:
19:27:44.470 INFO ▶ 1. 23.214.132.32:8091
19:27:44.470 INFO ▶ Connection string specifies bucket trigger
19:27:44.470 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
19:27:44.470 INFO ▶ Performing DNS lookup for host 23.214.132.32
19:27:44.470 INFO ▶ Attempting to connect to cluster via CCCP
19:27:44.470 INFO ▶ Attempting to fetch config via cccp from 23.214.132.32:11210
19:27:46.471 ERRO ▶ Failed to fetch configuration via cccp from 23.214.132.32:11210 (error: dial tcp 23.214.132.32:11210: i/o timeout)
19:27:46.471 INFO ▶ Attempting to connect to cluster via HTTP (Terse)
19:27:46.471 INFO ▶ Attempting to fetch terse config via http from 23.214.132.32:8091
19:27:48.472 ERRO ▶ Failed to fetch terse configuration via http from 23.214.132.32:8091 (error: Get "http://23.214.132.32:8091/pools/default/b/triggers": context deadline exceeded (Client.Timeout exceeded while awaiting headers))
19:27:48.472 INFO ▶ Attempting to connect to cluster via HTTP (Full)
19:27:48.472 INFO ▶ Failed to connect via HTTP (Full), as it is not yet supported by the doctor
19:27:48.472 INFO ▶ Selected the following network type:
19:27:48.472 ERRO ▶ All endpoints specified by your connection string were unreachable, further cluster diagnostics are not possible
19:27:48.472 INFO ▶ Diagnostics completed
Hi,
Today I ran the sdk-doctor and got below logs. As you can see the error indicates "i/o timeout". This is confusing because it does not explicitly say that what is the exact error. Can this be improved to indicate exact error of not able to reach the host or similarly something else per each type of error. Also I did not see much of documentation on types of errors we can expect from sdk-doctor ; this is another thing to improve.
19:27:44.470 INFO ▶ Parsing connection string
couchbase://23.214.132.32/trigger
19:27:44.470 INFO ▶ Connection string identifies the following CCCP endpoints: 19:27:44.470 INFO ▶ 1. 23.214.132.32:11210 19:27:44.470 INFO ▶ Connection string identifies the following HTTP endpoints: 19:27:44.470 INFO ▶ 1. 23.214.132.32:8091 19:27:44.470 INFO ▶ Connection string specifies buckettrigger
19:27:44.470 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 19:27:44.470 INFO ▶ Performing DNS lookup for host23.214.132.32
19:27:44.470 INFO ▶ Attempting to connect to cluster via CCCP 19:27:44.470 INFO ▶ Attempting to fetch config via cccp from23.214.132.32:11210
19:27:46.471 ERRO ▶ Failed to fetch configuration via cccp from23.214.132.32:11210
(error: dial tcp 23.214.132.32:11210: i/o timeout) 19:27:46.471 INFO ▶ Attempting to connect to cluster via HTTP (Terse) 19:27:46.471 INFO ▶ Attempting to fetch terse config via http from23.214.132.32:8091
19:27:48.472 ERRO ▶ Failed to fetch terse configuration via http from23.214.132.32:8091
(error: Get "http://23.214.132.32:8091/pools/default/b/triggers": context deadline exceeded (Client.Timeout exceeded while awaiting headers)) 19:27:48.472 INFO ▶ Attempting to connect to cluster via HTTP (Full) 19:27:48.472 INFO ▶ Failed to connect via HTTP (Full), as it is not yet supported by the doctor 19:27:48.472 INFO ▶ Selected the following network type: 19:27:48.472 ERRO ▶ All endpoints specified by your connection string were unreachable, further cluster diagnostics are not possible 19:27:48.472 INFO ▶ Diagnostics completed